Contrib/CompressibleMixingPhaseChangeFoam
From OpenFOAMWiki
Solver for two fluids with phase change (for example - water <---> steam), pressure and temperature density dependence
Model Equations
- Equation of state
Low-compressible fluid:
Ideal gas:
By combining this equations, we can get general relation:
\rho = \hat \rho + \frac{\partial \rho}{\partial p} \Delta p
- Liquid volume transport
Let us consider transport of liquid (heavy phase) volume fraction :
By converting to volume fluxes we get:
Using equation of state, we can reformulate substantial derivative for density in terms of pressure for any phase:
* Phase change model * Momentum equation * Energy equation