From a038c90f218f7429588b8489002df8c39c1dd0ae Mon Sep 17 00:00:00 2001 From: sergio Date: Thu, 21 Apr 2011 10:00:53 +0100 Subject: [PATCH] Tutorial Updates --- .../flamePropagationWithObstacles/0/Aw | 1 + .../PDRFoam/flamePropagationWithObstacles/0/B | 1 + .../flamePropagationWithObstacles/0/CR | 1 + .../flamePropagationWithObstacles/0/CT | 1 + .../flamePropagationWithObstacles/0/Lobs | 1 + .../flamePropagationWithObstacles/0/Nv | 1 + .../PDRFoam/flamePropagationWithObstacles/0/T | 1 + .../flamePropagationWithObstacles/0/Tu | 1 + .../flamePropagationWithObstacles/0/Xi | 1 + .../PDRFoam/flamePropagationWithObstacles/0/b | 1 + .../flamePropagationWithObstacles/0/betav | 1 + .../flamePropagationWithObstacles/README | 3 --- .../system/changeDictionaryDict | 19 +++++++++++++++---- .../system/fvSolution | 1 + .../pitzDaily/constant/combustionProperties | 4 ++-- .../XiFoam/les/pitzDaily/system/controlDict | 4 ++-- .../XiFoam/les/pitzDaily3D/system/fvSolution | 2 +- .../aachenBomb/constant/chemistryProperties | 2 +- .../aachenBomb/constant/combustionProperties | 2 +- .../aachenBomb/constant/polyMesh/boundary | 2 +- .../dieselFoam/aachenBomb/system/fvSolution | 1 + .../engineFoam/kivaTest/system/fvSolution | 4 ++-- .../les/smallPoolFire3D/system/controlDict | 2 +- .../ras/counterFlowFlame2D/system/controlDict | 4 ++-- .../ras/counterFlowFlame2D/system/fvSolution | 2 ++ .../hotRoom/system/fvSolution | 4 ++-- .../constant/polyMesh/boundary | 18 +++++++++--------- .../iglooWithFridges/system/fvSolution | 4 ++-- 28 files changed, 56 insertions(+), 33 deletions(-) diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Aw b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Aw index 6e623345fc..eaa7e3bf3a 100644 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Aw +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Aw @@ -8063,6 +8063,7 @@ boundaryField blockedFaces { type zeroGradient; + value uniform 0; } baffleWall { diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/B b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/B index 00b545c496..428d563a25 100644 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/B +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/B @@ -8063,6 +8063,7 @@ boundaryField blockedFaces { type zeroGradient; + value uniform ( 0 0 0 0 0 0 ); } baffleWall { diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/CR b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/CR index 37b3633fa3..284e7d9d17 100644 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/CR +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/CR @@ -8063,6 +8063,7 @@ boundaryField blockedFaces { type zeroGradient; + value uniform ( 0 0 0 0 0 0 ); } baffleWall { diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/CT b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/CT index 3349ea01c1..6a6a805392 100644 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/CT +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/CT @@ -8063,6 +8063,7 @@ boundaryField blockedFaces { type zeroGradient; + value uniform ( 0 0 0 0 0 0 ); } baffleWall { diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Lobs b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Lobs index 4ddf9c2b17..90660ce7c9 100644 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Lobs +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Lobs @@ -8063,6 +8063,7 @@ boundaryField blockedFaces { type zeroGradient; + value uniform 0; } baffleWall { diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Nv b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Nv index a75358670c..dd48b6238b 100644 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Nv +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Nv @@ -8063,6 +8063,7 @@ boundaryField blockedFaces { type zeroGradient; + value uniform 0; } baffleWall { diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/T b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/T index 71e583e06f..dd62e0b3ab 100644 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/T +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/T @@ -34,6 +34,7 @@ boundaryField blockedFaces { type zeroGradient; + value uniform 300; } baffleWall { diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Tu b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Tu index d1b66ff729..b81e353980 100644 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Tu +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Tu @@ -34,6 +34,7 @@ boundaryField blockedFaces { type zeroGradient; + value uniform 300; } baffleWall { diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Xi b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Xi index 0352e02d77..ed084b111c 100644 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Xi +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/Xi @@ -34,6 +34,7 @@ boundaryField blockedFaces { type zeroGradient; + value uniform 1; } baffleWall { diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/b b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/b index 4f9939d012..9a23448202 100644 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/b +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/b @@ -34,6 +34,7 @@ boundaryField blockedFaces { type zeroGradient; + value uniform 1; } baffleWall { diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/betav b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/betav index 61726ff235..a4c40e406f 100644 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/betav +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/0/betav @@ -8063,6 +8063,7 @@ boundaryField blockedFaces { type zeroGradient; + value uniform 0; } baffleWall { diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/README b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/README index 13d0f4a923..8e71fd3b1f 100644 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/README +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/README @@ -1,8 +1,5 @@ PDR test case -The folder 0.org contains the initial fields for the original -blockMesh. - Step to introduce the PDR fields: 1) Create zero-size patches for wall or/and coupled baffles in diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/changeDictionaryDict b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/changeDictionaryDict index f045525370..97d5a0abf5 100644 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/changeDictionaryDict +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/changeDictionaryDict @@ -36,7 +36,6 @@ dictionaryReplacement { type cyclic; } - } } @@ -109,8 +108,8 @@ dictionaryReplacement } baffleWall { - type compressible::kqRWallFunction; - value uniform 1.5; + type compressible::kqRWallFunction; + value uniform 1.5; } baffleCyclic_half0 { @@ -153,6 +152,7 @@ dictionaryReplacement blockedFaces { type zeroGradient; + value uniform 1; } baffleWall { @@ -177,6 +177,7 @@ dictionaryReplacement blockedFaces { type zeroGradient; + value uniform 300; } baffleWall { @@ -201,6 +202,7 @@ dictionaryReplacement blockedFaces { type zeroGradient; + value uniform 300; } baffleWall { @@ -225,6 +227,7 @@ dictionaryReplacement blockedFaces { type zeroGradient; + value uniform 1; } baffleWall { @@ -273,8 +276,9 @@ dictionaryReplacement blockedFaces { type zeroGradient; + value uniform 0.0; } - baffleWall + baffleWall { type zeroGradient; value uniform 0.0; @@ -296,6 +300,7 @@ dictionaryReplacement blockedFaces { type zeroGradient; + value uniform (0 0 0 0 0 0); } baffleWall { @@ -319,6 +324,7 @@ dictionaryReplacement blockedFaces { type zeroGradient; + value uniform 0; } baffleWall { @@ -342,6 +348,7 @@ dictionaryReplacement blockedFaces { type zeroGradient; + value uniform (0 0 0 0 0 0); } baffleWall { @@ -365,6 +372,7 @@ dictionaryReplacement blockedFaces { type zeroGradient; + value uniform (0 0 0 0 0 0); } baffleWall { @@ -388,6 +396,7 @@ dictionaryReplacement blockedFaces { type zeroGradient; + value uniform 0; } baffleWall { @@ -411,6 +420,7 @@ dictionaryReplacement blockedFaces { type zeroGradient; + value uniform (0 0 0 0 0 0); } baffleWall { @@ -434,6 +444,7 @@ dictionaryReplacement blockedFaces { type zeroGradient; + value uniform 0; } baffleWall { diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/fvSolution b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/fvSolution index b981b69820..fc52462ffd 100755 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/fvSolution +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/fvSolution @@ -67,6 +67,7 @@ solvers PIMPLE { nCorrectors 2; + nOuterCorrectors 1; nNonOrthogonalCorrectors 0; momentumPredictor true; } diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/constant/combustionProperties b/tutorials/combustion/XiFoam/les/pitzDaily/constant/combustionProperties index aabb890b5a..9445b6bedd 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily/constant/combustionProperties +++ b/tutorials/combustion/XiFoam/les/pitzDaily/constant/combustionProperties @@ -76,8 +76,8 @@ ignitionSites location (0.005 -0.02 0); diameter 0.003; start 0; - duration 0.05; - strength 20; + duration 0.1; + strength 100; } ); diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict b/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict index 689e8a8cc9..816fc5b7e0 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict +++ b/tutorials/combustion/XiFoam/les/pitzDaily/system/controlDict @@ -23,13 +23,13 @@ startTime 0; stopAt endTime; -endTime 0.5; +endTime 3.0;//0.5; deltaT 5e-06; writeControl adjustableRunTime; -writeInterval 0.01; +writeInterval 0.1; purgeWrite 0; diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSolution b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSolution index fb3f2564df..3e76ec8fa4 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSolution +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/system/fvSolution @@ -36,7 +36,7 @@ solvers { solver PBiCG; preconditioner DILU; - tolerance 1e-05; + tolerance 1e-06; relTol 0.1; } diff --git a/tutorials/combustion/dieselFoam/aachenBomb/constant/chemistryProperties b/tutorials/combustion/dieselFoam/aachenBomb/constant/chemistryProperties index 4c5b3b3dbd..49f4d3ee44 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/constant/chemistryProperties +++ b/tutorials/combustion/dieselFoam/aachenBomb/constant/chemistryProperties @@ -17,7 +17,7 @@ FoamFile psiChemistryModel ODEChemistryModel; -chemistry off; +chemistry on; chemistrySolver ode; diff --git a/tutorials/combustion/dieselFoam/aachenBomb/constant/combustionProperties b/tutorials/combustion/dieselFoam/aachenBomb/constant/combustionProperties index e3976eaaa5..8d6965f6b7 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/constant/combustionProperties +++ b/tutorials/combustion/dieselFoam/aachenBomb/constant/combustionProperties @@ -19,7 +19,7 @@ Cmix Cmix [ 0 0 0 0 0 0 0 ] 1; ignitionProperties1 { - ignite off; + ignite on; ignitionPoint ignitionPoint [ 0 1 0 0 0 0 0 ] ( 0.2 0 0.02 ); timing timing [ 0 0 1 0 0 0 0 ] 0; duration duration [ 0 0 1 0 0 0 0 ] 1; diff --git a/tutorials/combustion/dieselFoam/aachenBomb/constant/polyMesh/boundary b/tutorials/combustion/dieselFoam/aachenBomb/constant/polyMesh/boundary index 8983d3af9f..278bfcb94f 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/constant/polyMesh/boundary +++ b/tutorials/combustion/dieselFoam/aachenBomb/constant/polyMesh/boundary @@ -8,7 +8,7 @@ FoamFile { version 2.0; - format ascii; + format binary; class polyBoundaryMesh; location "constant/polyMesh"; object boundary; diff --git a/tutorials/combustion/dieselFoam/aachenBomb/system/fvSolution b/tutorials/combustion/dieselFoam/aachenBomb/system/fvSolution index e4df9498a8..51d80e52d0 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/system/fvSolution +++ b/tutorials/combustion/dieselFoam/aachenBomb/system/fvSolution @@ -70,6 +70,7 @@ solvers PIMPLE { + nOuterCorrectors 1; nCorrectors 2; nNonOrthogonalCorrectors 0; } diff --git a/tutorials/combustion/engineFoam/kivaTest/system/fvSolution b/tutorials/combustion/engineFoam/kivaTest/system/fvSolution index bf662ae7b7..004e00a839 100644 --- a/tutorials/combustion/engineFoam/kivaTest/system/fvSolution +++ b/tutorials/combustion/engineFoam/kivaTest/system/fvSolution @@ -47,14 +47,14 @@ solvers relTol 0; } - "(U|ft|h|k|epsilon)" + "(U|Xi|hu|ft|b|h|k|epsilon)" { solver PBiCG; preconditioner DILU; tolerance 1e-05; relTol 0.1; } - "(U|ft|h|k|epsilon)Final" + "(U|ft|Xi|hu|b|h|k|epsilon)Final" { $U; tolerance 1e-05; diff --git a/tutorials/combustion/fireFoam/les/smallPoolFire3D/system/controlDict b/tutorials/combustion/fireFoam/les/smallPoolFire3D/system/controlDict index 8118c6f745..96939c68fa 100644 --- a/tutorials/combustion/fireFoam/les/smallPoolFire3D/system/controlDict +++ b/tutorials/combustion/fireFoam/les/smallPoolFire3D/system/controlDict @@ -22,7 +22,7 @@ startTime 0.0; stopAt endTime; -endTime 6.0; +endTime 2.75; deltaT 0.001; diff --git a/tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/system/controlDict b/tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/system/controlDict index 2ba3dc6fc5..aa913fa58c 100644 --- a/tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/system/controlDict +++ b/tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/system/controlDict @@ -23,13 +23,13 @@ startTime 0; stopAt endTime; -endTime 1.0; +endTime 0.3; deltaT 1e-6; writeControl adjustableRunTime; -writeInterval 0.1; +writeInterval 0.05; purgeWrite 0; diff --git a/tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/system/fvSolution b/tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/system/fvSolution index f2c453ff5c..1e92e8b95f 100755 --- a/tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/system/fvSolution +++ b/tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/system/fvSolution @@ -71,6 +71,8 @@ solvers PIMPLE { + momentumPredictor no; + nOuterCorrectors 1; nCorrectors 2; nNonOrthogonalCorrectors 0; } diff --git a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/system/fvSolution b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/system/fvSolution index 023c282374..3521fbaaa3 100644 --- a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/system/fvSolution +++ b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/system/fvSolution @@ -44,7 +44,7 @@ SIMPLE { p_rgh 1e-2; U 1e-4; - T 1e-3; + T 1e-2; // possibly check turbulence fields "(k|epsilon|omega)" 1e-3; @@ -54,7 +54,7 @@ SIMPLE relaxationFactors { p_rgh 0.7; - U 0.2; + U 0.3; T 0.5; "(k|epsilon|R)" 0.7; } diff --git a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/constant/polyMesh/boundary b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/constant/polyMesh/boundary index 2876f3adad..458b5aec2d 100644 --- a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/constant/polyMesh/boundary +++ b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/constant/polyMesh/boundary @@ -21,55 +21,55 @@ FoamFile { type empty; nFaces 0; - startFace 60336; + startFace 61295; } minX { type empty; nFaces 0; - startFace 60336; + startFace 61295; } maxX { type empty; nFaces 0; - startFace 60336; + startFace 61295; } minY { type empty; nFaces 0; - startFace 60336; + startFace 61295; } ground { type wall; nFaces 590; - startFace 60336; + startFace 61295; } maxZ { type empty; nFaces 0; - startFace 60926; + startFace 61885; } igloo_region0 { type wall; nFaces 2260; - startFace 60926; + startFace 61885; } twoFridgeFreezers_seal_0 { type wall; nFaces 1344; - startFace 63186; + startFace 64145; } twoFridgeFreezers_herring_1 { type wall; nFaces 1116; - startFace 64530; + startFace 65489; } ) diff --git a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/fvSolution b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/fvSolution index ade18ff264..9235795a4a 100644 --- a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/fvSolution +++ b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/system/fvSolution @@ -29,14 +29,14 @@ solvers { solver PBiCG; preconditioner DILU; - tolerance 1e-05; + tolerance 1e-07; relTol 0.1; } } SIMPLE { - nNonOrthogonalCorrectors 0; + nNonOrthogonalCorrectors 2; pRefCell 0; pRefValue 0;