From 4fc6e230ccf81412e462154c2cb7e200d5275801 Mon Sep 17 00:00:00 2001 From: Henry <Henry> Date: Wed, 6 Apr 2011 15:03:05 +0100 Subject: [PATCH] snappyHexMesh flange tutorial: contracted the initial blockMesh to the bounding-box Updated headers --- .../flange/constant/polyMesh/blockMeshDict | 22 ++++++------ .../flange/constant/transportProperties | 21 ------------ .../snappyHexMesh/flange/system/controlDict | 4 +-- .../flange/system/decomposeParDict | 4 +-- .../snappyHexMesh/flange/system/fvSchemes | 34 ++----------------- .../snappyHexMesh/flange/system/fvSolution | 32 ++--------------- .../flange/system/snappyHexMeshDict | 4 +-- 7 files changed, 21 insertions(+), 100 deletions(-) delete mode 100644 tutorials/mesh/snappyHexMesh/flange/constant/transportProperties diff --git a/tutorials/mesh/snappyHexMesh/flange/constant/polyMesh/blockMeshDict b/tutorials/mesh/snappyHexMesh/flange/constant/polyMesh/blockMeshDict index 77599edcb69..b5f087977ba 100644 --- a/tutorials/mesh/snappyHexMesh/flange/constant/polyMesh/blockMeshDict +++ b/tutorials/mesh/snappyHexMesh/flange/constant/polyMesh/blockMeshDict @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -18,19 +18,19 @@ convertToMeters 1; vertices ( - ( -0.04 -0.043 -0.04) - ( 0.04 -0.043 -0.04) - ( 0.04 0.04 -0.04) - ( -0.04 0.04 -0.04) - ( -0.04 -0.043 0.01) - ( 0.04 -0.043 0.01) - ( 0.04 0.04 0.01) - ( -0.04 0.04 0.01) + ( -0.0260093 -0.0275 -0.02375) + ( 0.0260093 -0.0275 -0.02375) + ( 0.0260093 0.0225 -0.02375) + ( -0.0260093 0.0225 -0.02375) + ( -0.0260093 -0.0275 0.00225014) + ( 0.0260093 -0.0275 0.00225014) + ( 0.0260093 0.0225 0.00225014) + ( -0.0260093 0.0225 0.00225014) ); blocks ( - hex (0 1 2 3 4 5 6 7) (20 20 12) simpleGrading (1 1 1) + hex (0 1 2 3 4 5 6 7) (15 15 9) simpleGrading (1 1 1) ); edges diff --git a/tutorials/mesh/snappyHexMesh/flange/constant/transportProperties b/tutorials/mesh/snappyHexMesh/flange/constant/transportProperties deleted file mode 100644 index 730470d1b5c..00000000000 --- a/tutorials/mesh/snappyHexMesh/flange/constant/transportProperties +++ /dev/null @@ -1,21 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "constant"; - object transportProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -nu nu [ 0 2 -1 0 0 0 0 ] 0.01; - - -// ************************************************************************* // diff --git a/tutorials/mesh/snappyHexMesh/flange/system/controlDict b/tutorials/mesh/snappyHexMesh/flange/system/controlDict index f5087ef8def..24246e48a0c 100644 --- a/tutorials/mesh/snappyHexMesh/flange/system/controlDict +++ b/tutorials/mesh/snappyHexMesh/flange/system/controlDict @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile diff --git a/tutorials/mesh/snappyHexMesh/flange/system/decomposeParDict b/tutorials/mesh/snappyHexMesh/flange/system/decomposeParDict index f1e2719e4be..e27bbf849b7 100644 --- a/tutorials/mesh/snappyHexMesh/flange/system/decomposeParDict +++ b/tutorials/mesh/snappyHexMesh/flange/system/decomposeParDict @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile diff --git a/tutorials/mesh/snappyHexMesh/flange/system/fvSchemes b/tutorials/mesh/snappyHexMesh/flange/system/fvSchemes index 1307f70a2c0..24372ac1276 100644 --- a/tutorials/mesh/snappyHexMesh/flange/system/fvSchemes +++ b/tutorials/mesh/snappyHexMesh/flange/system/fvSchemes @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -15,46 +15,16 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -ddtSchemes -{ - default Euler; -} - gradSchemes { - default Gauss linear; - grad(p) Gauss linear; } divSchemes { - default none; - div(phi,U) Gauss linear; } laplacianSchemes { - default none; - laplacian(nu,U) Gauss linear corrected; - laplacian((1|A(U)),p) Gauss linear corrected; } -interpolationSchemes -{ - default linear; - interpolate(HbyA) linear; -} - -snGradSchemes -{ - default corrected; -} - -fluxRequired -{ - default no; - p ; -} - - // ************************************************************************* // diff --git a/tutorials/mesh/snappyHexMesh/flange/system/fvSolution b/tutorials/mesh/snappyHexMesh/flange/system/fvSolution index 9ad016de64c..058ab207310 100644 --- a/tutorials/mesh/snappyHexMesh/flange/system/fvSolution +++ b/tutorials/mesh/snappyHexMesh/flange/system/fvSolution @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.6 | -| \\ / A nd | Web: www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile @@ -15,32 +15,4 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -solvers -{ - p - { - solver PCG; - preconditioner DIC; - tolerance 1e-06; - relTol 0; - } - - U - { - solver PBiCG; - preconditioner DILU; - tolerance 1e-05; - relTol 0; - } -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 0; - pRefCell 0; - pRefValue 0; -} - - // ************************************************************************* // diff --git a/tutorials/mesh/snappyHexMesh/flange/system/snappyHexMeshDict b/tutorials/mesh/snappyHexMesh/flange/system/snappyHexMeshDict index eca8a60d0e7..c5fc9286f60 100644 --- a/tutorials/mesh/snappyHexMesh/flange/system/snappyHexMeshDict +++ b/tutorials/mesh/snappyHexMesh/flange/system/snappyHexMeshDict @@ -1,8 +1,8 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: http://www.OpenFOAM.org | +| \\ / O peration | Version: dev | +| \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile -- GitLab