This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.



Three-dimensional decaying magnetic field
belonging to Beltrami flow

[Uncaptioned image] Hideki Yanaoka (柳岡英樹)
Department of Systems Innovation Engineering,
Faculty of Science and Engineering, Iwate University,
4-3-5 Ueda, Morioka, Iwate 020-8551, Japan
Email address for correspondence: yanaoka@iwate-u.ac.jp
(4 July 2022)
Abstract

This study analysed a three-dimensional Taylor decaying vortex under an applied magnetic field as a benchmark test problem to verify the calculation method of an electromagnetic fluid flow and investigated the validity of the decaying magnetic field model. First, we observed the flow structure of a three-dimensional Taylor decaying vortex without an applied magnetic field. We investigated the changes in the error between the calculation result and the exact solution when the number of grid points and the Reynolds number varied and showed the effectiveness of the benchmark test. Next, we analysed a three-dimensional Taylor decaying vortex under an applied magnetic field and clarified the characteristics of the decaying magnetic field. When a magnetic field is applied, low magnetic pressure regions are connected in a mesh pattern, and the magnetic pressure distribution with a distorted cubic structure occurs to surround a high magnetic pressure region. In a stagnation region, the magnetic energy becomes low, and the magnetic flux line is similar to the streamline of the velocity field. High current densities occur in a grid pattern, and the magnetic flux lines swirl around the high current density region. The magnetic pressure and magnetic energy are high in the high current density region. When the Reynolds number and the magnetic Reynolds number vary, the decay trends of various energies agree well with the exact solution. The transition to turbulent flow occurs at a high Reynolds number, and the kinetic and total energies decrease rapidly. After the dissipation rate of kinetic energy becomes maximum, the vortex structure decays, and the flow field approaches a stationary state without magnetic fields. The three-dimensional Taylor decaying magnetic field belonging to the Beltrami flow is a valuable model for verifying the calculation method of electromagnetic fluid flows.

Keywords Navier–Stokes equations, Computational methods, Vortex dynamics, Magnetic fields, Turbulent transition

1 Introduction

Taylor (1923) derived an analytic solution for the two-dimensional flow field that satisfies the continuity equation and the Navier-Stokes equation. The solution represents a flow field in which the vortex decays, and the vortex is called a Taylor decaying vortex. This Taylor decaying vortex has been used to show the validity of a calculation method (Kim and Moin, 1985; Le and Moin, 1991; Jordan and Ragab, 1996). An exact solution representing a three-dimensional Taylor decaying vortex has also been proposed (Ross Ethier and Steinman, 1994; Barbato et al., 2007; Antuono, 2020).

Ross Ethier and Steinman (1994) derived an analytic solution for a three-dimensional decaying vortex using the method for deriving the solution for the two-dimensional Taylor decaying vortex. That solution is not periodic in the three directions of the coordinates, so it is necessary to model and give the boundary conditions. Barbato et al. (2007) found periodic solutions in the three directions using the method of Ross Ethier and Steinman (1994). In that solution, each velocity component does not contain all the spatial coordinates of the independent variable, so the solution does not represent a complete three-dimensional flow. Antuono (2020) proposed an analytic solution of a periodic three-dimensional flow in which all the velocity components depend on the coordinates in the three directions, using the method of Ross Ethier and Steinman (1994).

Discretization of the fundamental equation is significant for the stability of numerical calculation in unsteady flow with a high Reynolds number. The conservative difference scheme allows for stable calculations and conserves kinetic energy in inviscid fluids. Since energy transformation occurs in the flow of electromagnetic fluid, it is not easy to verify the energy conservation characteristics in numerical analysis. Assuming zero kinematic viscosity and magnetic diffusivity, each volume integral of total energy and cross-helicity is conserved in a periodic flow (Woltjer, 1958). Therefore, we can verify the conservation characteristics using these transport quantities for an inviscid periodic flow. It is hard to confirm whether energy is converted correctly in a viscous fluid. In addition, a difficult problem in an electromagnetic fluid analysis is to satisfy the constraint subjected to Gauss law for magnetism, that is, the condition of no divergence of magnetic flux density. When verifying a computational method for the flow of electromagnetic fluid, it is a suitable choice to use a model for which an analytic solution exists. Therefore, it is necessary to find an analytic solution for a three-dimensional flow under an applied magnetic field. If we can extend a mathematical model proposed by Antuono (2020) to a three-dimensional magnetic flow field, then we can use that model as a benchmark test. For a two-dimensional flow, Liu and Wang (2001) analysed the flow of the Taylor decaying vortex to which a magnetic field was applied.

In this study, we investigate a three-dimensional Taylor decaying vortex under an applied magnetic field and clarify whether that model is available for verifying the calculation method of an electromagnetic fluid flow.

2 Fundamental equation

The fundamental equations for the incompressible viscous flow of a Newtonian fluid under an applied magnetic field are the equations for mass, momentum, and magnetic flux density. The magnetic flux density must satisfy the constraint subjected to Gauss law for magnetism. These governing equations are given as

𝐮=0,\nabla\cdot{\bf u}=0, (1)
𝐮t+(𝐮𝐮)=1ρ[p+μ2𝐮+𝐉×𝐁],\frac{\partial{\bf u}}{\partial t}+\nabla\cdot({\bf u}\otimes{\bf u})=\frac{1}{\rho}\left[-\nabla p+\mu\nabla^{2}{\bf u}+{\bf J}\times{\bf B}\right], (2)
𝐁=0,\nabla\cdot{\bf B}=0, (3)
𝐁t+(𝐮𝐁𝐁𝐮)=(νm𝐁),\frac{\partial{\bf B}}{\partial t}+\nabla\cdot\left({\bf u}\otimes{\bf B}-{\bf B}\otimes{\bf u}\right)=\nabla\cdot\left(\nu_{m}\nabla{\bf B}\right), (4)

where tt is the time, 𝐮=(u,v,w){\bf u}=(u,v,w) is the fluid velocity vector at the coordinates 𝐱=(x,y,z){\bf x}=(x,y,z), pp is the pressure, and ρ\rho and μ\mu are the density and viscosity coefficient of the fluid, respectively. 𝐉=(Jx,Jy,Jz){\bf J}=(J_{x},J_{y},J_{z}) is the current density, 𝐁=(Bx,By,Bz){\bf B}=(B_{x},B_{y},B_{z}) is the magnetic flux density, and νm\nu_{m} is the magnetic diffusivity. The term 𝐉×𝐁{\bf J}\times{\bf B} on the right side of the momentum conservation equation (2) represents the Lorentz force.

The current density is given using Ampere’s law as:

𝐉=×(1μm𝐁),{\bf J}=\nabla\times\left(\frac{1}{\mu_{m}}{\bf B}\right), (5)

where μm\mu_{m} is the magnetic permeability.

The above fundamental equations are nonlinear, and an analytic solution can be obtained only in a restricted case. We explain an analytic solution for a three-dimensional decaying vortex in the following.

3 Three-dimensional Taylor decaying vortex

3.1 Analytic solution without applied magnetic field

Antuono (2020) obtained a periodic three-dimensional analytic solution shown below using the method of Ross Ethier and Steinman (1994). Subscripts 1 and 2 represent two solutions.

