Difference between revisions of "Contrib/CompressibleMixingPhaseChangeFoam"

From OpenFOAMWiki
(Model Equations)
(Model Equations)
Line 17: Line 17:
  
 
By converting to volume fluxes we get:
 
By converting to volume fluxes we get:
 +
 
<math>
 
<math>
 
\frac {\partial \alpha_l}{\partial t} + \nabla \cdot
 
\frac {\partial \alpha_l}{\partial t} + \nabla \cdot
Line 22: Line 23:
 
  \alpha_l \mathbf{U}
 
  \alpha_l \mathbf{U}
 
\right )
 
\right )
= \frac {\alpha_l}{\rho_l} \frac {d \rho_l}{dt} + \frac {S_l}{\rho_l}
+
= \frac {\alpha_l}{\rho_l} \frac {d \rho_l}{dt} + \frac {\dot m_l}{\rho_l}
 
</math>
 
</math>
  

Revision as of 20:05, 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}


* Phase change model
* Momentum equation
* Energy equation

Solver sources and tutorials located here