mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
compressibleTwoPhaseEulerFoam: Complete support for sensible internal energy and update tutorials
This commit is contained in:
@ -31,12 +31,11 @@ mixture
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 18;
|
||||
molWeight 28.9;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
rho0 1027;
|
||||
R 3000;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
|
||||
@ -38,7 +38,7 @@ divSchemes
|
||||
"div\(phid.*,p\)" Gauss upwind;
|
||||
|
||||
"div\(alphaPhi.*,h.*\)" Gauss limitedLinear 1;
|
||||
"div\(phi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(alphaPhi.*,(k|epsilon)\)" Gauss limitedLinear 1;
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ thermoType
|
||||
thermo hConst;
|
||||
equationOfState rhoConst;
|
||||
specie specie;
|
||||
energy sensibleEnthalpy;
|
||||
energy sensibleInternalEnergy;
|
||||
}
|
||||
|
||||
mixture
|
||||
|
||||
@ -23,7 +23,7 @@ thermoType
|
||||
thermo hConst;
|
||||
equationOfState perfectGas;
|
||||
specie specie;
|
||||
energy sensibleEnthalpy;
|
||||
energy sensibleInternalEnergy;
|
||||
}
|
||||
|
||||
mixture
|
||||
|
||||
@ -37,8 +37,8 @@ divSchemes
|
||||
"div\(\(alpha.*Rc\)\)" Gauss linear;
|
||||
"div\(phid.,p\)" Gauss upwind;
|
||||
|
||||
"div\(alphaPhi.,h.\)" Gauss limitedLinear 1;
|
||||
"div\(phi.,K.\)" Gauss limitedLinear 1;
|
||||
"div\(alphaPhi.,(h|e).\)" Gauss limitedLinear 1;
|
||||
"div\(alphaPhi.,K.\)" Gauss limitedLinear 1;
|
||||
|
||||
div(alphaPhi2,k) Gauss limitedLinear 1;
|
||||
div(alphaPhi2,epsilon) Gauss limitedLinear 1;
|
||||
|
||||
@ -47,7 +47,7 @@ solvers
|
||||
relTol 0;
|
||||
}
|
||||
|
||||
"h.*"
|
||||
"(h|e).*"
|
||||
{
|
||||
solver PBiCG;
|
||||
preconditioner DILU;
|
||||
|
||||
@ -31,12 +31,11 @@ mixture
|
||||
specie
|
||||
{
|
||||
nMoles 1;
|
||||
molWeight 18;
|
||||
molWeight 28.9;
|
||||
}
|
||||
equationOfState
|
||||
{
|
||||
rho0 1027;
|
||||
R 3000;
|
||||
}
|
||||
thermodynamics
|
||||
{
|
||||
|
||||
@ -38,7 +38,7 @@ divSchemes
|
||||
"div\(phid.,p\)" Gauss linear;
|
||||
|
||||
"div\(alphaPhi.,h.\)" Gauss limitedLinear 1;
|
||||
"div\(phi.,K.\)" Gauss linear;
|
||||
"div\(alphaPhi.,K.\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(alphaPhi.,(k|epsilon)\)" Gauss limitedLinear 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user