Commit 154761a3 authored by andy's avatar andy
Browse files

ENH: Updated tutorials

parent 717db625
......@@ -17,21 +17,30 @@ FoamFile
solvers
{
p
"(p|rho)"
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
relTol 0.1;
}
rho
"(p|rho)Final"
{
$p;
tolerance 1e-06;
relTol 0;
}
"(U|b|Su|Xi|h|hu|k)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
"(U|ft|fu|b|Xi|Su|h|hu|R|k|epsilon)"
"(U|b|Su|Xi|h|hu|k)Final"
{
solver PBiCG;
preconditioner DILU;
......@@ -40,12 +49,17 @@ solvers
}
}
PISO
PIMPLE
{
nOuterCorrectors 2;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
}
relaxationFactors
{
"(Xi|Su)" 1;
}
// ************************************************************************* //
......@@ -17,22 +17,30 @@ FoamFile
solvers
{
p
"(p|rho)"
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
relTol 0.1;
}
rho
"(p|rho)Final"
{
$p;
tolerance 1e-05;
tolerance 1e-06;
relTol 0;
}
"(U|ft|fu|b|Xi|Su|h|hu|R|k|epsilon)"
"(U|b|Su|Xi|h|hu|k)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
"(U|b|Su|Xi|h|hu|k)Final"
{
solver PBiCG;
preconditioner DILU;
......@@ -41,7 +49,7 @@ solvers
}
}
PISO
PIMPLE
{
nOuterCorrectors 2;
nCorrectors 1;
......@@ -53,4 +61,5 @@ relaxationFactors
"(Xi|Su)" 1;
}
// ************************************************************************* //
......@@ -17,22 +17,30 @@ FoamFile
solvers
{
p
"(p|rho)"
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
relTol 0.1;
}
rho
"(p|rho)Final"
{
$p;
tolerance 1e-05;
tolerance 1e-06;
relTol 0;
}
"(U|ft|fu|b|Xi|Su|h|hu|R|k|epsilon)"
"(U|b|Su|Xi|h|hu|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
"(U|b|Su|Xi|h|hu|k|epsilon)Final"
{
solver PBiCG;
preconditioner DILU;
......@@ -41,11 +49,11 @@ solvers
}
}
PISO
PIMPLE
{
nCorrectors 2;
nOuterCorrectors 2;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
momentumPredictor yes;
}
......
......@@ -17,30 +17,46 @@ FoamFile
solvers
{
p
"(p|rho)"
{
solver PCG;
preconditioner DIC;
tolerance 1e-09;
relTol 0;
relTol 0.1;
}
rho
"(p|rho)Final"
{
$p;
tolerance 1e-09;
relTol 0;
}
"(Yi|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
"(U|Yi|hs|k|epsilon)"
"(U|hs)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0.1;
}
"(U|hs)Final"
{
$U;
tolerance 1e-06;
relTol 0;
}
}
PISO
PIMPLE
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
......
......@@ -22,17 +22,48 @@ solvers
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0.1;
}
rhoFinal
{
$rho;
tolerance 1e-06;
relTol 0;
}
p
{
solver PCG;
preconditioner DIC;
tolerance 1e-6;
relTol 0.1;
}
pFinal
{
$p;
tolerance 1e-6;
relTol 0.0;
}
"(U|Yi|hs|k|epsilon)"
"(U|hs)"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
"(U|hs)Final"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-06;
relTol 0;
}
"(Yi|k|epsilon)"
{
solver PBiCG;
preconditioner DILU;
......@@ -41,7 +72,7 @@ solvers
}
}
PISO
PIMPLE
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
......
......@@ -47,25 +47,5 @@ graphFormat raw;
runTimeModifiable true;
functions
{
residualControl1
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p 1e-2;
U 1e-4;
T 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
}
// ************************************************************************* //
......@@ -59,6 +59,16 @@ SIMPLE
nNonOrthogonalCorrectors 0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.5;
rhoMax rhoMax [ 1 -3 0 0 0 ] 1.5;
residualControl
{
p 1e-2;
U 1e-4;
T 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
relaxationFactors
......
......@@ -47,25 +47,5 @@ graphFormat raw;
runTimeModifiable true;
functions
{
residualControl1
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p 1e-3;
U 1e-4;
T 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
}
// ************************************************************************* //
......@@ -53,6 +53,16 @@ SIMPLE
nNonOrthogonalCorrectors 0;
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.5;
rhoMax rhoMAx [ 1 -3 0 0 0 ] 2.0;
residualControl
{
p 1e-3;
U 1e-4;
T 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
relaxationFactors
......
......@@ -45,25 +45,5 @@ timePrecision 6;
runTimeModifiable true;
functions
{
residualControl1
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p_rgh 1e-2;
U 1e-4;
T 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
}
// ************************************************************************* //
......@@ -39,6 +39,16 @@ SIMPLE
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
residualControl
{
p_rgh 1e-2;
U 1e-4;
T 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
relaxationFactors
......
......@@ -45,25 +45,5 @@ timePrecision 6;
runTimeModifiable true;
functions
{
residualControl1
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p_rgh 1e-2;
U 1e-4;
T 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
}
// ************************************************************************* //
......@@ -39,6 +39,16 @@ SIMPLE
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
residualControl
{
p_rgh 1e-2;
U 1e-4;
T 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
relaxationFactors
......
......@@ -44,25 +44,5 @@ timePrecision 6;
runTimeModifiable true;
functions
{
residualControl1
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p_rgh 1e-2;
U 1e-3;
h 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
}
// ************************************************************************* //
......@@ -46,6 +46,16 @@ SIMPLE
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
residualControl
{
p_rgh 1e-2;
U 1e-3;
h 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
relaxationFactors
......
......@@ -45,25 +45,5 @@ timePrecision 6;
runTimeModifiable true;
functions
{
residualControl1
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p_rgh 1e-2;
U 1e-3;
h 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
}
// ************************************************************************* //
......@@ -39,6 +39,16 @@ SIMPLE
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
residualControl
{
p_rgh 1e-2;
U 1e-3;
h 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
relaxationFactors
......
......@@ -45,26 +45,5 @@ timePrecision 6;
runTimeModifiable true;
functions
{
residualControl1
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p_rgh 1e-2;
U 1e-3;
h 1e-3;
G 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
}
// ************************************************************************* //
......@@ -46,6 +46,17 @@ SIMPLE
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;
residualControl
{
p_rgh 1e-2;
U 1e-3;
h 1e-3;
G 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
relaxationFactors
......
......@@ -45,26 +45,5 @@ timePrecision 6;
runTimeModifiable true;
functions
{
residualControl1
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p_rgh 1e-2;
U 1e-3;
h 1e-3;
G 1e-3;
// possibly check turbulence fields
"(k|epsilon|omega)" 1e-3;
}
}
}
// ************************************************************************* //
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment