Verification of the code to calculate duct flow affected by external magnetic field

Research output: Contribution to journalArticleResearchpeer review

Authors

  • I. A. Smolyanov
  • E. I. Shmakov
  • E. Baake
  • M. Guglielmi

External Research Organisations

  • Ural Federal University (UrFU)
View graph of relations

Details

Translated title of the contributionVERIFICATION of the CODE to CALCULATE DUCT FLOW AFFECTED by EXTERNAL MAGNETIC FIELD
Original languageRussian
Pages (from-to)322-332
Number of pages11
JournalComputational Continuum Mechanics
Volume14
Issue number3
Publication statusPublished - 30 Sept 2021

Abstract

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.

Keywords

    Elmer, EOF-library, Magnetohydrodynamics, OpenFOAM, Software verification

ASJC Scopus subject areas

Cite this

Verification of the code to calculate duct flow affected by external magnetic field. / Smolyanov, I. A.; Shmakov, E. I.; Baake, E. et al.
In: Computational Continuum Mechanics, Vol. 14, No. 3, 30.09.2021, p. 322-332.

Research output: Contribution to journalArticleResearchpeer review

Smolyanov, IA, Shmakov, EI, Baake, E & Guglielmi, M 2021, 'Verification of the code to calculate duct flow affected by external magnetic field', Computational Continuum Mechanics, vol. 14, no. 3, pp. 322-332. https://doi.org/10.7242/1999-6691/2021.14.3.27
Smolyanov, I. A., Shmakov, E. I., Baake, E., & Guglielmi, M. (2021). Verification of the code to calculate duct flow affected by external magnetic field. Computational Continuum Mechanics, 14(3), 322-332. https://doi.org/10.7242/1999-6691/2021.14.3.27
Smolyanov IA, Shmakov EI, Baake E, Guglielmi M. Verification of the code to calculate duct flow affected by external magnetic field. Computational Continuum Mechanics. 2021 Sept 30;14(3):322-332. doi: 10.7242/1999-6691/2021.14.3.27
Smolyanov, I. A. ; Shmakov, E. I. ; Baake, E. et al. / Verification of the code to calculate duct flow affected by external magnetic field. In: Computational Continuum Mechanics. 2021 ; Vol. 14, No. 3. pp. 322-332.
Download
@article{7e140264a7364603bc16feaa1041ebac,
title = "Verification of the code to calculate duct flow affected by external magnetic field",
abstract = "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{\textquoteright}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{\textquoteright}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{\textquoteright}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.",
keywords = "Elmer, EOF-library, Magnetohydrodynamics, OpenFOAM, Software verification",
author = "Smolyanov, {I. A.} and Shmakov, {E. I.} and E. Baake and M. Guglielmi",
year = "2021",
month = sep,
day = "30",
doi = "10.7242/1999-6691/2021.14.3.27",
language = "Russian",
volume = "14",
pages = "322--332",
number = "3",

}

Download

TY - JOUR

T1 - Verification of the code to calculate duct flow affected by external magnetic field

AU - Smolyanov, I. A.

AU - Shmakov, E. I.

AU - Baake, E.

AU - Guglielmi, M.

PY - 2021/9/30

Y1 - 2021/9/30

N2 - 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.

AB - 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.

KW - Elmer

KW - EOF-library

KW - Magnetohydrodynamics

KW - OpenFOAM

KW - Software verification

UR - http://www.scopus.com/inward/record.url?scp=85122151997&partnerID=8YFLogxK

U2 - 10.7242/1999-6691/2021.14.3.27

DO - 10.7242/1999-6691/2021.14.3.27

M3 - Article

AN - SCOPUS:85122151997

VL - 14

SP - 322

EP - 332

JO - Computational Continuum Mechanics

JF - Computational Continuum Mechanics

SN - 1999-6691

IS - 3

ER -

By the same author(s)