u1,2\displaystyle u_{1,2} =\displaystyle= αU[sin(kx+θ1.2)cos(ky+ϕ1.2)sin(kz+ψ1.2)\displaystyle\alpha U\left[\sin(kx+\theta_{1.2})\cos(ky+\phi_{1.2})\sin(kz+\psi_{1.2})\right. (6)
cos(kz+θ1.2)sin(kx+ϕ1.2)sin(ky+ψ1.2)]e3νk2t,\displaystyle\quad\left.-\cos(kz+\theta_{1.2})\sin(kx+\phi_{1.2})\sin(ky+\psi_{1.2})\right]e^{-3\nu k^{2}t},
v1,2\displaystyle v_{1,2} =\displaystyle= αU[sin(ky+θ1.2)cos(kz+ϕ1.2)sin(kx+ψ1.2)\displaystyle\alpha U\left[\sin(ky+\theta_{1.2})\cos(kz+\phi_{1.2})\sin(kx+\psi_{1.2})\right. (7)
cos(kx+θ1.2)sin(ky+ϕ1.2)sin(kz+ψ1.2)]e3νk2t,\displaystyle\quad\left.-\cos(kx+\theta_{1.2})\sin(ky+\phi_{1.2})\sin(kz+\psi_{1.2})\right]e^{-3\nu k^{2}t},
w1,2\displaystyle w_{1,2} =\displaystyle= αU[sin(kz+θ1.2)cos(kx+ϕ1.2)sin(ky+ψ1.2)\displaystyle\alpha U\left[\sin(kz+\theta_{1.2})\cos(kx+\phi_{1.2})\sin(ky+\psi_{1.2})\right. (8)
cos(ky+θ1.2)sin(kz+ϕ1.2)sin(kx+ψ1.2)]e3νk2t,\displaystyle\quad\left.-\cos(ky+\theta_{1.2})\sin(kz+\phi_{1.2})\sin(kx+\psi_{1.2})\right]e^{-3\nu k^{2}t},
p1,2\displaystyle p_{1,2} =\displaystyle= ρ|𝐮1,2|22,\displaystyle-\rho\frac{|{\bf u}_{1,2}|^{2}}{2}, (9)

where α=42/(33)\alpha=4\sqrt{2}/(3\sqrt{3}). kk is the wavenumber and λ=2π/k\lambda=2\pi/k is the wavelength. The phase θ\theta, ϕ\phi, and ψ\psi are given as

θ1=ψ15π6,ϕ1=ψ1π6,ψ1=cos1(R1+R2),\theta_{1}=\psi_{1}-\frac{5\pi}{6},\quad\phi_{1}=\psi_{1}-\frac{\pi}{6},\quad\psi_{1}=\cos^{-1}\left(\frac{R}{\sqrt{1+R^{2}}}\right), (10)
θ2=ϕ1,ϕ2=θ1,ψ2=ψ1,\theta_{2}=\phi_{1},\quad\phi_{2}=\theta_{1},\quad\psi_{2}=\psi_{1}, (11)

where RR is a parameter, and the value excluding the singularity value R=±1/3R=\pm 1/\sqrt{3} is set. In this study, R=0R=0 is set as in the existing study Antuono (2020). The two solutions show similar distributions. The variables in the fundamental equations are non-dimensionalized using the reference values of length λ\lambda, velocity UU, time λ/U\lambda/U, and pressure ρU2\rho U^{2}. The dimensionless exact solution is as follows:

u1,2\displaystyle u_{1,2} =\displaystyle= α[sin(kx+θ1.2)cos(ky+ϕ1.2)sin(kz+ψ1.2)\displaystyle\alpha\left[\sin(kx+\theta_{1.2})\cos(ky+\phi_{1.2})\sin(kz+\psi_{1.2})\right. (12)
cos(kz+θ1.2)sin(kx+ϕ1.2)sin(ky+ψ1.2)]e3k2Ret,\displaystyle\,\left.-\cos(kz+\theta_{1.2})\sin(kx+\phi_{1.2})\sin(ky+\psi_{1.2})\right]e^{-3\frac{k^{2}}{Re}t},
v1,2\displaystyle v_{1,2} =\displaystyle= α[sin(ky+θ1.2)cos(kz+ϕ1.2)sin(kx+ψ1.2)\displaystyle\alpha\left[\sin(ky+\theta_{1.2})\cos(kz+\phi_{1.2})\sin(kx+\psi_{1.2})\right. (13)
cos(kx+θ1.2)sin(ky+ϕ1.2)sin(kz+ψ1.2)]e3k2Ret,\displaystyle\,\left.-\cos(kx+\theta_{1.2})\sin(ky+\phi_{1.2})\sin(kz+\psi_{1.2})\right]e^{-3\frac{k^{2}}{Re}t},
w1,2\displaystyle w_{1,2} =\displaystyle= α[sin(kz+θ1.2)cos(kx+ϕ1.2)sin(ky+ψ1.2)\displaystyle\alpha\left[\sin(kz+\theta_{1.2})\cos(kx+\phi_{1.2})\sin(ky+\psi_{1.2})\right. (14)
cos(ky+θ1.2)sin(kz+ϕ1.2)sin(kx+ψ1.2)]e3k2Ret,\displaystyle\,\left.-\cos(ky+\theta_{1.2})\sin(kz+\phi_{1.2})\sin(kx+\psi_{1.2})\right]e^{-3\frac{k^{2}}{Re}t},
p1,2\displaystyle p_{1,2} =\displaystyle= 𝐮1,2|22.\displaystyle-\frac{{\bf u}_{1,2}|^{2}}{2}. (15)

where k=2πk=2\pi is the non-dimensionalized wavenumber. The Reynolds number is defined as Re=UL/νRe=UL/\nu.

This flow of the three-dimensional Taylor decaying vortex belongs to the Beltrami flow. Therefore, the velocity vector 𝐮{\bf u} and the vorticity vector ω{\bf\omega} are parallel, and 𝐮×ω=𝐮×(×𝐮)=0{\bf u}\times{\bf\omega}={\bf u}\times(\nabla\times{\bf u})=0. In addition, in the velocity and vorticity fields of this Beltrami flow, because the relationship of ω1,2=±3k𝐮1,2{\bf\omega}_{1,2}=\pm\sqrt{3}k{\bf u}_{1,2} holds, the pressure is associated with the kinetic energy ρ𝐮𝐮/2\rho{\bf u}\cdot{\bf u}/2 and enstrophy ωω/2{\bf\omega}\cdot{\bf\omega}/2, respectively. Stagnation point is where the pressure is p=0p=0. Antuono (2020) clarified that the high-pressure region including the stagnation point has a Y-shaped structure. The stagnation point occurs at the next position.

(xl,ym,zn)=ψk(1,1,1)πk(l,m,n),(x_{l},y_{m},z_{n})=-\frac{\psi}{k}(1,1,1)-\frac{\pi}{k}(l,m,n), (16)

where ll, mm, and nn are integers.

