Difference between revisions of "Contrib/CompressibleMixingPhaseChangeFoam"
From OpenFOAMWiki
< Contrib
Mkraposhin (Talk | contribs) |
Mkraposhin (Talk | contribs) (→Model Equations) |
||
Line 73: | Line 73: | ||
* Momentum equation (velocity prediction) | * Momentum equation (velocity prediction) | ||
+ | <math> | ||
\frac {\partial \rho \textbf{U}}{\partial t} | \frac {\partial \rho \textbf{U}}{\partial t} | ||
+ | + | ||
+ | \nabla \cdot \rho \textbf{U} \textbf{U} = \nabla \cdot R^Eff - \nabla p + \rho textbf{g} | ||
+ | </math> | ||
* Phase change model | * Phase change model | ||
* Energy equation | * Energy equation | ||
[http://www.os-cfd.ru/compressibleMixingPhaseChangeFoam/Solver.tgz Solver sources and tutorials located here] | [http://www.os-cfd.ru/compressibleMixingPhaseChangeFoam/Solver.tgz Solver sources and tutorials located here] |
Revision as of 14:04, 30 December 2012
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)
* Phase change model * Energy equation