As a part of my Ph.D thesis, i extended an OpenFOAM solver interFoam to consider mass transfer due to boiling and condensation, new solver is called phaseChangeHeatFoam. It is available in git,now. It can be download and compiled with following commands in Linux terminal.
git clone https://github.com/NimaSam/phaseChangeHeatFoam/ cd phaseChangeHeatFoam/Application/ chmod +x All* ./Allwmake
The zip file can be download from here.
Some features of this solver are shown in the following examples, extra information about each case is available in references:
It is one-dimensional problem to validate mass transfer source terms in interface transport and energy equation.
Film condensation over horizontal plate
It is another one dimensional problem, it is also have analytical solution. The difference between this and Stephan problem is that it considers gravity.
It is a two dimensional simulation. There are experimental correlations to compare numerical results with.
Film condensation on vertical plate
It is a two dimensional simulation. There is analytical solution for laminar flow with some simplification.
- N. Samkhaniani, M.R. Ansari, “Numerical simulation of bubble condensation using CF-VOF”, Progress in Nuclear Energy 89, 120-131
- N. Samkhaniani, M.R. Ansari, “Numerical simulation of superheated vapor bubble rising in stagnant liquid “, Heat Mass Transfer (2017). doi:10.1007/s00231-017-2031-6
- N. Samkhaniani, M.R. Ansari, “The evaluation of the diffuse interface method for phase change simulations using OpenFOAM”, Heat Transfer–Asian Research. 2017;00:1–31. doi:10.1002/htj.21268