This software illustrates the applications of the programming
techniques detailed in the book chapter
Norbert Weber, Tom Weier (2022) Liquid Metal Batteries. In: Steven
Beale, Werner Lehnert (eds.) Electrochemical Cell Calculations with
OpenFOAM. Lecture Notes in Energy 42, pp. 193-212.
The included solver handles the heat and mass transport equations
under the assumption of pure diffusion and with solutal convection.
It is a single region solver that is based on laplacianFoam and
boussinesqPimpleFoam from OpenFOAM 6.
This project has received funding from the European Union's Horizon 2020
research and innovation programme under grant agreement No 963599, and was supported by
the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) by award number
338560565, by a postdoc fellowship of the German Academic Exchange Service (DAAD) and in
frame of the Helmholtz—RSF Joint Research Group "Magnetohydrodynamic instabilities: Crucial
relevance for large scale liquid metal batteries and the sun-climate connection", contract No. HRSF-
0044 and RSF-18-41-06201. We thank P. Personnettaz for providing the source code and example.