As in the two-dimensional case (Taylor, 1923), the three-dimensional Taylor decaying vortex flow is also periodic, so the volume integral of the velocity is zero. Since the total amount of pressure corresponds to the volume integral of kinetic energy, it is a constant value of 1/2-1/2 for inviscid fluids. The volume-integrated kinetic energy is explained later.

Vu𝑑V=0,Vv𝑑V=0,Vw𝑑V=0,Vp𝑑V=12,\int_{V}udV=0,\quad\int_{V}vdV=0,\quad\int_{V}wdV=0,\quad\int_{V}pdV=-\frac{1}{2}, (17)

where V=1×1×1V=1\times 1\times 1.

The kinetic energy KK is given as

K=12|𝐮|2.K=\frac{1}{2}|{\bf u}|^{2}. (18)

The volume-integrated kinetic energy K\langle K\rangle and the average kinetic energy KavK_{av} are given as

K=VK𝑑V=12e6k2Ret,\langle K\rangle=\int_{V}KdV=\frac{1}{2}e^{-\frac{6k^{2}}{Re}t}, (19)
Kav=1VK=12e6k2Ret,K_{av}=\frac{1}{V}\langle K\rangle=\frac{1}{2}e^{-\frac{6k^{2}}{Re}t}, (20)

The time when the average kinetic energy KavK_{av} is halved is t=Reln(2)/(6k2)t=Re\ln(2)/(6k^{2}), and the time when KavK_{av} decays to 10 % of the initial kinetic energy is t=Reln(10)/(6k2)t=Re\ln(10)/(6k^{2}).

3.2 Analytic solution under applied magnetic field

Assuming that the velocity vector and magnetic flux density vector represent the Beltrami flow, the exact solution of the velocity and pressure of the three-dimensional Taylor decaying vortex is expressed by the equation (15) even under an applied magnetic field. Using the three-dimensional Taylor decaying vortex model proposed by Antuono (2020), the magnetic flux density in an electromagnetic fluid under an applied magnetic field is given as

Bx1,2\displaystyle B_{x1,2} =\displaystyle= αB[sin(kx+θ1.2)cos(ky+ϕ1.2)sin(kz+ψ1.2)\displaystyle\alpha B\left[\sin(kx+\theta_{1.2})\cos(ky+\phi_{1.2})\sin(kz+\psi_{1.2})\right. (21)
cos(kz+θ1.2)sin(kx+ϕ1.2)sin(ky+ψ1.2)]e3νmk2t,\displaystyle\quad\left.-\cos(kz+\theta_{1.2})\sin(kx+\phi_{1.2})\sin(ky+\psi_{1.2})\right]e^{-3\nu_{m}k^{2}t},
By1,2\displaystyle B_{y1,2} =\displaystyle= αB[sin(ky+θ1.2)cos(kz+ϕ1.2)sin(kx+ψ1.2)\displaystyle\alpha B\left[\sin(ky+\theta_{1.2})\cos(kz+\phi_{1.2})\sin(kx+\psi_{1.2})\right. (22)
cos(kx+θ1.2)sin(ky+ϕ1.2)sin(kz+ψ1.2)]e3νmk2t,\displaystyle\quad\left.-\cos(kx+\theta_{1.2})\sin(ky+\phi_{1.2})\sin(kz+\psi_{1.2})\right]e^{-3\nu_{m}k^{2}t},
Bz1,2\displaystyle B_{z1,2} =\displaystyle= αB[sin(kz+θ1.2)cos(kx+ϕ1.2)sin(ky+ψ1.2)\displaystyle\alpha B\left[\sin(kz+\theta_{1.2})\cos(kx+\phi_{1.2})\sin(ky+\psi_{1.2})\right. (23)
cos(ky+θ1.2)sin(kz+ϕ1.2)sin(kx+ψ1.2)]e3νmk2t.\displaystyle\quad\left.-\cos(ky+\theta_{1.2})\sin(kz+\phi_{1.2})\sin(kx+\psi_{1.2})\right]e^{-3\nu_{m}k^{2}t}.

The above equations satisfy the basic equations (3) and (4). As reference values dimensionless variables, the length is λ\lambda, velocity is UU, time is λ/U\lambda/U, pressure is ρU2\rho U^{2}, and magnetic density is BB. The exact solution is non-dimensionalized as follows:

Bx1,2\displaystyle B_{x1,2} =\displaystyle= α[sin(kx+θ1.2)cos(ky+ϕ1.2)sin(kz+ψ1.2)\displaystyle\alpha\left[\sin(kx+\theta_{1.2})\cos(ky+\phi_{1.2})\sin(kz+\psi_{1.2})\right. (24)
cos(kz+θ1.2)sin(kx+ϕ1.2)sin(ky+ψ1.2)]e3k2Remt,\displaystyle\,\left.-\cos(kz+\theta_{1.2})\sin(kx+\phi_{1.2})\sin(ky+\psi_{1.2})\right]e^{-3\frac{k^{2}}{Re_{m}}t},
By1,2\displaystyle B_{y1,2} =\displaystyle= α[sin(ky+θ1.2)cos(kz+ϕ1.2)sin(kx+ψ1.2)\displaystyle\alpha\left[\sin(ky+\theta_{1.2})\cos(kz+\phi_{1.2})\sin(kx+\psi_{1.2})\right. (25)
cos(kx+θ1.2)sin(ky+ϕ1.2)sin(kz+ψ1.2)]e3k2Remt,\displaystyle\,\left.-\cos(kx+\theta_{1.2})\sin(ky+\phi_{1.2})\sin(kz+\psi_{1.2})\right]e^{-3\frac{k^{2}}{Re_{m}}t},
Bz1,2\displaystyle B_{z1,2} =\displaystyle= α[sin(kz+θ1.2)cos(kx+ϕ1.2)sin(ky+ψ1.2)\displaystyle\alpha\left[\sin(kz+\theta_{1.2})\cos(kx+\phi_{1.2})\sin(ky+\psi_{1.2})\right. (26)
cos(ky+θ1.2)sin(kz+ϕ1.2)sin(kx+ψ1.2)]e3k2Remt,\displaystyle\,\left.-\cos(ky+\theta_{1.2})\sin(kz+\phi_{1.2})\sin(kx+\psi_{1.2})\right]e^{-3\frac{k^{2}}{Re_{m}}t},

where k=2πk=2\pi is the non-dimensionalized wavenumber. The magnetic Reynolds number is defined as Rem=UL/νmRe_{m}=UL/\nu_{m}.

Since this three-dimensional magnetic flux density flow is the same as the Beltrami flow, the magnetic flux density vector 𝐁{\bf B} and the current density vector 𝐉{\bf J} are parallel, and 𝐁×𝐉=𝐁×(×𝐁)=0{\bf B}\times{\bf J}={\bf B}\times(\nabla\times{\bf B})=0. Therefore, the Lorentz force does not act, and work does not occur. Assuming that the kinematic viscosity and magnetic diffusivity are zero, the kinetic and magnetic energies are conserved in a periodic flow, and the total energy is also conserved. Therefore, it is useful to use this decaying vortex model as a benchmark test problem for verifying the validity of the energy conservation characteristics in a calculation method.

