Tutorial Updates

This commit is contained in:
sergio 2011-04-21 10:00:53 +01:00
parent a67f9d70e4
commit a038c90f21
28 changed files with 56 additions and 33 deletions

View File

@ -8063,6 +8063,7 @@ boundaryField
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 0;
} }
baffleWall baffleWall
{ {

View File

@ -8063,6 +8063,7 @@ boundaryField
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform ( 0 0 0 0 0 0 );
} }
baffleWall baffleWall
{ {

View File

@ -8063,6 +8063,7 @@ boundaryField
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform ( 0 0 0 0 0 0 );
} }
baffleWall baffleWall
{ {

View File

@ -8063,6 +8063,7 @@ boundaryField
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform ( 0 0 0 0 0 0 );
} }
baffleWall baffleWall
{ {

View File

@ -8063,6 +8063,7 @@ boundaryField
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 0;
} }
baffleWall baffleWall
{ {

View File

@ -8063,6 +8063,7 @@ boundaryField
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 0;
} }
baffleWall baffleWall
{ {

View File

@ -34,6 +34,7 @@ boundaryField
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 300;
} }
baffleWall baffleWall
{ {

View File

@ -34,6 +34,7 @@ boundaryField
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 300;
} }
baffleWall baffleWall
{ {

View File

@ -34,6 +34,7 @@ boundaryField
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 1;
} }
baffleWall baffleWall
{ {

View File

@ -34,6 +34,7 @@ boundaryField
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 1;
} }
baffleWall baffleWall
{ {

View File

@ -8063,6 +8063,7 @@ boundaryField
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 0;
} }
baffleWall baffleWall
{ {

View File

@ -1,8 +1,5 @@
PDR test case PDR test case
The folder 0.org contains the initial fields for the original
blockMesh.
Step to introduce the PDR fields: Step to introduce the PDR fields:
1) Create zero-size patches for wall or/and coupled baffles in 1) Create zero-size patches for wall or/and coupled baffles in

View File

@ -36,7 +36,6 @@ dictionaryReplacement
{ {
type cyclic; type cyclic;
} }
} }
} }
@ -109,8 +108,8 @@ dictionaryReplacement
} }
baffleWall baffleWall
{ {
type compressible::kqRWallFunction; type compressible::kqRWallFunction;
value uniform 1.5; value uniform 1.5;
} }
baffleCyclic_half0 baffleCyclic_half0
{ {
@ -153,6 +152,7 @@ dictionaryReplacement
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 1;
} }
baffleWall baffleWall
{ {
@ -177,6 +177,7 @@ dictionaryReplacement
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 300;
} }
baffleWall baffleWall
{ {
@ -201,6 +202,7 @@ dictionaryReplacement
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 300;
} }
baffleWall baffleWall
{ {
@ -225,6 +227,7 @@ dictionaryReplacement
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 1;
} }
baffleWall baffleWall
{ {
@ -273,8 +276,9 @@ dictionaryReplacement
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 0.0;
} }
baffleWall baffleWall
{ {
type zeroGradient; type zeroGradient;
value uniform 0.0; value uniform 0.0;
@ -296,6 +300,7 @@ dictionaryReplacement
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform (0 0 0 0 0 0);
} }
baffleWall baffleWall
{ {
@ -319,6 +324,7 @@ dictionaryReplacement
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 0;
} }
baffleWall baffleWall
{ {
@ -342,6 +348,7 @@ dictionaryReplacement
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform (0 0 0 0 0 0);
} }
baffleWall baffleWall
{ {
@ -365,6 +372,7 @@ dictionaryReplacement
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform (0 0 0 0 0 0);
} }
baffleWall baffleWall
{ {
@ -388,6 +396,7 @@ dictionaryReplacement
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 0;
} }
baffleWall baffleWall
{ {
@ -411,6 +420,7 @@ dictionaryReplacement
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform (0 0 0 0 0 0);
} }
baffleWall baffleWall
{ {
@ -434,6 +444,7 @@ dictionaryReplacement
blockedFaces blockedFaces
{ {
type zeroGradient; type zeroGradient;
value uniform 0;
} }
baffleWall baffleWall
{ {

View File

@ -67,6 +67,7 @@ solvers
PIMPLE PIMPLE
{ {
nCorrectors 2; nCorrectors 2;
nOuterCorrectors 1;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
momentumPredictor true; momentumPredictor true;
} }

View File

@ -76,8 +76,8 @@ ignitionSites
location (0.005 -0.02 0); location (0.005 -0.02 0);
diameter 0.003; diameter 0.003;
start 0; start 0;
duration 0.05; duration 0.1;
strength 20; strength 100;
} }
); );

View File

@ -23,13 +23,13 @@ startTime 0;
stopAt endTime; stopAt endTime;
endTime 0.5; endTime 3.0;//0.5;
deltaT 5e-06; deltaT 5e-06;
writeControl adjustableRunTime; writeControl adjustableRunTime;
writeInterval 0.01; writeInterval 0.1;
purgeWrite 0; purgeWrite 0;

View File

@ -36,7 +36,7 @@ solvers
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-05; tolerance 1e-06;
relTol 0.1; relTol 0.1;
} }

