Difference between revisions of "Contrib/CompressibleMixingPhaseChangeFoam"

From OpenFOAMWiki
(Model Equations)
(Model Equations)
Line 24: Line 24:
 
\right )
 
\right )
 
= \frac {\alpha_l}{\rho_l} \frac {d \rho_l}{dt} + \frac {\dot m_l}{\rho_l}
 
= \frac {\alpha_l}{\rho_l} \frac {d \rho_l}{dt} + \frac {\dot m_l}{\rho_l}
 +
</math>
 +
 +
Using equation of state, we can reformulate substantial derivative for density in terms of pressure for any phase:
 +
 +
<math>
 +
\frac {d \rho}{dt}= \frac {d \hat \rho} {dt}
 
</math>
 
</math>
  

Revision as of 20:13, 28 December 2012

Solver for two fluids with phase change (for example - water <---> steam), pressure and temperature density dependence

Model Equations

  • Equation of state
  • Liquid volume transport

Let us consider transport of liquid (heavy phase) volume fraction \alpha_l:


\frac{\partial \alpha_l \rho_l}{\partial t} + \nabla \cdot 
\left (
  \alpha_l \rho_l \mathbf{U}
\right )
=
\dot m_l


By converting to volume fluxes we get:


\frac {\partial \alpha_l}{\partial t} + \nabla \cdot
\left (
 \alpha_l \mathbf{U}
\right )
= \frac {\alpha_l}{\rho_l} \frac {d \rho_l}{dt} + \frac {\dot m_l}{\rho_l}

Using equation of state, we can reformulate substantial derivative for density in terms of pressure for any phase:


\frac {d \rho}{dt}= \frac {d \hat \rho} {dt}


* Phase change model
* Momentum equation
* Energy equation

Solver sources and tutorials located here