Since the flow of the three-dimensional Taylor decaying vortex is periodic, the volume integral of the magnetic flux density is zero like the velocity.

VBx𝑑V=0,VBy𝑑V=0,VBz𝑑V=0,\int_{V}B_{x}dV=0,\quad\int_{V}B_{y}dV=0,\quad\int_{V}B_{z}dV=0, (27)

where V=1×1×1V=1\times 1\times 1.

The magnetic energy MM is given as

M=12Al2|𝐁|2.M=\frac{1}{2Al^{2}}|{\bf B}|^{2}. (28)

This magnetic energy MM corresponds to dimensionless magnetic pressure. The volume-integrated magnetic energy M\langle M\rangle and the average magnetic energy MavM_{av} are obtained as follows:

M=VM𝑑V=12Al2e6k2Remt,\langle M\rangle=\int_{V}MdV=\frac{1}{2Al^{2}}e^{-\frac{6k^{2}}{Re_{m}}t}, (29)
Mav=1VM=12Al2e6k2Remt,M_{av}=\frac{1}{V}\langle M\rangle=\frac{1}{2Al^{2}}e^{-\frac{6k^{2}}{Re_{m}}t}, (30)

The total energy EtE_{t} is Et=K+ME_{t}=K+M. The volume-integrated total energy Et\langle E_{t}\rangle and the average total energy EtavE_{tav} are obtained as follows:

Et=12(e6k2Ret+1Al2e6k2Remt),\langle E_{t}\rangle=\frac{1}{2}\left(e^{-\frac{6k^{2}}{Re}t}+\frac{1}{Al^{2}}e^{-\frac{6k^{2}}{Re_{m}}t}\right), (31)
Etav=Kav+Mav=12(e6k2Ret+1Al2e6k2Remt).E_{tav}=K_{av}+M_{av}=\frac{1}{2}\left(e^{-\frac{6k^{2}}{Re}t}+\frac{1}{Al^{2}}e^{-\frac{6k^{2}}{Re_{m}}t}\right). (32)

Cross helicity HcH_{c} is given as

Hc=1Al𝐮𝐁.H_{c}=\frac{1}{Al}{\bf u}\cdot{\bf B}. (33)

The volume-integrated cross helicity Hc\langle H_{c}\rangle and the average cross helicity HcavH_{cav} are obtained as follows:

Hc=VHc𝑑V=1Ale3k2Rete3k2π2Remt,\langle H_{c}\rangle=\int_{V}H_{c}dV=\frac{1}{Al}e^{-\frac{3k^{2}}{Re}t}e^{-\frac{3k^{2}\pi^{2}}{Re_{m}}t}, (34)
Hcav=1VHc=1Ale3k2Rete3k2π2Remt.H_{cav}=\frac{1}{V}\langle H_{c}\rangle=\frac{1}{Al}e^{-\frac{3k^{2}}{Re}t}e^{-\frac{3k^{2}\pi^{2}}{Re_{m}}t}. (35)

4 Numerical method and calculation conditions

4.1 Numerical method

For stable calculations, transport quantities such as kinetic energy must be conserved discretely in periodic flows of inviscid fluids. In addition, the analytical characteristics of the governing equation must hold discretely, and the compatibility between the conservative and non-conservative forms of convection term must be satisfied discretely. Similar to the previous research (Ham et al., 2002; Morinishi, 2009), we use the implicit midpoint law to discretize the time derivatives in the governing equations and perform time marching. The second-order central difference scheme is used for the discretization of the space derivatives. The simplified marker and cell method (Amsden and Harlow, 1970) is applied to solve the discretized equations. In this study, the Lorentz force is discretized using compact interpolation (Yanaoka, 2023), which can maintain the compatibility between conservative and non-conservative forms of the Lorentz force. We describe the Lorentz force discretization method in Appendix A.

4.2 Calculation conditions for three-dimensional Taylor decaying vortex

The calculation area is a cube with one side λ\lambda. A uniform grid of 41341^{3} is used for the calculation. For error evaluation and grid dependency verification, we also use the grids with dimensions of 11311^{3}, 21321^{3}, and 81381^{3}. Exact solutions 𝐮1{\bf u}_{1} and p1p_{1} are given as initial conditions, and periodic boundary conditions are set as boundary conditions.

First, we verify the validity and stability of the present calculation method. To confirm whether non-physical kinetic energy is generated, we analyse the inviscid flow at Re=Re=\infty. The calculation is performed up to the time t/(L/U)=10t/(L/U)=10 under the condition that the Courant number is CFL=0.5.

Regarding the calculation conditions of the decaying vortex, the Reynolds numbers are Re=10Re=10, 50, 10210^{2}, and 10310^{3}. We calculate until the average kinetic energy is half and compare the calculation result with the exact solution. For each Reynolds number, the time step is given so that the Courant number CFL is constant regardless of the grid. The Courant number for Reynolds numbers other than Re=10Re=10 is CFL=0.25. At Re=10Re=10, the time until the average kinetic energy is half is short, so the Courant number was set to CFL=0.05.

Similar to the earlier study (Antuono, 2020), this study performs a long-time calculation to confirm whether the transition to turbulent flow is observed. As in the previous study, the Reynolds number is Re=103Re=10^{3}. In this calculation, we also use a grid finer than the number of grid points used in the existing research. The Courant number is set to CFL=0.1 and 0.5 to verify the influence of time increments when the number of grid points is 41. In other grids, the Courant number is CFL=0.5. In addition, we investigate the effect of initial velocity disturbance on the flow transition. Similar to the previous study(Morinishi, 2009), we use the vector potential with uniform random numbers to generate an initial disturbance that satisfies the continuity equation. The disturbance levels are values corresponding to 1of the initial average kinetic energy. As an initial condition, we use the value obtained by adding this initial disturbance to the exact solution of velocity.

4.3 Calculation conditions for three-dimensional Taylor decaying vortex under applied magnetic field

Next, we consider the analysis of a three-dimensional Taylor decaying vortex under an applied magnetic field. The grids and boundary conditions used are similar to the analytical model described in the previous subsection. The exact solutions 𝐮1{\bf u}_{1}, p1p_{1}, and 𝐁1{\bf B}_{1} are given as initial conditions.

Regarding the calculation conditions, the Reynolds numbers are set to Re=102Re=10^{2} and 10410^{4}, referring to the existing research on two-dimensional Taylor decaying vortex (Liu and Wang, 2001; Yanaoka, 2023). The magnetic Reynolds numbers are Rem=1Re_{m}=1 and 50, and the Alfvén number is Al=1Al=1. We calculate under the condition that the Courant number CFL=0.25.

Refer to caption

(a) velocity vectors, pressure contour, isosurface of pressure, and isosurface of 2nd invariant of velocity gradient tensor

Refer to caption

(b) velocity vectors, streamlines, isosurface of pressure, and isosurface of 2nd invariant of velocity gradient tensor

Refer to caption

(c) velocity vectors, streamlines, isosurface of pressure, and isosurface of the curvature of equipressure surface

Refer to caption

(d) streamlines, isosurface of 2nd invariant of velocity gradient tensor, and isosurface of the curvature of equipressure surface

