You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main unknowns are $\alpha, P, \vec{u}_g, \vec{u}_l$ and $T=T_g=T_l$.
The model uses stiffened gas laws $p_g(\rho_g,T)$ and $p_l(\rho_l,T)$ and linearised internal energy laws $e_g(T)$ and $e_l(T)$ fitted by either around 1 bar and 373K or around 155 bars and 618K (see pressureEstimate).
$\Phi(\vec x)$ the heat power received by the fluid (FiveEqsTwoFluid::setHeatPowerField),
$K_s(\vec x)$ the singular friction function, $\delta_s(\vec x)$ the Dirac delta function with support on the set $s$ (FiveEqsTwoFluid::setPressureLossField).
We close the this system with two stiffened gas lasw $p = (\gamma_k -1) \rho_k e_k -\gamma_k p_{0k}$ for each phase
and a linearised internal energy law $h_k(T)$
valid around the points $(P=1 bar, T=300K)$
or $(P=155 bars, T=618K)$ depending on the value of the enum pressureEstimate.
For the sake of simplicity, for the moment we consider constant viscosity and conductivity, and neglect the contribution of viscous forces in the energy equation. The constant parameters $\lambda_k, \nu_k,\vec g, K_k$
and the fields $\phi(\vec x), \Phi(\vec x), K_s(\vec x)$ can be set by the user.
The default value for $\phi$ is $\phi=1$.
The phase change is modeled using the formula
$$
\Gamma_g=\frac{\Phi}{\mathcal{L}}\textrm{ if } T^{sat}\leq T \textrm{ and } 0<\alpha_g<1
$$
$$
\Gamma_g= 0 \textrm{ otherwise }
$$
The parameters $\lambda_k, \nu_k,\vec g, K$
and $\Phi$ can be set by the user.
The class : FiveEqsTwoFluid implements the equal temperature two fluid model
\subpage Example5EqPage "Here are C and Python example scripts using the five equation two-fluid model "