View File

@ -17,7 +17,7 @@ FoamFile
psiChemistryModel ODEChemistryModel<gasThermoPhysics>; psiChemistryModel ODEChemistryModel<gasThermoPhysics>;
chemistry off; chemistry on;
chemistrySolver ode; chemistrySolver ode;

View File

@ -19,7 +19,7 @@ Cmix Cmix [ 0 0 0 0 0 0 0 ] 1;
ignitionProperties1 ignitionProperties1
{ {
ignite off; ignite on;
ignitionPoint ignitionPoint [ 0 1 0 0 0 0 0 ] ( 0.2 0 0.02 ); ignitionPoint ignitionPoint [ 0 1 0 0 0 0 0 ] ( 0.2 0 0.02 );
timing timing [ 0 0 1 0 0 0 0 ] 0; timing timing [ 0 0 1 0 0 0 0 ] 0;
duration duration [ 0 0 1 0 0 0 0 ] 1; duration duration [ 0 0 1 0 0 0 0 ] 1;

View File

@ -8,7 +8,7 @@
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format binary;
class polyBoundaryMesh; class polyBoundaryMesh;
location "constant/polyMesh"; location "constant/polyMesh";
object boundary; object boundary;

View File

@ -70,6 +70,7 @@ solvers
PIMPLE PIMPLE
{ {
nOuterCorrectors 1;
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
} }

View File

@ -47,14 +47,14 @@ solvers
relTol 0; relTol 0;
} }
"(U|ft|h|k|epsilon)" "(U|Xi|hu|ft|b|h|k|epsilon)"
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-05; tolerance 1e-05;
relTol 0.1; relTol 0.1;
} }
"(U|ft|h|k|epsilon)Final" "(U|ft|Xi|hu|b|h|k|epsilon)Final"
{ {
$U; $U;
tolerance 1e-05; tolerance 1e-05;

View File

@ -22,7 +22,7 @@ startTime 0.0;
stopAt endTime; stopAt endTime;
endTime 6.0; endTime 2.75;
deltaT 0.001; deltaT 0.001;

View File

@ -23,13 +23,13 @@ startTime 0;
stopAt endTime; stopAt endTime;
endTime 1.0; endTime 0.3;
deltaT 1e-6; deltaT 1e-6;
writeControl adjustableRunTime; writeControl adjustableRunTime;
writeInterval 0.1; writeInterval 0.05;
purgeWrite 0; purgeWrite 0;

View File

@ -71,6 +71,8 @@ solvers
PIMPLE PIMPLE
{ {
momentumPredictor no;
nOuterCorrectors 1;
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
} }

View File

@ -44,7 +44,7 @@ SIMPLE
{ {
p_rgh 1e-2; p_rgh 1e-2;
U 1e-4; U 1e-4;
T 1e-3; T 1e-2;
// possibly check turbulence fields // possibly check turbulence fields
"(k|epsilon|omega)" 1e-3; "(k|epsilon|omega)" 1e-3;
@ -54,7 +54,7 @@ SIMPLE
relaxationFactors relaxationFactors
{ {
p_rgh 0.7; p_rgh 0.7;
U 0.2; U 0.3;
T 0.5; T 0.5;
"(k|epsilon|R)" 0.7; "(k|epsilon|R)" 0.7;
} }

View File

@ -21,55 +21,55 @@ FoamFile
{ {
type empty; type empty;
nFaces 0; nFaces 0;
startFace 60336; startFace 61295;
} }
minX minX
{ {
type empty; type empty;
nFaces 0; nFaces 0;
startFace 60336; startFace 61295;
} }
maxX maxX
{ {
type empty; type empty;
nFaces 0; nFaces 0;
startFace 60336; startFace 61295;
} }
minY minY
{ {
type empty; type empty;
nFaces 0; nFaces 0;
startFace 60336; startFace 61295;
} }
ground ground
{ {
type wall; type wall;
nFaces 590; nFaces 590;
startFace 60336; startFace 61295;
} }
maxZ maxZ
{ {
type empty; type empty;
nFaces 0; nFaces 0;
startFace 60926; startFace 61885;
} }
igloo_region0 igloo_region0
{ {
type wall; type wall;
nFaces 2260; nFaces 2260;
startFace 60926; startFace 61885;
} }
twoFridgeFreezers_seal_0 twoFridgeFreezers_seal_0
{ {
type wall; type wall;
nFaces 1344; nFaces 1344;
startFace 63186; startFace 64145;
} }
twoFridgeFreezers_herring_1 twoFridgeFreezers_herring_1
{ {
type wall; type wall;
nFaces 1116; nFaces 1116;
startFace 64530; startFace 65489;
} }
) )

View File

@ -29,14 +29,14 @@ solvers
{ {
solver PBiCG; solver PBiCG;
preconditioner DILU; preconditioner DILU;
tolerance 1e-05; tolerance 1e-07;
relTol 0.1; relTol 0.1;
} }
} }
SIMPLE SIMPLE
{ {
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 2;
pRefCell 0; pRefCell 0;
pRefValue 0; pRefValue 0;