Figure 1: Velocity vectors, streamlines, pressure contour, and various isosurfaces for analytic solution: The red, silver and green isosurfaces show the pressure, 2nd invariant of the velocity gradient tensor, and curvature of equipressure surface, respectively.

4.4 Extraction of pressure structure

We explain the method of extracting low- or high-pressure regions. If pressure distribution is concentric around a vortex tube, we can identify the vortex tube by displaying the isosurface of the pressure. However, when the vortex tube and shear layer coexist, the pressure changes due to the two structures, so we cannot extract only the vortex tube. Because the radius of a thin vortex tube is small, we can identify the thin vortex tube by visualising a vortex tube with a large curvature. Therefore, by calculating the curvature of an equipressure surface and displaying the isosurface with a large curvature, we can identify a vortex tube with a small radius of curvature. Now we consider the case where pressure is high at the centre of a concentric circle and low at the periphery. The curvature of the pressure isosurface can be defined as follows:

κp=𝐧^,𝐧^=𝐧|𝐧|=p|p|,\kappa_{p}=-\nabla\cdot\hat{{\bf n}},\quad\hat{{\bf n}}=\frac{{\bf n}}{|{\bf n}|}=\frac{\nabla p}{|\nabla p|}, (36)

where 𝐧^\hat{{\bf n}} is a unit normal vector on the isosurface. Therefore, we can visualise a high-pressure region by displaying the high value of κp>0\kappa_{p}>0. Conversely, we can extract a low-pressure region by showing the low value of κp<0\kappa_{p}<0. 1/|κp|1/|\kappa_{p}| is the radius of curvature of the vortex tube.

4.5 Characteristics of analytic solutions

Figure 1 shows the flow field of the analytic solution at t=0t=0. The velocity vectors, streamlines, and the contour and isosurface of pressure are shown. The second invariant of velocity gradient tensor and the curvature of an equipressure surface are also displayed in an isosurface form. The red isosurface of pressure shows the distribution of dimensionless pressure p=0.48p=0.48, and we can see the pressure field near a stagnation point. The second invariant QQ of the velocity gradient tensor is a quantity that expresses the magnitude relationship between the strain rate tensor and the vorticity tensor. Structures with Q<0Q<0 represent regions of high shear rates, where the high viscous dissipation rate of kinetic energy occurs. The second invariant of the velocity gradient tensor is a negative value of Q=52Q=-52 and represents a tubular high-shear region where the strain rate tensor increases. Along the direction of the vector (1,1,1)(1,1,1), the tubular structure exists a little away from the stagnation point. The high-pressure region with the stagnation point is a Y-shaped structure (Antuono, 2020). To extract the structure of a high-pressure area near a stagnation point, we calculate the curvature of the isosurface of the pressure. The green isosurface represents its curvature, and the magnitude of the curvature is κp=48\kappa_{p}=48. The high-pressure regions, which indicate the low-velocity areas with stagnation points, are connected in a mesh pattern, and a distorted cube structure appears. We can see that the isosurface of curvature buries the isosurface of pressure, and the cube structure represents the structure of the pressure field. The pressure is low at the centre of this cube structure, and when looking at the streamline, a swirling flow occurs so as to go around the low-pressure region. The tubular high-shear structure passes through the high-pressure region, and the pressure at the centre of the tubular high-shear structure is higher than the central pressure of the decaying vortex. No clear rotational flow occurs around the tubular high-shear structure.

5 Results and discussion

5.1 Analysis of three-dimensional Taylor decaying vortex

Figure 2 shows the time variation of the total amount of transport quantity in an inviscid analysis. u\langle u\rangle, v\langle v\rangle, and w\langle w\rangle are the volume integrals of velocities of xx-, yy-, and zz-directions, respectively, and K\langle K\rangle are the volume integral of kinetic energy. Ke\langle K\rangle_{e} is the exact solution. Since the flow is periodic, each total amount of the transport quantity is preserved. The total amounts of the velocities change at the level of rounding error, indicating that the conservation characteristics of the present calculation method are excellent. In addition, the kinetic energy is kept constant and consistent with the exact solution, and no non-physical energy is generated. Therefore, since this calculation method has excellent stability and does not generate non-physical kinetic energy, it is considered that this method can simulate a decaying vortex in a viscous fluid without destroying its characteristics.

Refer to caption

(a) velocity

Refer to caption

(b) kinetic energy

Figure 2: Total amounts of velocities and kinetic energy for inviscid analysis.
Refer to caption

(a) velocity vectors, pressure contour, isosurface of pressure, and isosurface of 2nd invariant of velocity gradient tensor

Refer to caption

(b) velocity vectors, streamlines, isosurface of pressure, and isosurface of 2nd invariant of velocity gradient tensor

Refer to caption

(c) velocity vectors, streamlines, isosurface of pressure, and isosurface of the curvature of equipressure surface

Refer to caption

(d) streamlines, isosurface of 2nd invariant of velocity gradient tensor, and isosurface of the curvature of equipressure surface

Figure 3: Velocity vectors, streamlines, pressure contour, and various isosurfaces: Re=102Re=10^{2}, t/(L/U)=0.3t/(L/U)=0.3; The red, silver and green isosurfaces show the pressure, 2nd invariant of the velocity gradient tensor, and curvature of equipressure surface, respectively.

Figure 3 shows the flow field of Re=102Re=10^{2} at time t/(L/U)=0.3t/(L/U)=0.3. The isosurface values were set so that the size of the structure represented by the isosurface was the same as the structure size shown in figure 1. The red isosurface expresses the distribution of the dimensionless pressure p=0.24p=0.24. The pressure near the stagnation point becomes lower than the initial value shown in figure 1. The second invariant of the velocity gradient tensor is Q=26Q=-26, and we find that the tubular high-shear structure with the initial strength of Q=52Q=-52 diffuses and decays. Since the vorticity of the Taylor decaying vortex decreases with time, the magnitude of the strain rate tensor inside a high-shear structure generated by the interaction between vortices also decreases. The curvature of the pressure isosurface is κp=48\kappa_{p}=48, which is the same as the initial value. Over time, the cube structure in which the high-pressure regions are connected in a mesh pattern is maintained. The velocity of the swirling flow inside this cubic structure becomes slow.

Refer to caption

(a) velocity

Refer to caption

(b) kinetic energy

Figure 4: Total amounts of velocities and kinetic energy at Re=102Re=10^{2}.
Refer to caption
Figure 5: Error of kinetic energy: Re=102Re=10^{2}, t/(L/U)=0.3t/(L/U)=0.3.

Figure 4 shows the time variations of the total amounts of velocities and kinetic energy at Re=102Re=10^{2}. The total amount of each velocity is the level of rounding error. The kinetic energy decays over time. This calculation results well agree with the exact solution, indicating that this calculation method accurately captures the characteristics of the decaying vortex. The three-dimensional periodic decaying vortex proposed by Antuono (2020) is an effective model for investigating the conservation characteristics of calculation methods and changes in kinetic energy.

Refer to caption

(a) kinetic energy

Refer to caption

(b) error

Figure 6: Total amount of kinetic energy, and error of kinetic energy: Re=10Re=10, 50, 10210^{2}, and 10310^{3}.
Refer to caption

