compressibleTwoPhaseEulerFoam: Complete support for sensible internal energy and update tutorials

This commit is contained in:
Henry
2013-02-12 15:12:21 +00:00
parent d8eb000d14
commit d17b0b583c
11 changed files with 49 additions and 21 deletions

View File

@ -31,12 +31,11 @@ mixture
specie
{
nMoles 1;
molWeight 18;
molWeight 28.9;
}
equationOfState
{
rho0 1027;
R 3000;
}
thermodynamics
{

View File

@ -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;
}

View File

@ -23,7 +23,7 @@ thermoType
thermo hConst;
equationOfState rhoConst;
specie specie;
energy sensibleEnthalpy;
energy sensibleInternalEnergy;
}
mixture

View File

@ -23,7 +23,7 @@ thermoType
thermo hConst;
equationOfState perfectGas;
specie specie;
energy sensibleEnthalpy;
energy sensibleInternalEnergy;
}
mixture

View File

@ -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;

View File

@ -47,7 +47,7 @@ solvers
relTol 0;
}
"h.*"
"(h|e).*"
{
solver PBiCG;
preconditioner DILU;

View File

@ -31,12 +31,11 @@ mixture
specie
{
nMoles 1;
molWeight 18;
molWeight 28.9;
}
equationOfState
{
rho0 1027;
R 3000;
}
thermodynamics
{

View File

@ -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;
}