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:
where computed with respect to previous formulations
mixture density calculated as
- 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:
- General rule for converting from mass to volume fluxes in transport equation
- Momentum equation (velocity prediction)
- Pressure equation obtained by summation of equation for volume phase fraction of liquid and gas phases:
- Phase change model
- Energy equation