(a) without initial disturbance

Refer to caption

(b) with initial disturbance

Figure 7: Total amounts of kinetic energy at Re=103Re=10^{3}

For Re=102Re=10^{2}, the relative error |εK||\varepsilon_{K}| of kinetic energy at the time t/(L/U)=0.3t/(L/U)=0.3 after the average kinetic energy is half is shown in figure 5. The error is defined as εK=(KKe)/Ke\varepsilon_{K}=(\langle K\rangle-\langle K\rangle_{e})/\langle K\rangle_{e}. This error also corresponds to the relative error of pressure. As the number of grid points increases, the error decreases with the slope of 2-2, indicating that the calculation is the second-order accuracy.

Refer to caption

(a) velocity

Refer to caption

(b) kinetic energy

Figure 8: Total amounts of velocities and kinetic energy under applied magnetic field: Re=102Re=10^{2}, Rem=1Re_{m}=1.

Figure 6 (a) shows the time variation of the total amount of kinetic energy at each Reynolds number. Regardless of ReRe, the time variation of kinetic energy well agrees with the exact solution. Also, as ReRe increases, the attenuation of kinetic energy slows down. Ham et al. (2002) performed a calculation in which the time progress was inverted in an inviscid periodic flow field and showed the reversibility of the calculation method. This study set a negative time step at Re=103Re=10^{3} and used the result of t/(L/U)=3t/(L/U)=3 as an initial value. Then, the time marching was performed in the opposite direction. The result is plotted in the figure. Intriguingly, we can calculate the phenomenon that the decaying vortex returns to its original state even in the viscous fluid. It was possible to calculate until the time near t/(L/U)=1.5t/(L/U)=1.5. However, as time passed, the calculation diverged on the way, and the decaying vortex could not be completely restored to its original state. In the case of Courant number 0.25, it was possible to calculate up to near t/(L/U)=1t/(L/U)=1, but the calculation diverged on the way. Although this phenomenon is physically impossible, this time-reversal simulation may be an effective tool as a method for verifying the stability and conservation characteristics of a calculation method. Figure 6 (b) shows the relative error when the Reynolds number varies. The error maintains constant regardless of ReRe. Since we can confirm the calculation accuracy by changing the number of grid points and the Reynolds number, it is considered that the three-dimensional Taylor decaying vortex model is valuable as a benchmark test.

Next, for Re=103Re=10^{3}, the time variation of the kinetic energy up to the time t/(L/U)=10t/(L/U)=10 is shown in figure 7 (a) using three grids. In the analysis using the number of grid points of 41341^{3}, we varied the Courant number and investigated the influence of time increment. At t/(L/U)=10t/(L/U)=10, the kinetic energy sufficiently attenuates. In the case of the number of grid points 11311^{3}, there is a slight difference between the calculation result and the analytic solution. On the other hand, the results obtained using finer grids well agree with the exact solution. Even if we perform the calculation over a long time, this calculated value well agrees with the exact solution, and there is no difference with time increments. In the previous study (Antuono, 2020), the difference between the calculation result and the analytic solution increased with time, and the transition to turbulent flow was observed. This study could not confirm such a transition phenomenon at Re=103Re=10^{3}. Figure 7 (b) shows the calculation result when an initial disturbance is added to the initial condition of the velocity. From around time t/(L/U)=5t/(L/U)=5, the difference between the calculation result and the exact solution occurs, and the same trend as the existing research (Antuono, 2020) appears. We can see that increasing the initial disturbance accelerates the transition. For investigating the transition phenomenon of a decaying vortex, the analysis of a decaying vortex with an initial disturbance is an intriguing investigation.

Refer to caption

(a) magnetic flux density

Refer to caption

(b) magnetic energy

Refer to caption

(c) total energy

Refer to caption

(d) cross helicity

Figure 9: Total amounts of magnetic flux densities, magnetic energy, totale energy, and cross helicity under applied magnetic field: Re=102Re=10^{2}, Rem=1Re_{m}=1.
Refer to caption
Figure 10: Error of total energy: Re=102Re=10^{2}, Rem=1Re_{m}=1, t/(L/U)=0.3t/(L/U)=0.3.
Refer to caption

(a) kinetic energy

Refer to caption

(b) magnetic energy

Refer to caption

(c) total energy

Refer to caption

(d) cross helicity

Figure 11: Time variations of kinetic energy, magnetic energy, total energy, and cross helicity under applied magnetic field: Re=102Re=10^{2}, Rem=1Re_{m}=1, and Re=104Re=10^{4}, Rem=50Re_{m}=50.

5.2 Analysis of three-dimensional Taylor decaying vortex under applied magnetic field

Figure 8 shows the time variations of the total amounts of velocities and kinetic energy at Re=102Re=10^{2}. In addition, figure 9 shows the time variations of the total amounts of magnetic flux density, magnetic energy, total energy, and cross helicity at Re=102Re=10^{2}. Since the magnetic flux density is periodic, the total amount is conserved and analytically zero. The total amount of calculated magnetic flux density is the level of rounding error. The kinetic and magnetic energies decay with time, and the magnetic energy decays sharply. Since no Lorentz force occurs, we can confirm from the comparison of figures 4 and 8 that the kinetic energy is consistent with the result with no applied magnetic field. If a non-physical Lorentz force occurs, the attenuation of kinetic energy is overestimated. The total energy and cross helicity agree well with each exact solution. Since the magnetic Reynolds number is low, the magnetic energy decays quickly, and most of the total energy at t/(L/U)=0.3t/(L/U)=0.3 corresponds to the kinetic energy.

For Re=102Re=10^{2}, the relative error |εE||\varepsilon_{E}| of the total energy at the time t/(L/U)=0.3t/(L/U)=0.3 after the average kinetic energy is half is shown in figure 10. The error decreases with a slope of 2-2, indicating that the calculation method is the second-order accuracy.

Refer to caption

(a) magnetic flux densities in xx-, yy-, and zz-directions

Refer to caption

(b) magnetic flux density lines, and isosurfaces of magnetic pressure, 2nd invariant of velocity gradient tensor, and curvature of magnetic pressure isosurface

Refer to caption

(c) magnetic flux density lines, and isosurfaces of magnetic pressure, current density magnitude, and 2nd invariant of velocity gradient tensor

Figure 12: Contours of magnetic flux densities, magnetic flux density lines, and isosurfaces of magnetic pressure, current density magnitude, 2nd invariant of velocity gradient tensor, and curvature of magnetic pressure isosurface: Re=104Re=10^{4}, Rem=50Re_{m}=50, t/(L/U)=0.3t/(L/U)=0.3; The yy-zz, zz-xx, and xx-yy planes show the contours of magnetic flux densities in the xx-, yy-, and zz-directions, respectively. The red, blue, silver and green isosurfaces show magnetic pressure, current density magnitude, 2nd invariant of velocity gradient tensor, and curvature of magnetic pressure isosurface, respectively
Refer to caption

(a) kinetic energy

Refer to caption

(b) total energy

Figure 13: Time variations of kinetic energy and totale energy under applied magnetic field: Re=104Re=10^{4}, Rem=50Re_{m}=50.
Refer to caption

