ENH: Tutorial updates

This commit is contained in:
andy
2011-05-12 12:17:39 +01:00
parent 2b4679d67b
commit a81bfbfa09
43 changed files with 148 additions and 119 deletions

View File

@ -58,7 +58,7 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
"(Xi|Su)" 1; "(Xi|Su)" 1;
} }

View File

@ -58,7 +58,7 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
"(Xi|Su)" 1; "(Xi|Su)" 1;
} }

View File

@ -72,8 +72,8 @@ relaxationFactors
{ {
"p.*" 0.3; "p.*" 0.3;
"rho.*" 1; "rho.*" 1;
"(U|h|k|epsilon|omega)" 0.7; "(U|h|k|epsilon|omega)" 0.7;
"(U|h|k|epsilon|omega)Final" 1; "(U|h|k|epsilon|omega)Final" 1;
} }

View File

@ -62,9 +62,9 @@ SIMPLE
residualControl residualControl
{ {
p 1e-2; p 1e-2;
U 1e-4; U 1e-4;
T 1e-3; T 1e-3;
// possibly check turbulence fields // possibly check turbulence fields
"(k|epsilon|omega)" 1e-3; "(k|epsilon|omega)" 1e-3;

View File

@ -56,9 +56,9 @@ SIMPLE
residualControl residualControl
{ {
p 1e-3; p 1e-3;
U 1e-4; U 1e-4;
T 1e-3; T 1e-3;
// possibly check turbulence fields // possibly check turbulence fields
"(k|epsilon|omega)" 1e-3; "(k|epsilon|omega)" 1e-3;

View File

@ -172,29 +172,29 @@ solvers
SIMPLE SIMPLE
{ {
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
rhoMin rhoMin [1 -3 0 0 0] 0.1; rhoMin rhoMin [1 -3 0 0 0] 0.1;
rhoMax rhoMax [1 -3 0 0 0] 1.0; rhoMax rhoMax [1 -3 0 0 0] 1.0;
transonic yes; transonic yes;
} }
relaxationFactors relaxationFactors
{ {
p 1; p 1;
rho 1; //0.1; rho 1; //0.1;
U 0.9; U 0.9;
h 0.95; h 0.95;
k 0.9; k 0.9;
epsilon 0.9; epsilon 0.9;
} }
relaxationFactors0 relaxationFactors0
{ {
p 0.3; p 0.3;
rho 0.1; rho 0.1;
U 0.7; U 0.7;
h 0.7; h 0.7;
k 0.7; k 0.7;
epsilon 0.7; epsilon 0.7;
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -42,9 +42,9 @@ SIMPLE
residualControl residualControl
{ {
p_rgh 1e-2; p_rgh 1e-2;
U 1e-4; U 1e-4;
T 1e-2; T 1e-2;
// possibly check turbulence fields // possibly check turbulence fields
"(k|epsilon|omega)" 1e-3; "(k|epsilon|omega)" 1e-3;

View File

@ -42,9 +42,9 @@ SIMPLE
residualControl residualControl
{ {
p_rgh 1e-2; p_rgh 1e-2;
U 1e-4; U 1e-4;
T 1e-3; T 1e-3;
// possibly check turbulence fields // possibly check turbulence fields
"(k|epsilon|omega)" 1e-3; "(k|epsilon|omega)" 1e-3;

View File

@ -49,9 +49,9 @@ SIMPLE
residualControl residualControl
{ {
p_rgh 1e-2; p_rgh 1e-2;
U 1e-3; U 1e-3;
h 1e-3; h 1e-3;
// possibly check turbulence fields // possibly check turbulence fields
"(k|epsilon|omega)" 1e-3; "(k|epsilon|omega)" 1e-3;

View File

@ -42,9 +42,9 @@ SIMPLE
residualControl residualControl
{ {
p_rgh 1e-2; p_rgh 1e-2;
U 1e-3; U 1e-3;
h 1e-3; h 1e-3;
// possibly check turbulence fields // possibly check turbulence fields
"(k|epsilon|omega)" 1e-3; "(k|epsilon|omega)" 1e-3;

View File

@ -49,10 +49,10 @@ SIMPLE
residualControl residualControl
{ {
p_rgh 1e-2; p_rgh 1e-2;
U 1e-3; U 1e-3;
h 1e-3; h 1e-3;
G 1e-3; G 1e-3;
// possibly check turbulence fields // possibly check turbulence fields
"(k|epsilon|omega)" 1e-3; "(k|epsilon|omega)" 1e-3;

View File

@ -46,10 +46,10 @@ SIMPLE
residualControl residualControl
{ {
p_rgh 1e-2; p_rgh 1e-2;
U 1e-3; U 1e-3;
h 1e-3; h 1e-3;
G 1e-3; G 1e-3;
// possibly check turbulence fields // possibly check turbulence fields
"(k|epsilon|omega)" 1e-3; "(k|epsilon|omega)" 1e-3;

View File

@ -70,8 +70,8 @@ solvers
PIMPLE PIMPLE
{ {
momentumPredictor on; momentumPredictor on;
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
} }

View File

@ -72,8 +72,8 @@ solvers
PIMPLE PIMPLE
{ {
momentumPredictor on; momentumPredictor on;
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
} }

View File

@ -51,23 +51,23 @@ SIMPLE
{ {
momentumPredictor on; momentumPredictor on;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
pRefCell 0; pRefCell 0;
pRefValue 100000; pRefValue 100000;
rhoMin rhoMin [1 -3 0 0 0] 0.2; rhoMin rhoMin [1 -3 0 0 0] 0.2;
rhoMax rhoMax [1 -3 0 0 0] 2; rhoMax rhoMax [1 -3 0 0 0] 2;
} }
relaxationFactors relaxationFactors
{ {
rho 1; rho 1;
p_rgh 0.7; p_rgh 0.7;
U 0.3; U 0.3;
h 0.7; h 0.7;
nuTilda 0.7; nuTilda 0.7;
k 0.7; k 0.7;
epsilon 0.7; epsilon 0.7;
omega 0.7; omega 0.7;
"ILambda.*" 0.7; "ILambda.*" 0.7;
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -32,7 +32,7 @@ SIMPLE
relaxationFactors relaxationFactors
{ {
T 0.7; T 0.7;
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -32,7 +32,7 @@ SIMPLE
relaxationFactors relaxationFactors
{ {
T 0.7; T 0.7;
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -32,7 +32,7 @@ SIMPLE
relaxationFactors relaxationFactors
{ {
T 0.7; T 0.7;
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -53,23 +53,23 @@ SIMPLE
{ {
momentumPredictor on; momentumPredictor on;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
pRefCell 0; pRefCell 0;
pRefValue 100000; pRefValue 100000;
rhoMin rhoMin [1 -3 0 0 0] 0.2; rhoMin rhoMin [1 -3 0 0 0] 0.2;
rhoMax rhoMax [1 -3 0 0 0] 2; rhoMax rhoMax [1 -3 0 0 0] 2;
} }
relaxationFactors relaxationFactors
{ {
rho 1; rho 1;
p_rgh 0.7; p_rgh 0.7;
U 0.3; U 0.3;
h 0.7; h 0.7;
nuTilda 0.7; nuTilda 0.7;
k 0.7; k 0.7;
epsilon 0.7; epsilon 0.7;
omega 0.7; omega 0.7;
"ILambda.*" 0.7; "ILambda.*" 0.7;
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -58,10 +58,10 @@ SIMPLE
{ {
momentumPredictor on; momentumPredictor on;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
pRefCell 0; pRefCell 0;
pRefValue 100000; pRefValue 100000;
rhoMin rhoMin [1 -3 0 0 0] 0.2; rhoMin rhoMin [1 -3 0 0 0] 0.2;
rhoMax rhoMax [1 -3 0 0 0] 2; rhoMax rhoMax [1 -3 0 0 0] 2;
} }
relaxationFactors relaxationFactors

View File

@ -32,7 +32,7 @@ SIMPLE
relaxationFactors relaxationFactors
{ {
T 0.7; T 0.7;
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -32,7 +32,7 @@ SIMPLE
relaxationFactors relaxationFactors
{ {
T 0.7; T 0.7;
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -32,7 +32,7 @@ SIMPLE
relaxationFactors relaxationFactors
{ {
T 0.7; T 0.7;
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -60,10 +60,10 @@ SIMPLE
{ {
momentumPredictor on; momentumPredictor on;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
pRefCell 0; pRefCell 0;
pRefValue 100000; pRefValue 100000;
rhoMin rhoMin [1 -3 0 0 0] 0.2; rhoMin rhoMin [1 -3 0 0 0] 0.2;
rhoMax rhoMax [1 -3 0 0 0] 2; rhoMax rhoMax [1 -3 0 0 0] 2;
} }
relaxationFactors relaxationFactors

View File

@ -74,7 +74,7 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
"U.*" 1; "U.*" 1;
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -83,9 +83,8 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
p 0.3; p 0.3;
U 0.7; "(U|k|omega)" 0.7;
k 0.7; "(U|k|omega)Final" 1.0;
omega 0.7;
} }
cache cache

View File

@ -66,9 +66,8 @@ SIMPLE
relaxationFactors relaxationFactors
{ {
p 0.3; p 0.3;
U 0.7; "(U|k|omega)" 0.7;
k 0.7; "(U|k|omega)Final" 1.0;
omega 0.7;
} }
cache cache

View File

@ -55,6 +55,13 @@ SIMPLE
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
pRefCell 0; pRefCell 0;
pRefValue 0; pRefValue 0;
residualControl
{
p 1e-5;
U 1e-5;
nuTilda 1e-5;
}
} }
relaxationFactors relaxationFactors

View File

@ -72,8 +72,8 @@ SIMPLE
residualControl residualControl
{ {
p 1e-2; p 1e-2;
U 1e-3; U 1e-3;
"(k|epsilon|omega)" 1e-3; "(k|epsilon|omega)" 1e-3;
} }
} }

View File

@ -72,8 +72,8 @@ SIMPLE
residualControl residualControl
{ {
p 1e-2; p 1e-2;
U 1e-3; U 1e-3;
"(k|epsilon|omega)" 1e-3; "(k|epsilon|omega)" 1e-3;
} }
} }

View File

@ -60,16 +60,22 @@ solvers
SIMPLE SIMPLE
{ {
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
convergence 1e-3;
residualControl
{
p 1e-2;
U 1e-3;
"(k|epsilon)" 1e-3;
}
} }
relaxationFactors relaxationFactors
{ {
p 0.3; p 0.3;
U 0.7; U 0.7;
k 0.7; k 0.7;
epsilon 0.7; epsilon 0.7;
} }
cache cache

View File

@ -78,11 +78,11 @@ solvers
PIMPLE PIMPLE
{ {
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
momentumPredictor yes; momentumPredictor yes;
rhoMin rhoMin [1 -3 0 0 0] 0.1; rhoMin rhoMin [1 -3 0 0 0] 0.1;
rhoMax rhoMax [1 -3 0 0 0] 1.5; rhoMax rhoMax [1 -3 0 0 0] 1.5;
maxCo 0.5; maxCo 0.5;
rDeltaTSmoothingCoeff 0.1; rDeltaTSmoothingCoeff 0.1;

View File

@ -64,12 +64,12 @@ solvers
PIMPLE PIMPLE
{ {
nOuterCorrectors 1; nOuterCorrectors 1;
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
momentumPredictor yes; momentumPredictor yes;
rhoMin rhoMin [1 -3 0 0 0] 0.1; rhoMin rhoMin [1 -3 0 0 0] 0.1;
rhoMax rhoMax [1 -3 0 0 0] 1.5; rhoMax rhoMax [1 -3 0 0 0] 1.5;
maxCo 5; maxCo 5;
rDeltaTSmoothingCoeff 1; rDeltaTSmoothingCoeff 1;

View File

@ -95,4 +95,9 @@ PIMPLE
} }
relaxationFactors
{
".*Final" 1;
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -91,6 +91,7 @@ additional
relaxationFactors relaxationFactors
{ {
".*Final" 1;
} }

View File

@ -87,5 +87,9 @@ additional
pressureWorkTimeDerivative true; pressureWorkTimeDerivative true;
} }
relaxationFactors
{
".*Final" 1;
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -93,5 +93,9 @@ additional
pressureWorkTimeDerivative false; pressureWorkTimeDerivative false;
} }
relaxationFactors
{
".*Final" 1;
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -82,7 +82,7 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
".*Final" 1; ".*Final" 1;
} }

View File

@ -84,7 +84,7 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
".*Final" 1; ".*Final" 1;
} }

View File

@ -82,7 +82,7 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
".*Final" 1; ".*Final" 1;
} }

View File

@ -81,5 +81,9 @@ PIMPLE
momentumPredictor yes; momentumPredictor yes;
} }
relaxationFactors
{
".*Final" 1;
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -94,8 +94,8 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
p_rgh 0.3; p_rgh 0.3;
p_rghFinal 0.3; p_rghFinal 0.3;
} }

View File

@ -123,7 +123,7 @@ PIMPLE
relaxationFactors relaxationFactors
{ {
"(U|k|epsilon|omega|R|nuTilda)" 1; "(U|k|epsilon|omega|R|nuTilda)" 1;
} }