Verification of the code to calculate duct flow affected by external magnetic field
DOI:
https://doi.org/10.7242/1999-6691/2021.14.3.27Keywords:
magnetohydrodynamics, software verification, OpenFOAM, Elmer, EOF-libraryAbstract
In this paper, the authors present the results of software verification for solving magnetohydrodynamic problem in duct exposed to constant magnetic fields. The proposed approach uses the following open source software: OpenFOAM for solving problems of continuum mechanics using the finite volume method, Elmer for solving magnetic field distribution based on the finite element method, and EOF-library for data exchange between these two programs. The verification results were demonstrated by fluid flow in a square duct exposed to constant uniform spanwise magnetic field. The research was carried out with a laminar fluid flow, which makes it similar to the Hartmann's problem. The existing experience of calculating such problems, their verification and application were discussed. The paper provides a brief mathematical description of the proposed solution and basic procedures for implementing the code proposed by the authors. At the first stage of verification, the comparison of fluid velocity distribution results at Hartmann’s numbers equal to 1, 10, 20 and 50 was demonstrated. These results were obtained by means of proposed software, an analytical solution, and a test problem provided by OpenFOAM developers for two-dimensional case. At the second stage of software verification, sufficient convergence of the results was shown for fluid velocity distribution in the three-dimensional case of the Hartmann’s problem compared with the OpenFOAM test problem data and the results obtained by Comsol Multiphisics and ANSYS. As a result, distributions of the fluid flow velocity between Hartmann’s walls were obtained for various study cases: a two-dimensional problem, a three-dimensional problem with electrically insulated walls, and a three-dimensional problem with walls having infinite electrical conductivity. The last stage of the study corresponds to assessing of software performance in comparison with the built-in OpenFOAM solver and commercial software Comsol Multiphysics and ANSYS. It was found that the proposed approach takes more time to calculate these problems than the built-in OpenFOAM solver, but less than Comsol. However, the problem formulation in EOF-library allows solving problems with complex geometry, which is not available in the built-in OpenFOAM solver. In conclusion, analysis of computation performance with parallelization was carried out. It showed significant reducing of computation time with the help of EOF-library in comparison with the commercial software Comsol and ANSYS .
Downloads
References
Kim H.R., Lee Y.B. A design and characteristic experiment of the small annular linear induction electromagnetic pump. Nucl. Energy, 2011, vol. 38, pp. 1046-1052. https://doi.org/10.1016/j.anucene.2011.01.008">https://doi.org/10.1016/j.anucene.2011.01.008
Araseki H., Kirillov I.R., Preslitsky G.V., Ogorodnikov A.P. Magnetohydrodynamic instability in annular linear induction pump: Part I. Experiment and numerical analysis. Eng. Des., 2004, vol. 227, pp. 29-50. https://doi.org/10.1016/j.nucengdes.2003.07.001">https://doi.org/10.1016/j.nucengdes.2003.07.001
Abdullina K.I., Bogovalov S.V., Zaikov Yu.P. 3D numerical modeling of liquid metal turbulent flow in an annular linear induction pump. Nucl. Energy, 2018, vol. 111, pp. 118-126. https://doi.org/10.1016/j.anucene.2017.08.010">https://doi.org/10.1016/j.anucene.2017.08.010
Dong X., Mi G., He L., Li P. 3D simulation of plane induction electromagnetic pump for the supply of liquid Al-Si alloys during casting. Mater. Process. Tech., 2013, vol. 213, pp. 1426-1432. https://doi.org/10.1016/j.jmatprotec.2013.03.006">https://doi.org/10.1016/j.jmatprotec.2013.03.006
Smolentsev S., Abdou M. Dual-coolant lead-lithium (DCLL) blanket: Status and R and D in the area of mhdthermofluids and fluid materials interaction. Magnetohydrodynamics, 2015, vol. 51, pp. 509-517. https://doi.org/10.22364/mhd.51.3.11">https://doi.org/10.22364/mhd.51.3.11
Thess A., Votyakov E.V., Kolesnikov Y. Lorentz force velocimetry. Rev. Lett., 2006, vol. 96, 164501. https://doi.org/10.1103/PhysRevLett.96.164501">https://doi.org/10.1103/PhysRevLett.96.164501
Ratajczak M., Wondrak T., Stefani F., Eckert S. Numerical and experimental investigation of the contactless inductive flow tomography in thepresence of strong static magnetic fields. Magnetohydrodynamics, 2015, vol. 51, pp. 461-471. https://doi.org/10.22364/mhd.51.3.7">https://doi.org/10.22364/mhd.51.3.7
Vakhrushev A., Kharicha A., Liu Z., Wu M., Ludwig A., Nitzl G., Tang Y., Hackl G., Watzinger J. Electric current distribution during electromagnetic braking in continuous casting. Mater. Trans. B, 2020, vol. 51, pp. 2811-2828. https://doi.org/10.1007/s11663-020-01952-3">https://doi.org/10.1007/s11663-020-01952-3
Tympel S., Boeck T., Schumacher J. Laminar and transitional liquid metal duct flow near a magnetic point dipole. Fluid Mech., 2013, vol. 735, pp. 553-586. https://doi.org/10.1017/jfm.2013.491">https://doi.org/10.1017/jfm.2013.491
Zikanov O., Krasnov D., Boeck T., Thess A., Rossi M. Laminar-turbulent transition in magnetohydrodynamic duct, pipe, and channel flows. Mech. Rev., 2014, vol. 66, 030802. https://doi.org/10.1115/1.4027198">https://doi.org/10.1115/1.4027198
Li Y., Zikanov O. Laminar pipe flow at the entrance into transverse magnetic field. Fusion Eng. Des., 2013, vol. 88, pp. 195-201. https://doi.org/10.1016/j.fusengdes.2013.01.087">https://doi.org/10.1016/j.fusengdes.2013.01.087
Krasnov D., Thess A., Boeck T., Zhao Y., Zikanov O. Patterned turbulence in liquid metal flow: Computational reconstruction of the Hartmann experiment. Rev. Lett., 2013, vol. 110, 084501. https://doi.org/10.1103/PhysRevLett.110.084501">https://doi.org/10.1103/PhysRevLett.110.084501
Reddy K.S., Fauve S., Gissinger C. Instabilities of MHD flows driven by traveling magnetic fields. Rev. Fluids, 2018, vol. 3, 063703. https://doi.org/10.1103/PhysRevFluids.3.063703">https://doi.org/10.1103/PhysRevFluids.3.063703
Geza V., Nacke B. Numerical simulation of core-free design of a large electro-magnetic pump with double stator. Magnetohydrodynamics, 2016, vol. 52, no. 3, pp. 417-432.
Siriano S., Tassone A., Caruso G., Del Nevo A. MHD forced convection flow in dielectric and electro-conductive rectangular annuli. Fusion Eng. Des., 2020, vol. 159, 111773. https://doi.org/10.1016/j.fusengdes.2020.111773">https://doi.org/10.1016/j.fusengdes.2020.111773
Jiang Y., Smolentsev S., Jun J., Pint B., Kessel C. Prediction of PbLi fluid flow and temperature field in a thermal convection loop for qualification of fusion materials. J. Heat Mass Tran., 2021, vol. 172, 121198. https://doi.org/10.1016/j.ijheatmasstransfer.2021.121198">https://doi.org/10.1016/j.ijheatmasstransfer.2021.121198
Siriano S., Tassone A., Caruso G. Numerical simulation of thin-film MHD flow for nonuniform conductivity walls. Fusion Sci. Tech., 2021, vol. 77, pp. 144-158. https://doi.org/10.1080/15361055.2020.1858671">https://doi.org/10.1080/15361055.2020.1858671
Goldsteins L., Buligins L., Fautrelle Y. Stalling instability of annular linear induction pumps. Magnetohydrodynamics, 2018, vol. 54, pp. 333-342. https://doi.org/10.22364/mhd.54.4.1">https://doi.org/10.22364/mhd.54.4.1
Oshurko V.B., Mandel A.M., Solomakho K.G., Lednev V.N. Induced crystallization principle for rapid 3D printing of steel melts. Magnetohydrodynamics, 2018, vol. 54, pp. 343-351. https://doi.org/10.22364/mhd.54.4.2">https://doi.org/10.22364/mhd.54.4.2
Smolianov I., Shmakov E., Vencels J. Numerical analysis of liquid flows exposed to travelling magnetic field. 1. Idealized numerical experiment. Magnetohydrodynamics, 2021, vol. 57, pp. 105-120. https://doi.org/10.22364/mhd.57.1.9">https://doi.org/10.22364/mhd.57.1.9
Smolianov I., Shmakov E., Vencels J. Numerical analysis of liquid flows exposed to travelling magnetic field. 2. MHD instabilities due to magnetic end effects. Magnetohydrodynamics, 2021, vol. 57, pp. 121-132. https://doi.org/10.22364/mhd.57.1.10">https://doi.org/10.22364/mhd.57.1.10
Krasnov D., Zikanov O., Rossi M., Boeck T. Optimal linear growth in magnetohydrodynamic duct flow. Fluid Mech., 2010, vol. 653, pp. 273-299. https://doi.org/10.1017/S0022112010000273">https://doi.org/10.1017/S0022112010000273
González M., Audit E., Huynh P. HERACLES: A three-dimensional radiation hydrodynamics code. A&A, 2007, vol.464, pp. 429-435. https://doi.org/10.1051/0004-6361:20065486">https://doi.org/10.1051/0004-6361:20065486
Bandaru V., Boeck T., Krasnov D., Schumacher J. A hybrid finite difference-boundary element procedure for the simulation of turbulent MHD duct flow at finite magnetic Reynolds number. Comput. Phys., 2016, vol. 304, pp. 320-339. https://doi.org/10.1016/j.jcp.2015.10.007">https://doi.org/10.1016/j.jcp.2015.10.007
Blishchik A., van der Lans M., Kenjereš S. An extensive numerical benchmark of the various magnetohydrodynamic flows. J. Heat Fluid Flow, 2021, vol. 90, 108800. https://doi.org/10.1016/j.ijheatfluidflow.2021.108800">https://doi.org/10.1016/j.ijheatfluidflow.2021.108800
He Q., Chen H., Feng J. Acceleration of the OpenFOAM-based MHD solver using graphics processing units. Fusion Eng. Des., 2015, vol. 101, pp. 88-93. https://doi.org/10.1016/j.fusengdes.2015.09.017">https://doi.org/10.1016/j.fusengdes.2015.09.017
Patel A., Pulugundla G., Smolentsev S., Abdou M., Bhattacharyay R. Validation of numerical solvers for liquid metal flow in a complex geometry in the presence of a strong magnetic field. Comput. Fluid Dyn., 2018, vol. 32, pp. 165-178. https://doi.org/10.1007/s00162-017-0446-9">https://doi.org/10.1007/s00162-017-0446-9
Hartmann J. Theory of the laminar flow of electrically conductive liquid in a homogeneous magnetic field. Dan. Vidensk. Selsk. Mat. Fys. Medd., 1937, vol. 15(6), pp. 1-28.
Hunt J.C.R. Magnetohydrodynamic flow in rectangular ducts. Fluid Mech., 1965, vol. 21, pp. 577-590. https://doi.org/10.1017/S0022112065000344">https://doi.org/10.1017/S0022112065000344
Tassone A. Magnetic induction and electric potential solvers for incompressible MHD flows. https://www.researchgate.net/publication/313678022_Magnetic_induction_and_electric_potential_solvers_for_incompressible_MHD_flows">https://www.researchgate.net/publication/313678022_Magnetic_induction_and_electric_potential_solvers_for_incompressible_MHD_flows
Vencels J., Råback P., Geža V. EOF-Library: Open-source Elmer FEM and OpenFOAM coupler for electromagnetics and fluid dynamics. SoftwareX, 2019, vol. 9, pp. 68-72. https://doi.org/10.1016/j.softx.2019.01.007">https://doi.org/10.1016/j.softx.2019.01.007
Müller U., Bühler L. Analytical solutions for MHD channel flow. Magnetofluiddynamics in Channels and Containers. Springer, 2001. P. 37-55. https://doi.org/10.1007/978-3-662-04405-6_4">https://doi.org/10.1007/978-3-662-04405-6_4
Downloads
Published
Issue
Section
License
Copyright (c) 2021 Computational Continuum Mechanics
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.