(a) initial pressure

Refer to caption

(b) initial vorticity

Refer to caption

(c) pressure

Refer to caption

(d) vorticity

Figure 14: Contours of pressure and vorticities under applied magnetic field: Re=104Re=10^{4}, Rem=50Re_{m}=50, t/(L/U)=0t/(L/U)=0, 16.85: The yy-zz, zz-xx, and xx-yy planes show the contours of vorticities in the xx-, yy-, and zz-directions, respectively.
Refer to caption
Figure 15: Time variations of kinetic energy and energy dissipation under applied magnetic field: Re=104Re=10^{4}, Rem=50Re_{m}=50.

Next, we investigate the trend of the decaying vortex when the calculation conditions vary. Figure 11 shows the time variations in the kinetic, magnetic, and total energies and cross helicity at Re=104Re=10^{4} and Rem=50Re_{m}=50. For comparison, the results of Re=102Re=10^{2} and Rem=1Re_{m}=1 are also included. This calculation result agrees well with the exact solution, and the present analysis can capture the energy decay process. Under Re=104Re=10^{4} and Rem=50Re_{m}=50, there is almost no attenuation of the kinetic energy. On the other hand, the magnetic energy, total energy, and cross helicity decay over time.

Figure 12 (a) shows the distribution of the magnetic flux density at time t/(L/U)=0.3t/(L/U)=0.3. The yy-zz, zz-xx, and xx-yy cross-sections show the distribution of magnetic flux densities in the xx-, yy-, and zz-directions, respectively. At this time, the distinct periodicity of the magnetic flux density remains. In addition, figures 12 (b) and (c) show the magnetic flux lines, the magnetic pressure, the magnitude of the current density vector, the second invariant of the velocity gradient tensor, and the curvature of the isosurface of magnetic pressure. Here, we calculated the curvature of the isosurface of magnetic pressure to visualise the region of low magnetic pressure. The red isosurfaces show the distributions of magnetic pressure P=0.01P=0.01 and P=0.28P=0.28, and the light blue isosurface expresses the current density magnitude J=7.5J=7.5, indicating the occurrence of high current density. The silver isosurface shows the second invariant Q=53Q=-53 of the velocity gradient tensor and represents a tubular high-shear region. The green isosurface shows the curvature κ=50\kappa=-50 of the magnetic pressure isosurface, and we can confirm the region of low magnetic pressure. The high magnetic pressure is shown in figure (b), and the low magnetic pressure and the magnitude of high current density are shown in figure (c). In figure (b), the magnetic pressure distribution of a distorted cubic structure appears so that the regions of low magnetic pressure are connected in a mesh pattern and surround the areas of high magnetic pressure. At this time, the attenuation of the velocity field is small, so the clear vortex structure is present. The magnetic flux density decays, but the magnetic flux lines are similar to the streamlines of the velocity field. The distribution of magnetic pressure shown in figure (c) is Y-shaped and the same as the shape of the pressure distribution in figure 3. The dimensionless magnetic pressure corresponds to the dimensionless magnetic energy. Therefore, the magnetic energy becomes high in the region, where the magnetic pressure is high. The high current density occurs in a grid pattern, and the magnetic flux lines swirl so as to surround the high current density region. In the area of high current density, the magnetic pressure, that is, the magnetic energy becomes high.

Figure 13 shows the time variations in the kinetic and total energies at Re=104Re=10^{4} and Rem=50Re_{m}=50. Over time, the difference between the result obtained using each grid and the exact solution appears, and the kinetic and total energies decay sharply. An existing study (Antuono, 2020) reported that the difference from the analytic solution suggested a transition to turbulent flow. When the flow transition occurred, the magnetic energy had sufficiently decreased. Therefore, under this condition, the influence of the magnetic field on the flow transition is considered small. As the number of grid points increases, the transition points approach the dimensionless time t/(L/U)=16t/(L/U)=16.

The vorticity distribution at time t/(L/U)=0t/(L/U)=0 and 16.85 is shown in figure 14. The yy-zz, zz-xx, and xx-yy cross-sections show the vorticity distributions in the xx-, yy-, and zz-directions, respectively. In the initial state, a large-scale vortex exists, but at t/(L/U)=16.85t/(L/U)=16.85, it can be seen from the figure that it is converted to small-scale vortex structures by a non-linear effect and attenuated.

Figure 15 shows the time variation of the kinetic energy KavK_{av} and its dissipation rate εK\varepsilon_{K}. The dissipation rate is defined as εK=dKav/dt\varepsilon_{K}=-dK_{av}/dt. As the kinetic energy decays sharply, the dissipation rate increases and a maximum value appears. The pressure and vorticity distributions when the dissipation rate is maximum were shown in figures 14 (c) and (d). The vortex structure disappears with time due to viscous dissipation, the induced magnetic field also disappears, and the flow field asymptotically approaches the stationary state.

6 Conclusions

In this study, we analysed a three-dimensional Taylor decaying vortex under an applied magnetic field and investigated the effectiveness of the decaying magnetic field model for verifying the calculation method of electromagnetic fluid flow. The following findings were obtained.

First, we investigated the characteristics of a three-dimensional Taylor decaying vortex without an applied magnetic field. In the flow field where the decaying vortex exists, high-pressure regions are connected in a mesh pattern so as to include stagnation points, and the pressure distribution with a distorted cubic structure appears around a low-pressure region. A tubular high-shear structure, which passes through the cube structure, exists, and a swirling flow forms around the low-pressure region inside the cube. Furthermore, we investigated the total amounts of velocity, pressure, and kinetic energy when the number of grid points and the Reynolds number varied and clarified the conservation characteristics of the transport quantities in the three-dimensional Taylor decaying vortex.

Next, we analysed a three-dimensional Taylor decaying vortex under an applied magnetic field and clarified the characteristics of the decaying magnetic field. When a magnetic field is applied, low magnetic pressure regions are connected in a mesh pattern, and the magnetic pressure distribution with a distorted cubic structure occurs to surround a high magnetic pressure region. In a stagnation region, the magnetic energy becomes low, and the magnetic flux line is similar to the streamline of the velocity field. High current densities occur in a grid pattern, and the magnetic flux lines swirl around the high current density region. The magnetic pressure and magnetic energy are high in the high current density region. When the Reynolds number and the magnetic Reynolds number vary, the decay trends of various energies agree well with the exact solution. The transition to turbulent flow occurs at a high Reynolds number, and the kinetic and total energies decrease rapidly. After the dissipation rate of kinetic energy becomes maximum, the vortex structure decays, and the flow field gradually approaches a stationary state without magnetic fields.

The three-dimensional decaying magnetic field belonging to the Beltrami flow is a simple model for investigating the energy conservation characteristics of a calculation method and is also an intriguing target for studying the transition to turbulent flow and energy dissipation. This model of the three-dimensional decaying magnetic field is considered valuable as one benchmark test.

Appendix A Discretization of the Lorentz force

