1. Introduction
For many years, there has been an enormous amount of research concerning various biomedical applications of magnetic flows, i.e., magnetohydrodynamics (MHD) [
1,
2] and ferrohydrodynamics (FHD) [
3,
4]. A relatively new area of research combining the principles of MHD and FHD is biomagnetic fluid dynamics (BFD). According to this formulation a magnetic fluid can exhibit both polarization and electrical conductivity. From this perspective, the forces that are exerted on the fluid are those arising from the magnetization due to the polarization of the fluid and the Lorentz force due to the interaction of the magnetic field with the electric current formed by the fluid flow. One of the most characteristic natural fluids, possessing both properties of polarization and electrical conductivity, is blood, and there are many recent studies considering the BFD formulation and general biomedical applications of magnetic flows [
5,
6]. Such applications include certain cancer treatments which require clean separation of the white cells from the whole blood for the chemical treatment. Red blood cells, when oxygenated, have the characteristics of a diamagnetic fluid, which makes them prone to a magnetic field. The blood is collected in a device with a surrounding magnetic field which separates the red blood cells. To achieve faster results, the magnetic susceptibility of the red blood cells is increased using magnetic microspheres that are bound to them [
7]. The measurement of blood inside a vessel can be a difficult process. Due to the diamagnetic characteristics of blood, when a magnetic field is applied, a potential gradient is generated and can be measured by sensors inside the walls. Utilizing this technique, the blood flow can be measured without contaminating the blood inside [
8].
A study presented in [
9] depicts the application of a magnetic field on a biomagnetic fluid such as blood, with a similar magnetic field scheme. In that study, the authors examine the thermal radiation using the stream function vorticity, a well-known method for solving the governing equations of fluid flows. A key factor that is studied is the change in the viscosity, which is assumed to be an exponential function of temperature. This has a more realistic meaning since the temperature affects the fluid viscosity. Several applications of the magnetic field on a biomagnetic fluid are also present. The numerical results depicted show the creation of vortices near the magnetic field source. The numerical results have been compared with experimental and commercial software data, indicating a close relation. The thermal radiation affects the recirculation of the fluid, as it reduces the vortices created by the magnetic field.
Especially for the FHD and BFD physical problems, the polarization terms in the governing equations constitute very dense source terms that finally result in the formation of vortices in the flow field. These source terms can also generate numerical instabilities and divergence of the overall algorithm. Moreover, many BFD applications involve the use of artificially created nanoparticles, which dramatically increase the magnetization force. As a result, biofluids can behave like ferrofluids and very high values of the ferromagnetic number can be attained. Since the ferromagnetic number expresses somehow the ratio of the magnetization to the viscous forces, when the Reynolds number decreases, for a given magnetic field strength, the magnetic number is drastically increased. For some very high values of the magnetic number, some numerical techniques may fail to converge. Another factor which increases the difficulty of applying classical methods is the necessary manipulations of the governing equations in order to assure the diagonal dominance of the matrix of the unknowns or to attain convergence for very high magnetic numbers [
10].
Studies that examine ferromagnetic fluid flows with various numerical techniques such as the fourth-order Runge–Kutta and Runge–Kutta–Fehlberg 45 methods can be found in [
11,
12], respectively. In these studies, the authors investigate the fluid flow over the boundary layer of a Jeffery fluid in a porous medium over a shrinking/stretching sheet with the application of a magnetic field and the fluid flow of a ferromagnetic nanofluid over a stretching sheet with the effect of a magnetic dipole. In [
13], the shooting method is used for the investigation of different hybrid nanofluids and ferrofluids. Results have been also published utilizing analytical solutions with various techniques such as the similarity method along with the homotopy method [
14], as well as the form of hypergeometric functions also with the similarity method [
15]. In these studies, the effects of the magnetic field are presented along with heat transfer and radiation.
Among the numerical methodοlogies widely used for the solution of several BFD problems are various algorithms involving discretization using the finite element method (FEM). FEM using spatial discretization and an unconditionally stable backward finite difference scheme for the time integration was used in [
16,
17]. The FEM method was also used in [
18,
19], whereas algorithms involving control-based volume FEM [
20], both FEM and the dual reciprocity boundary element method [
21], and least squares FEM [
22] have also been used. Finally, similar or more complex BFD problems have been solved using COMSOL [
23] and a meshless point collocation method (MPCM) along with the moving least squares (MLS) approximation [
24,
25]. The aforementioned studies indicate that there is an ongoing interest for the implementation of numerical algorithms suitable for the solution of BFD flow problems.
The physical properties, assumptions, and mechanism of the reaction of the applied magnetic field have also been stated and investigated in numerous variations of BFD Hartmann fluid flow problems. Thus, in the present study, the main effort is focused on the implementation of a numerical algorithm also suitable for BFD flow problems. The basic characteristics of the present algorithm are (i) the set of equations is solved using a simultaneous direct approach; (ii) the discretization is achieved using the finite volume method (FVM); and (iii) the solution is attained solving an implicit non-linear system of algebraic equations.
The advantage of using this technique is that using FVM it is quite easy to implement a variety of boundary conditions in a non-invasive manner, since the unknown variables are evaluated at the centroids of the volume elements and not at the boundary faces [
26]. Moreover, the numerical solution is obtained using a direct approach, which creates more robust results since the governing equations are subject to minimum manipulations in contrast to other classical techniques like the stream function vorticity formulation, also used for the solution of BFD problems [
10].
The two basic configurations of magnetic Hartmann fluid flow problems are studied in the present paper. The first one is that of MHD Hartmann flow, where an external magnetic field is vertically applied to the channel. For this case an analytical solution can be found, introducing a test problem, where the analytical solution can be compared with the numerical one. The second configuration is the FHD flow, where the applied magnetic field is spatially varying. Comparisons for this case are more difficult to perform and the validation of the results is made qualitatively through results documented in previously published papers.
In the simultaneous approach which is used here, all equations compose a single system of equations which is discretized using FVM. This approach on a very fine grid can be very time consuming and expensive in terms of memory when the system is non-linear and tightly coupled. On the other hand, the solution is obtained using a direct approach, which creates more robust results since the manipulations of the governing equations of each problem are minimal. Finally, due to this implicit direct approach, accurate solutions can be obtained using relatively sparse grids. This study examines the Hartmann flow and the fluid flow with FHD principles that formulate MHD and FHD flows, respectively. The major component of the Hartmann flow is the Hartmann number, where a larger value corresponds to stronger Lorentz forces, which cause deceleration in the fluid. In the case of FHD fluid flow, the major finding is the creation of vortices close to the external magnetic field source, and the stronger the magnetic field of the source, the larger the vortices are.
2. Mathematical Formulation
2.1. Hartmann Flow
The Hartmann flow studies the flow of an electrically conducting fluid while a magnetic field is vertically applied to the bottom channel wall. It also studies the disturbance of the magnetic field due to the electrically conducting fluid. This flow configuration (Hartmann flow) can be considered as a special and simplified magnetohydrodynamic (MHD) case.
The equations that formulate the Hartmann flow at first are the
x-momentum of the Navier–Stokes equations and the
x-component of the induction equation, as shown below:
where
is the fluid viscosity and
is the electrical conductivity of the fluid. Using the following non-dimensional terms:
the system of equations in (
1) takes the following form:
Definition 1. is called the Reynolds number and it represents the ratio of the internal forces to the viscous forces.
Definition 2. is the magnetic Reynolds number.
Definition 3. is called the Stuart number and it represents the ratio of the electromagnetic forces to the internal forces.
For simplification the prime symbol is omitted from the system of equations in (
3).
Using a simplification of the Navier–Stokes and the magnetic-field-induction equations the fluid velocity as well as the magnetic field inside the channel, are calculated, by discretizing the domain and the equations with the finite volume method, creating a coupled system of non-linear algebraic equations which are solved using a Newton-like method.
In order to study the influence of the magnetic field on the fluid flow, the Lorentz force is introduced and applied to the fluid. Τhe Lorentz force causes the velocity to drop. Using higher values of the Hartmann number, a stronger Lorentz force can be applied. The Lorentz force can be mathematically modelled using the term
along with the Hartmann number,
, which is a non-dimensional number defined as
We assume that the electric current density
, is equal to
, resulting in
which after the calculation of the outer products, the general case is
and
, and more specifically in the two-dimensional case (
) for the Lorentz force
:
It is assumed for the velocity that
and for the magnetic field
and
, giving for the Hartmann flow
In this formulation, it is assumed that the flow is laminar and the external magnetic field is constant in magnitude and vertical to the flow.
By calculating the norm of the Lorentz force, the effect of the force on the flow field is given by
This implies that the relation of the Lorentz force and the fluid velocity is linear. A higher fluid velocity results in a higher magnitude of the Lorentz force. For the inducted magnetic field
and the Lorentz force
the following is concluded:
The electric current
I does not contribute in the two-dimensional case. Using the right-hand rule (the electric current does not contribute in the two-dimensional case) it can be seen that the Lorentz force retards the fluid velocity.
Remark 1. Let us assume a parabolic profile in the inlet, no slip conditions on the walls, and Neumann conditions at the channel outlet. The Lorentz force will create thin boundary layers which, in this case, are called Hartmann layers, as well as a decrease in the fluid velocity, as the magnitude of the magnetic field increases. This will also be proven by the analytical solution provided in a later section where the greater the value of the Hartmann number is, the greater the drop of the velocity is.
A straight channel is considered where an external magnetic field is vertically applied, . This parameter refers to the external magnetic field. The flow is driven by a uniform pressure gradient and the fluid flows vertically to the magnetic field, : .
The magnetic field is composed of two factors, the external magnetic field and the magnetic field induced by the flow of the conducting fluid, resulting in
where we have scaled the induced part by the term
. This equation refers to the induced magnetic field.
Substituting the results of Equation (
11) into the steady-state induction equation, results in a time-independent magnetic field. It is also assumed that the flow is fully developed, implying
, resulting in the
x-component of the induction equation,
and substituting Equation (
11) into Equation (
12) results in
For the electric current density
Ampere’s law is used:
Substituting Equation (
11) into (
14) results in
resulting in the Lorentz force being expressed with the inducted term
b.
Using Equation (
15) with Equation (
11), the Lorentz force is
A fully developed flow is assumed,
, resulting in the
x-momentum of the Navier–Stokes equation being
where for convenience it is assumed that
, and from the non-dimensional pressure (which is shown in the non-dimensionless Navier–Stokes) the following is concluded:
Substitution of Equation (
18) into Equation (
17) gives
Equations (
13) and (
19) describe the two-dimensional Hartmann flow, which will be discussed and studied in the next subsection.
2.2. Analytical Solution of the Hartmann Flow
In this subsection, the behaviour of an electrically conducting fluid is studied while an external magnetic field, constant in magnitude, is applied. In this case, it is assumed that the magnetic field is applied vertically to the flow, meaning that the magnetic field b is a function of the variable y or . A similar assumption can be considered for the u-velocity, . Along with many applications of this flow, this is a test problem due to the fact that, with a known analytical solution, the numerical solution obtained by the algorithm developed can be validated.
The system of PDEs that describe the Hartmann flow is
with the boundary conditions
which is a well-defined second-order, linear system with constant coefficients. Here,
implies that the walls are electrically insulated.
The analytical solutions of Equations (
20) and (
21) that describe the Hartmann flow, with the boundary conditions (
22) for the velocity
u and the magnetic field
b, are, respectively,
where
is the characteristic magnitude of velocity:
Since the analytical solution is known, various cases of Hartmann numbers can be studied. The cases of small and large values of the Hartmann number are examined. More specifically, the first case is as the Hartmann number approaches zero,
, and the second case is the Hartmann number being much greater than 1,
.
The velocity profile of the Hartmann flow approaches asymptotically the parabolic profile of the hydrodynamic case for small values of the Hartmann number and high values of the Hartmann number create Hartmann layers and decrease the fluid velocity.
(i)
We substitute the Taylor expansion of the hyperbolic functions
and
as
into Equation (
24) and the analytical solution of the velocity, giving
respectively. Since we study the case of
this implies that there is no magnetic field
b; therefore,
. By taking the limit,
it can be seen that the analytical solution of the velocity is similar to that of the hydrodynamic case (parabolic profile) as well as
meaning that it satisfies the boundary conditions (
22).
(ii)
Substituting the exponential equivalent of the hyperbolic functions
into Equation (
24), as well as the hyperbolic functions
and
into the analytical solution for the velocity and the magnetic field. Since the case of large values of the Hartmann number is studied, the following relations
and
hold true, for the characteristic magnitude of the velocity, and the analytical solutions of the velocity and the magnetic field, respectively. Equation (
29) must satisfy the boundary conditions (
22), where for the
u-velocity we have
For the magnetic field, after some simplifications, the following relations
imply that the boundary conditions in (
22) are satisfied for large Hartmann numbers.
From the asymptotic analytical solution of the velocity, an exponentially decreased profile is observed, where it maximizes in the core flow of the channel at
and is equal to
This exponential velocity drop, according to [
27], creates thin boundary layers close to the walls of the channel with an order of thickness,
. We will further verify this statement by comparing the Hartmann layers in the numerical solution.
2.3. Ferrohydrodynamic Flow
In the previous flow, the main objective was to study the fluid flow in a channel under various circumstances, such as the application of a uniform, constant in magnitude, magnetic field vertical to the flow. The FHD case is a slightly different problem. In FHD, the magnetic field is generated from a source (point) outside or inside the flow.
Let us assume a three-dimensional model of a channel geometry. A wire is placed at the bottom at a distance
to the channel and at a distance
from the channel inlet. An electric current is applied to the wire which will create an axisymetric magnetic field. In a two-dimensional model, this implies that the wire, or in this case the source, has coordinates
, as seen in
Figure 1.
The distance at which the source is placed, as well as the magnitude of the magnetic field, will determine how much the parameters we study will change. The greater the distance of the source from the walls, the greater the magnitude of the magnetic field must be in order for the magnetic field to change the velocity and pressure profile.
The partial differential system of equations that formulate the FHD flow is
where
is the fluid density and
is the fluid viscosity. The non-uniform magnetic field is formulated by new terms in the system of equations
, where
M is a magnetization property which describes the behaviour of the fluid when it is exposed to a magnetic field [
5]. A linear equation for the isothermal case is,
, where
is a constant called the magnetic susceptibility [
28] and is given as
where
H is the magnitude of the magnetic field generated by the electric-current-carrying wire, and
is the magnetic field strength at the current point.
The magnetic field in this flow is considered unaltered and depends only on the location of the source term. The Maxwell equations are not part of the FHD flow, rather the H was considered known and not influenced by the fluid flow. This assumption is used in the simulations presented.
The vector components of the magnetic field
are, respectively,
The objective is to study the non-dimensional equations from the governing system. The following non-dimensional parameters are introduced, and for the new terms the following formulation is used:
where
is the magnitude of the magnetic field at the bottom wall. The dimensionless magnitude of the magnetic field is shown in
Figure 2:
The system of non-dimensional equations that formulate the FHD flow is along the conservation of mass, which remains the same:
Definition 4. is the magnetic number for the FHD flow.
Expanding the vector form of Equation (
38) into the equations in each momentum as follows while omitting the prime symbol for simplification:
From a numerical perspective, the magnetization terms that enter the governing equations due to the principles of FHD constitute a “source term”, which locally is of a greater order of magnitude than the other terms and gives rise to extended disturbances in the flow field, such as the formation of vortices. This could lead to a stiff numerical problem to solve. Thus, particularly for high values of the magnetic parameter combined with high-gradient magnetic fields, the calculation of the numerical solution is not a trivial task.
For the boundary conditions of the velocity, the parabolic profile is applied at the channel inlet and Neumann boundary conditions at the channel outlet. For the boundary conditions of the pressure, Neumann boundary conditions are applied at the channel inlet and at the channel outlet we assume zero pressure.