From ff89303a7a3ff7dc422911cb0d18139df1d027f7 Mon Sep 17 00:00:00 2001 From: henry <Henry Weller h.weller@opencfd.co.uk> Date: Wed, 12 Aug 2009 23:00:15 +0100 Subject: [PATCH] Correct cases for the new version of settlingFoam. --- .../multiphase/settlingFoam/ras/dahl/0/U | 14 +++---- .../multiphase/settlingFoam/ras/dahl/0/alpha | 14 +++---- .../settlingFoam/ras/dahl/0/epsilon | 14 +++---- .../multiphase/settlingFoam/ras/dahl/0/k | 14 +++---- .../multiphase/settlingFoam/ras/dahl/0/p | 6 +-- .../settlingFoam/ras/dahl/constant/g | 2 +- .../ras/dahl/constant/polyMesh/blockMeshDict | 20 ++++----- .../ras/dahl/constant/polyMesh/boundary | 4 +- .../settlingFoam/ras/dahl/system/controlDict | 2 +- .../settlingFoam/ras/dahl/system/fvSolution | 36 +++++++++++++++- .../multiphase/settlingFoam/ras/tank3D/0/U | 42 +++++++++---------- .../settlingFoam/ras/tank3D/0/alpha | 42 +++++++++---------- .../settlingFoam/ras/tank3D/0/epsilon | 42 +++++++++---------- .../multiphase/settlingFoam/ras/tank3D/0/k | 42 +++++++++---------- .../multiphase/settlingFoam/ras/tank3D/0/p | 3 +- .../multiphase/settlingFoam/ras/tank3D/Allrun | 8 ---- .../ras/tank3D/constant/polyMesh/boundary | 2 +- .../settlingFoam/ras/tank3D/system/fvSolution | 36 +++++++++++++++- 18 files changed, 200 insertions(+), 143 deletions(-) delete mode 100755 tutorials/multiphase/settlingFoam/ras/tank3D/Allrun diff --git a/tutorials/multiphase/settlingFoam/ras/dahl/0/U b/tutorials/multiphase/settlingFoam/ras/dahl/0/U index 1559025ce3d..a0a0043af1b 100644 --- a/tutorials/multiphase/settlingFoam/ras/dahl/0/U +++ b/tutorials/multiphase/settlingFoam/ras/dahl/0/U @@ -20,35 +20,35 @@ internalField uniform (0.0191 0 0); boundaryField { - inlet + inlet { type fixedValue; value uniform (0.0191 0 0); } - outlet + outlet { type zeroGradient; } - bottomWall + bottomWall { type fixedValue; value uniform (0 0 0); } - endWall + endWall { type fixedValue; value uniform (0 0 0); } - top + top { - type symmetryPlane; + type slip; } - frontAndBack + frontAndBack { type empty; } diff --git a/tutorials/multiphase/settlingFoam/ras/dahl/0/alpha b/tutorials/multiphase/settlingFoam/ras/dahl/0/alpha index bf0cc9d2068..ca6b9f8f7a0 100644 --- a/tutorials/multiphase/settlingFoam/ras/dahl/0/alpha +++ b/tutorials/multiphase/settlingFoam/ras/dahl/0/alpha @@ -20,33 +20,33 @@ internalField uniform 0.001; boundaryField { - inlet + inlet { type fixedValue; value uniform 0.001; } - outlet + outlet { type zeroGradient; } - bottomWall + bottomWall { type zeroGradient; } - endWall + endWall { type zeroGradient; } - top + top { - type symmetryPlane; + type zeroGradient; } - frontAndBack + frontAndBack { type empty; } diff --git a/tutorials/multiphase/settlingFoam/ras/dahl/0/epsilon b/tutorials/multiphase/settlingFoam/ras/dahl/0/epsilon index 3e878bfecc4..27b4ba3c1fe 100644 --- a/tutorials/multiphase/settlingFoam/ras/dahl/0/epsilon +++ b/tutorials/multiphase/settlingFoam/ras/dahl/0/epsilon @@ -20,33 +20,33 @@ internalField uniform 1.50919e-06; boundaryField { - inlet + inlet { type fixedValue; value uniform 1.50919e-06; } - outlet + outlet { type zeroGradient; } - bottomWall + bottomWall { type zeroGradient; } - endWall + endWall { type zeroGradient; } - top + top { - type symmetryPlane; + type zeroGradient; } - frontAndBack + frontAndBack { type empty; } diff --git a/tutorials/multiphase/settlingFoam/ras/dahl/0/k b/tutorials/multiphase/settlingFoam/ras/dahl/0/k index 152c9e06dcd..6bd1a6b4164 100644 --- a/tutorials/multiphase/settlingFoam/ras/dahl/0/k +++ b/tutorials/multiphase/settlingFoam/ras/dahl/0/k @@ -20,33 +20,33 @@ internalField uniform 0.00015; boundaryField { - inlet + inlet { type fixedValue; value uniform 0.00015; } - outlet + outlet { type zeroGradient; } - bottomWall + bottomWall { type zeroGradient; } - endWall + endWall { type zeroGradient; } - top + top { - type symmetryPlane; + type zeroGradient; } - frontAndBack + frontAndBack { type empty; } diff --git a/tutorials/multiphase/settlingFoam/ras/dahl/0/p b/tutorials/multiphase/settlingFoam/ras/dahl/0/p index 21283df64a6..fa58407df2d 100644 --- a/tutorials/multiphase/settlingFoam/ras/dahl/0/p +++ b/tutorials/multiphase/settlingFoam/ras/dahl/0/p @@ -39,13 +39,13 @@ boundaryField endWall { - type buoyantPressure; - value uniform 0; + type zeroGradient; } top { - type symmetryPlane; + type buoyantPressure; + value uniform 0; } frontAndBack diff --git a/tutorials/multiphase/settlingFoam/ras/dahl/constant/g b/tutorials/multiphase/settlingFoam/ras/dahl/constant/g index 27d4d324881..8a9ae727726 100644 --- a/tutorials/multiphase/settlingFoam/ras/dahl/constant/g +++ b/tutorials/multiphase/settlingFoam/ras/dahl/constant/g @@ -16,7 +16,7 @@ FoamFile // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -2 0 0 0 0]; -value ( 0 -9.81 0 ); +value (0 -9.81 0); // ************************************************************************* // diff --git a/tutorials/multiphase/settlingFoam/ras/dahl/constant/polyMesh/blockMeshDict b/tutorials/multiphase/settlingFoam/ras/dahl/constant/polyMesh/blockMeshDict index aca4ffd37c3..28b3bb25fea 100644 --- a/tutorials/multiphase/settlingFoam/ras/dahl/constant/polyMesh/blockMeshDict +++ b/tutorials/multiphase/settlingFoam/ras/dahl/constant/polyMesh/blockMeshDict @@ -16,7 +16,7 @@ FoamFile convertToMeters 1; -vertices +vertices ( (0 0 -0.1) (8.65 0 -0.1) @@ -32,40 +32,40 @@ vertices (0 1 0.1) ); -blocks +blocks ( hex (0 1 2 3 6 7 8 9) (200 4 1) simpleGrading (1 1 1) hex (3 2 4 5 9 8 10 11) (200 36 1) simpleGrading (1 1 1) ); -edges +edges ( ); -patches +patches ( - patch inlet + patch inlet ( (0 6 9 3) (3 9 11 5) ) - patch outlet + patch outlet ( (1 2 8 7) ) - patch bottomWall + patch bottomWall ( (0 1 7 6) ) - wall endWall + wall endWall ( (2 4 10 8) ) - symmetryPlane top + patch top ( (5 11 10 4) ) - empty frontAndBack + empty frontAndBack ( (0 3 2 1) (6 7 8 9) diff --git a/tutorials/multiphase/settlingFoam/ras/dahl/constant/polyMesh/boundary b/tutorials/multiphase/settlingFoam/ras/dahl/constant/polyMesh/boundary index 15a60bdd6a7..03af5cc61a1 100644 --- a/tutorials/multiphase/settlingFoam/ras/dahl/constant/polyMesh/boundary +++ b/tutorials/multiphase/settlingFoam/ras/dahl/constant/polyMesh/boundary @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | +| \\ / O peration | Version: 1.6.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ @@ -43,7 +43,7 @@ FoamFile } top { - type symmetryPlane; + type patch; nFaces 200; startFace 16040; } diff --git a/tutorials/multiphase/settlingFoam/ras/dahl/system/controlDict b/tutorials/multiphase/settlingFoam/ras/dahl/system/controlDict index 02a73ebf91b..ef409e071a4 100644 --- a/tutorials/multiphase/settlingFoam/ras/dahl/system/controlDict +++ b/tutorials/multiphase/settlingFoam/ras/dahl/system/controlDict @@ -25,7 +25,7 @@ stopAt endTime; endTime 6400; -deltaT 0.2; +deltaT 0.1; writeControl runTime; diff --git a/tutorials/multiphase/settlingFoam/ras/dahl/system/fvSolution b/tutorials/multiphase/settlingFoam/ras/dahl/system/fvSolution index 631ac4e0c57..148cdcddc5c 100644 --- a/tutorials/multiphase/settlingFoam/ras/dahl/system/fvSolution +++ b/tutorials/multiphase/settlingFoam/ras/dahl/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - "(p|rho)" + p { solver PCG; preconditioner DIC; @@ -25,7 +25,39 @@ solvers relTol 0; } - "(U|k|epsilon|Alpha)" + U + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-07; + relTol 0; + } + + k + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-07; + relTol 0; + } + + epsilon + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-07; + relTol 0; + } + + rho + { + solver PCG; + preconditioner DIC; + tolerance 1e-07; + relTol 0; + } + + Alpha { solver PBiCG; preconditioner DILU; diff --git a/tutorials/multiphase/settlingFoam/ras/tank3D/0/U b/tutorials/multiphase/settlingFoam/ras/tank3D/0/U index 709c50ae807..34520705ad6 100644 --- a/tutorials/multiphase/settlingFoam/ras/tank3D/0/U +++ b/tutorials/multiphase/settlingFoam/ras/tank3D/0/U @@ -20,120 +20,120 @@ internalField uniform (0 0 0); boundaryField { - SYMP3 + SYMP3 { - type symmetryPlane; + type slip; } - INLE1 + INLE1 { type fixedValue; value uniform (0.1315 0 0); } - OUTL9 + OUTL9 { type fixedValue; value uniform (0 0.0177 0); } - OUTL10 + OUTL10 { type fixedValue; value uniform (0 0.0177 0); } - OUTL11 + OUTL11 { type fixedValue; value uniform (0 0.0177 0); } - OUTL12 + OUTL12 { type fixedValue; value uniform (0 0.0177 0); } - WALL6 + WALL6 { type fixedValue; value uniform (-0.003 0 0); } - WALL8 + WALL8 { type fixedValue; value uniform (0 0 0); } - WALL61 + WALL61 { type fixedValue; value uniform (0 0 0); } - WALL62 + WALL62 { type fixedValue; value uniform (0 0 0); } - WALL63 + WALL63 { type fixedValue; value uniform (0 0 0); } - WALL64 + WALL64 { type fixedValue; value uniform (0 0 0); } - WALL65 + WALL65 { type fixedValue; value uniform (0 0 0); } - WALL66 + WALL66 { type fixedValue; value uniform (0 0 0); } - WALL67 + WALL67 { type fixedValue; value uniform (0 0 0); } - WALL68 + WALL68 { type fixedValue; value uniform (0 0 0); } - WALL69 + WALL69 { type fixedValue; value uniform (0 0 0); } - WALL7 + WALL7 { type fixedValue; value uniform (0 0 0); } - WALL70 + WALL70 { type fixedValue; value uniform (0 0 0); } - OUTL15 + OUTL15 { type zeroGradient; } diff --git a/tutorials/multiphase/settlingFoam/ras/tank3D/0/alpha b/tutorials/multiphase/settlingFoam/ras/tank3D/0/alpha index 1f11257066e..18e136580a9 100644 --- a/tutorials/multiphase/settlingFoam/ras/tank3D/0/alpha +++ b/tutorials/multiphase/settlingFoam/ras/tank3D/0/alpha @@ -20,103 +20,103 @@ internalField uniform 0; boundaryField { - SYMP3 + SYMP3 { - type symmetryPlane; + type zeroGradient; } - INLE1 + INLE1 { type fixedValue; value uniform 0.002; } - OUTL9 + OUTL9 { type zeroGradient; } - OUTL10 + OUTL10 { type zeroGradient; } - OUTL11 + OUTL11 { type zeroGradient; } - OUTL12 + OUTL12 { type zeroGradient; } - WALL6 + WALL6 { type zeroGradient; } - WALL8 + WALL8 { type zeroGradient; } - WALL61 + WALL61 { type zeroGradient; } - WALL62 + WALL62 { type zeroGradient; } - WALL63 + WALL63 { type zeroGradient; } - WALL64 + WALL64 { type zeroGradient; } - WALL65 + WALL65 { type zeroGradient; } - WALL66 + WALL66 { type zeroGradient; } - WALL67 + WALL67 { type zeroGradient; } - WALL68 + WALL68 { type zeroGradient; } - WALL69 + WALL69 { type zeroGradient; } - WALL7 + WALL7 { type zeroGradient; } - WALL70 + WALL70 { type zeroGradient; } - OUTL15 + OUTL15 { type zeroGradient; } diff --git a/tutorials/multiphase/settlingFoam/ras/tank3D/0/epsilon b/tutorials/multiphase/settlingFoam/ras/tank3D/0/epsilon index e1f67f23ebf..634512f9512 100644 --- a/tutorials/multiphase/settlingFoam/ras/tank3D/0/epsilon +++ b/tutorials/multiphase/settlingFoam/ras/tank3D/0/epsilon @@ -20,103 +20,103 @@ internalField uniform 1.973e-07; boundaryField { - SYMP3 + SYMP3 { - type symmetryPlane; + type zeroGradient; } - INLE1 + INLE1 { type fixedValue; value uniform 1.973e-07; } - OUTL9 + OUTL9 { type zeroGradient; } - OUTL10 + OUTL10 { type zeroGradient; } - OUTL11 + OUTL11 { type zeroGradient; } - OUTL12 + OUTL12 { type zeroGradient; } - WALL6 + WALL6 { type zeroGradient; } - WALL8 + WALL8 { type zeroGradient; } - WALL61 + WALL61 { type zeroGradient; } - WALL62 + WALL62 { type zeroGradient; } - WALL63 + WALL63 { type zeroGradient; } - WALL64 + WALL64 { type zeroGradient; } - WALL65 + WALL65 { type zeroGradient; } - WALL66 + WALL66 { type zeroGradient; } - WALL67 + WALL67 { type zeroGradient; } - WALL68 + WALL68 { type zeroGradient; } - WALL69 + WALL69 { type zeroGradient; } - WALL7 + WALL7 { type zeroGradient; } - WALL70 + WALL70 { type zeroGradient; } - OUTL15 + OUTL15 { type zeroGradient; } diff --git a/tutorials/multiphase/settlingFoam/ras/tank3D/0/k b/tutorials/multiphase/settlingFoam/ras/tank3D/0/k index b3899fb1d7b..5bc3ea2d511 100644 --- a/tutorials/multiphase/settlingFoam/ras/tank3D/0/k +++ b/tutorials/multiphase/settlingFoam/ras/tank3D/0/k @@ -20,103 +20,103 @@ internalField uniform 0.000259; boundaryField { - SYMP3 + SYMP3 { - type symmetryPlane; + type zeroGradient; } - INLE1 + INLE1 { type fixedValue; value uniform 0.000259; } - OUTL9 + OUTL9 { type zeroGradient; } - OUTL10 + OUTL10 { type zeroGradient; } - OUTL11 + OUTL11 { type zeroGradient; } - OUTL12 + OUTL12 { type zeroGradient; } - WALL6 + WALL6 { type zeroGradient; } - WALL8 + WALL8 { type zeroGradient; } - WALL61 + WALL61 { type zeroGradient; } - WALL62 + WALL62 { type zeroGradient; } - WALL63 + WALL63 { type zeroGradient; } - WALL64 + WALL64 { type zeroGradient; } - WALL65 + WALL65 { type zeroGradient; } - WALL66 + WALL66 { type zeroGradient; } - WALL67 + WALL67 { type zeroGradient; } - WALL68 + WALL68 { type zeroGradient; } - WALL69 + WALL69 { type zeroGradient; } - WALL7 + WALL7 { type zeroGradient; } - WALL70 + WALL70 { type zeroGradient; } - OUTL15 + OUTL15 { type zeroGradient; } diff --git a/tutorials/multiphase/settlingFoam/ras/tank3D/0/p b/tutorials/multiphase/settlingFoam/ras/tank3D/0/p index b73d22a8233..0a611640857 100644 --- a/tutorials/multiphase/settlingFoam/ras/tank3D/0/p +++ b/tutorials/multiphase/settlingFoam/ras/tank3D/0/p @@ -22,7 +22,8 @@ boundaryField { SYMP3 { - type symmetryPlane; + type buoyantPressure; + value uniform 0; } INLE1 diff --git a/tutorials/multiphase/settlingFoam/ras/tank3D/Allrun b/tutorials/multiphase/settlingFoam/ras/tank3D/Allrun deleted file mode 100755 index 231be442622..00000000000 --- a/tutorials/multiphase/settlingFoam/ras/tank3D/Allrun +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -# Source tutorial run functions -. $WM_PROJECT_DIR/bin/tools/RunFunctions - -application=`getApplication` - -#runApplication blockMesh -runApplication $application diff --git a/tutorials/multiphase/settlingFoam/ras/tank3D/constant/polyMesh/boundary b/tutorials/multiphase/settlingFoam/ras/tank3D/constant/polyMesh/boundary index 40f8d8e84b5..5d48248b2e6 100644 --- a/tutorials/multiphase/settlingFoam/ras/tank3D/constant/polyMesh/boundary +++ b/tutorials/multiphase/settlingFoam/ras/tank3D/constant/polyMesh/boundary @@ -17,7 +17,7 @@ FoamFile ( SYMP3 { - type symmetryPlane; + type patch; startFace 53708; nFaces 3191; } diff --git a/tutorials/multiphase/settlingFoam/ras/tank3D/system/fvSolution b/tutorials/multiphase/settlingFoam/ras/tank3D/system/fvSolution index 631ac4e0c57..148cdcddc5c 100644 --- a/tutorials/multiphase/settlingFoam/ras/tank3D/system/fvSolution +++ b/tutorials/multiphase/settlingFoam/ras/tank3D/system/fvSolution @@ -17,7 +17,7 @@ FoamFile solvers { - "(p|rho)" + p { solver PCG; preconditioner DIC; @@ -25,7 +25,39 @@ solvers relTol 0; } - "(U|k|epsilon|Alpha)" + U + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-07; + relTol 0; + } + + k + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-07; + relTol 0; + } + + epsilon + { + solver PBiCG; + preconditioner DILU; + tolerance 1e-07; + relTol 0; + } + + rho + { + solver PCG; + preconditioner DIC; + tolerance 1e-07; + relTol 0; + } + + Alpha { solver PBiCG; preconditioner DILU; -- GitLab