Multiphysics modeling with open source software
University of Latvia

November, 2018

Hartmann Flow - EOF-Library

Authors: Juris Vencels, Valters Dzelme

Hartmann flow is a classical magnetohydrodynamics (MHD) problem in which  conductive fluid is pushed through a pipe with electrically conductive and/or insulated walls in presence of external magnetic field which is perpendicular to flow direction.

In this project, a solution is found using a bidirectionally coupled Elmer FEM and OpenFOAM software packages. Elmer FEM solves the electromagnetic part of the problem and communicates the Lorentz force to OpenFOAM. OpenFOAM computes fluid flow and sends flow velocity field back to Elmer. Results are compared against an analytical solution.

This project is part of the EOF-Library training course. EOF-Library is efficient, fully parallelized Elmer FEM and OpenFOAM coupler designed for coupled electromagnetic, fluid and heat transfer simulations.


Given

Problem definition

Liquid properties

Galinstan

External magnetic field

1 T

Inlet flow velocity

1 m/s


Tasks

Basic

Advanced

Hints

grep -r -i -n "WhitneyAVSolver" fem/tests/

Useful links

Elmer

OpenFOAM