Thermodynamics: Changed all eEqn to EEqn and reformulated to conserve E in sonic solvers

To support these changes the need for "Sp" corrections on div-terms has been
eliminated by introducing a "bounded" convection scheme which subtracts the Sp
term from the selected scheme.  The equivalent will be needed for the ddt term.

A warning message is generated for steady-state solvers in which the "bounded"
scheme is not selected for the convection terms.
This commit is contained in:
Henry
2012-09-19 12:49:07 +01:00
parent b1fb071823
commit dbe48b482c
62 changed files with 775 additions and 264 deletions

View File

@ -26,6 +26,7 @@ FoamFile
empty
{
type empty;
inGroups 1(empty);
nFaces 400;
startFace 101;
}

View File

@ -32,12 +32,14 @@ FoamFile
bottom
{
type symmetryPlane;
inGroups 1(symmetryPlane);
nFaces 25;
startFace 10415;
}
top
{
type symmetryPlane;
inGroups 1(symmetryPlane);
nFaces 125;
startFace 10440;
}
@ -50,6 +52,7 @@ FoamFile
defaultFaces
{
type empty;
inGroups 1(empty);
nFaces 10500;
startFace 10675;
}

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
p
"p.*"
{
solver PBiCG;
preconditioner DILU;
@ -25,14 +25,14 @@ solvers
relTol 0;
}
"(U|e)"
"(U|e).*"
{
$p;
tolerance 1e-05;
relTol 0;
}
rho
"rho.*"
{
solver PCG;
preconditioner DIC;
@ -41,9 +41,10 @@ solvers
}
}
PISO
PIMPLE
{
nCorrectors 2;
nOuterCorrectors 2;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
}

View File

@ -26,6 +26,7 @@ FoamFile
empty
{
type empty;
inGroups 1(empty);
nFaces 4000;
startFace 1001;
}

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
"(p|U|e)"
"(p|U|e).*"
{
solver PBiCG;
preconditioner DILU;
@ -25,7 +25,7 @@ solvers
relTol 0;
}
rho
"rho.*"
{
solver PCG;
preconditioner DIC;
@ -34,9 +34,10 @@ solvers
}
}
PISO
PIMPLE
{
nCorrectors 2;
nOuterCorrectors 2;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
}

View File

@ -32,6 +32,7 @@ FoamFile
SYMP3
{
type empty;
inGroups 1(empty);
nFaces 80000;
startFace 80170;
}

View File

@ -17,12 +17,12 @@ FoamFile
solvers
{
rho
"rho.*"
{
solver diagonal;
}
p
"p.*"
{
solver PBiCG;
preconditioner DILU;
@ -30,22 +30,23 @@ solvers
relTol 0;
}
"(U|e)"
"(U|e).*"
{
$p;
tolerance 1e-9;
}
"(k|epsilon)"
"(k|epsilon).*"
{
$p;
tolerance 1e-10;
}
}
PISO
PIMPLE
{
nCorrectors 2;
nOuterCorrectors 1;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
}

View File

@ -50,6 +50,7 @@ FoamFile
defaultFaces
{
type empty;
inGroups 1(empty);
nFaces 13272;
startFace 13463;
}

View File

@ -17,12 +17,12 @@ FoamFile
solvers
{
rho
"rho.*"
{
solver diagonal;
}
p
"p.*"
{
solver PBiCG;
preconditioner DILU;
@ -30,22 +30,23 @@ solvers
relTol 0;
}
"(U|e|R)"
"(U|e|R).*"
{
$p;
tolerance 1e-05;
}
"(k|epsilon)"
"(k|epsilon).*"
{
$p;
tolerance 1e-08;
}
}
PISO
PIMPLE
{
nCorrectors 2;
nOuterCorrectors 2;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
}

View File

@ -26,6 +26,7 @@ FoamFile
axis
{
type symmetryPlane;
inGroups 1(symmetryPlane);
nFaces 120;
startFace 7500;
}
@ -38,12 +39,14 @@ FoamFile
back
{
type empty;
inGroups 1(empty);
nFaces 3725;
startFace 7625;
}
front
{
type empty;
inGroups 1(empty);
nFaces 3725;
startFace 11350;
}

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
p
"p.*"
{
solver PBiCG;
preconditioner DILU;
@ -25,14 +25,14 @@ solvers
relTol 0;
}
U
"U.*"
{
$p;
tolerance 1e-05;
relTol 0;
}
rho
"rho.*"
{
solver PCG;
preconditioner DIC;
@ -41,9 +41,10 @@ solvers
}
}
PISO
PIMPLE
{
nCorrectors 2;
nOuterCorrectors 2;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
}