This study uses a staggered grid (Amsden and Harlow, 1970). We denote the cell centre as (i,j,k)(i,j,k). The magnetic flux densities, BxB_{x}, ByB_{y}, and BzB_{z}, are defined at the cell interface (i+1/2,j,k)(i+1/2,j,k), (i,j+1/2,k)(i,j+1/2,k), and (i,j,k+1/2)(i,j,k+1/2), respectively, as with the velocity field. The coordinate transformation is performed so that equation can be discretized on non-uniform grids. As an example, the Lorentz force in the xx-direction can be transformed as follows:

Fx|i+1/2,j,k=1Al21J¯i+1/2,j,kξ(JBz¯ξJy¯i+1/2,j,kζJBy¯ξJz¯i+1/2,j,kη),\left.F_{x}\right|_{i+1/2,j,k}=\frac{1}{Al^{2}}\frac{1}{\bar{J}^{\xi}_{i+1/2,j,k}}\left(\overline{J\bar{B_{z}}^{\xi}J_{y}}^{\zeta}_{i+1/2,j,k}-\overline{J\bar{B_{y}}^{\xi}J_{z}}^{\eta}_{i+1/2,j,k}\right), (37)

where JJ is the Jacobian defined as J=xξyηzζJ=x_{\xi}y_{\eta}z_{\zeta}. The Cartesian coordinate (x,y,z)(x,y,z) in the physical space is transformed into the computational space (ξ,η,ζ)(\xi,\eta,\zeta). By¯ξ\bar{B_{y}}^{\xi} and Bz¯ξ\bar{B_{z}}^{\xi} are interpolated values. The variable at grid point (i,j,k)(i,j,k) is defined as Ψi,j,k\Psi_{i,j,k}. The interpolation in the xx (ξ\xi)-direction for the variable Ψ\Psi is given as

Ψ¯ξ|i+1/2,j,k=Ψi,j,k+Ψi+1,j,k2.\left.\bar{\Psi}^{\xi}\right|_{i+1/2,j,k}=\frac{\Psi_{i,j,k}+\Psi_{i+1,j,k}}{2}. (38)

In this study, the current densities, JyJ_{y} and JzJ_{z}, are not defined at the same definition points as the velocities in the yy- and zz-directions, respectively. JxJ_{x}, JyJ_{y}, and JzJ_{z} are defined at the midpoints of the cell edges, (i,j+1/2,k+1/2)(i,j+1/2,k+1/2), (i+1/2,j,k+1/2)(i+1/2,j,k+1/2), and (i+1/2,j+1/2,k)(i+1/2,j+1/2,k), respectively. In this case, 2 surrounding magnetic flux densities BxB_{x} are required to calculate Jyi+1/2,j,k+1/2J_{yi+1/2,j,k+1/2}. The 2 surrounding current densities Jyi+1/2,j,k+1/2J_{yi+1/2,j,k+1/2}, are required to calculate Fxi+1/2,j,kF_{xi+1/2,j,k}. A total of 3 surrounding BxB_{x} is required. In this way, the Lorentz force can be obtained by compact interpolation. In addition, the charge conservation law is satisfied at the grid point (i+1/2,j+1/2,k+1/2)(i+1/2,j+1/2,k+1/2). This method is the compact interpolation (Yanaoka, 2023).

The Lorentz force is rewritten using compact interpolation from the non-conservative to the conservative form. The compatibility between conservative and non-conservative forms is preserved in discretized equations for uniform grids and approximately for non-uniform grids. Therefore, even if the non-conservative Lorentz force is discretized, the momentum and kinetic energy are conserved in inviscid fluids.

Acknowledgements. This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors. We would like to express our gratitude to Associate Professor Yosuke Suenaga of Iwate University for his support of our laboratory. The authors wish to acknowledge the time and effort of everyone involved in this study.

Declaration of interests. The authors report no conflicts of interest.

Author ORCID.
H. Yanaoka https://orcid.org/0000-0002-4875-8174.

References

  • Amsden and Harlow (1970) Amsden, A.A., Harlow, F.H., 1970. A simplified MAC technique for incompressible fluid flow calculations. J. Comput. Phys. 6, 322–325. doi:doi:https://doi.org/10.1016/0021-9991(70)90029-X.
  • Antuono (2020) Antuono, M., 2020. Tri–periodic fully three–dimensional analytic solutions for the Navier–Stokes equations. J. Fluid Mech. 890, A23. doi:doi:https://doi.org/10.1017/jfm.2020.126.
  • Barbato et al. (2007) Barbato, D., Berselli, L.C., Grisanti, C.R., 2007. Analytical and numerical results for the rational large eddy simulation model. J. Math. Fluid Mech. 9, 44–74. doi:doi:https://doi.org/10.1007/s00021-006-0191-0.
  • Ham et al. (2002) Ham, F.E., Lien, F.S., Strong, A.B., 2002. A fully conservative second–order finite difference scheme for incompressible flow on nonuniform grids. J. Comput. Phys. 177, 117–133. doi:doi:https://doi.org/10.1006/jcph.2002.7006.
  • Jordan and Ragab (1996) Jordan, S.A., Ragab, S.A., 1996. An efficient fractional–step technique for unsteady incompressible flows using a semi-staggered grid strategy. J. Comput. Phys. 127, 218–225. doi:doi:https://doi.org/10.1006/jcph.1996.0170.
  • Kim and Moin (1985) Kim, J., Moin, P., 1985. Application of a fractional-step method to incompressible Navier–Stokes equations. J. Comput. Phys. 59, 308–323. doi:doi:https://doi.org/10.1016/0021-9991(85)90148-2.
  • Le and Moin (1991) Le, H., Moin, P., 1991. An improvement of fractional-step methods for the incompressible Navier–Stokes equations. J. Comput. Phys. 92, 369–379. doi:doi:https://doi.org/10.1016/0021-9991(91)90215-7.
  • Liu and Wang (2001) Liu, J.G., Wang, W.C., 2001. An energy-preserving MAC–Yee scheme for the incompressible MHD equation. J. Comput. Phys. 174, 12–37. doi:doi:https://doi.org/10.1006/jcph.2001.6772.
  • Morinishi (2009) Morinishi, Y., 2009. Fully conservative finite difference scheme for low–Mach number unsteady compressible flow simulations. JSME, Ser. B 75, 2153–2162. doi:doi:https://doi.org/10.1299/kikaib.75.759_2153. (in Japanese).
  • Ross Ethier and Steinman (1994) Ross Ethier, C., Steinman, D.A., 1994. Exact fully 3D Navier–Stokes solutions for benchmarking. Int. J. Numer. Methods Fluids 19, 369–375. doi:doi:https://doi.org/10.1002/fld.1650190502.
  • Taylor (1923) Taylor, G.I., 1923. Lxxv. on the decay of vortices in a viscous fluid. Philos. Mag. 46, 671–674. doi:doi:https://doi.org/10.1080/14786442308634295.
  • Woltjer (1958) Woltjer, L., 1958. On hydromagnetic equilibrium. PNAS 44, 833–841. doi:doi:https://doi.org/10.1073/pnas.44.9.833.
  • Yanaoka (2023) Yanaoka, H., 2023. Influences of conservative and non-conservative lorentz forces on energy conservation properties for incompressible magnetohydrodynamic flows. J. Comput. Phys. (accepted).