Difference between revisions of "Contrib/CompressibleMixingPhaseChangeFoam"

From OpenFOAMWiki
(Model Equations)
(Model Equations)
Line 2: Line 2:
  
 
== Model Equations ==
 
== Model Equations ==
=== Equation of state ===
+
* Equation of state
=== Liquid volume transport ===
+
* Liquid volume transport
 
Let us consider transport of liquid (heavy phase) volume fraction <math>\alpha_l</math>:
 
Let us consider transport of liquid (heavy phase) volume fraction <math>\alpha_l</math>:
 +
 
<math>
 
<math>
 
\frac{\partial \alpha_l \rho_l}{\partial t} + \nabla \cdot  
 
\frac{\partial \alpha_l \rho_l}{\partial t} + \nabla \cdot  
Line 15: Line 16:
  
  
<math>  
+
By converting to volume fluxes we get:
\frac{\partial{T}}{\partial t} + \nabla \cdot \left(\mathbf{U} T\right) - \nabla \cdot \left( (D_T + \nu_{turb}/Sc_{turb}) \nabla T \right) = 0
+
<math>
 +
\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 {S_l}{\rho_l}
 
</math>
 
</math>
  

Revision as of 20:04, 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 {S_l}{\rho_l}


* Phase change model
* Momentum equation
* Energy equation

Solver sources and tutorials located here