From 99fdf7833b5c82a81227da0386980debb2d3d2db Mon Sep 17 00:00:00 2001 From: Vanja Skuric Date: Fri, 6 May 2016 15:20:34 +0200 Subject: [PATCH] Fixed channelFoam, nonNewtonianIcoFoam, pisoFoam and shallowWaterFoam tutorials --- .../incompressible/channelFoam/channel395/Allclean | 2 +- .../channel395/constant/polyMesh/boundary | 62 ---------------------- .../channelFoam/channel395/system/fvSchemes | 8 +-- .../offsetCylinder/constant/polyMesh/boundary | 62 ---------------------- .../offsetCylinder/system/fvSchemes | 6 --- .../pisoFoam/les/pitzDaily/system/fvSchemes | 8 +-- .../les/pitzDailyDirectMapped/system/fvSchemes | 8 +-- .../pisoFoam/ras/cavity/system/fvSchemes | 8 +-- .../shallowWaterFoam/squareBump/system/fvSchemes | 5 -- .../shallowWaterFoam/squareBump/system/fvSolution | 2 +- 10 files changed, 6 insertions(+), 165 deletions(-) delete mode 100644 tutorials/incompressible/channelFoam/channel395/constant/polyMesh/boundary delete mode 100644 tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/constant/polyMesh/boundary diff --git a/tutorials/incompressible/channelFoam/channel395/Allclean b/tutorials/incompressible/channelFoam/channel395/Allclean index e80d74cac..57e70ec17 100755 --- a/tutorials/incompressible/channelFoam/channel395/Allclean +++ b/tutorials/incompressible/channelFoam/channel395/Allclean @@ -4,4 +4,4 @@ . $WM_PROJECT_DIR/bin/tools/CleanFunctions cleanCase - +rm -f constant/polyMesh/boundary diff --git a/tutorials/incompressible/channelFoam/channel395/constant/polyMesh/boundary b/tutorials/incompressible/channelFoam/channel395/constant/polyMesh/boundary deleted file mode 100644 index 182f53ca8..000000000 --- a/tutorials/incompressible/channelFoam/channel395/constant/polyMesh/boundary +++ /dev/null @@ -1,62 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | foam-extend: Open Source CFD | -| \\ / O peration | Version: 3.2 | -| \\ / A nd | Web: http://www.foam-extend.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class polyBoundaryMesh; - location "constant/polyMesh"; - object boundary; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -6 -( - bottomWall - { - type wall; - nFaces 1200; - startFace 175300; - } - topWall - { - type wall; - nFaces 1200; - startFace 176500; - } - sides1 - { - type cyclic; - nFaces 2000; - startFace 177700; - featureCos 0.9; - } - sides2 - { - type cyclic; - nFaces 2000; - startFace 179700; - featureCos 0.9; - } - inout1 - { - type cyclic; - nFaces 1500; - startFace 181700; - featureCos 0.9; - } - inout2 - { - type cyclic; - nFaces 1500; - startFace 183200; - featureCos 0.9; - } -) - -// ************************************************************************* // diff --git a/tutorials/incompressible/channelFoam/channel395/system/fvSchemes b/tutorials/incompressible/channelFoam/channel395/system/fvSchemes index b8b2e5c55..34170f234 100644 --- a/tutorials/incompressible/channelFoam/channel395/system/fvSchemes +++ b/tutorials/incompressible/channelFoam/channel395/system/fvSchemes @@ -34,7 +34,7 @@ divSchemes div(phi,B) Gauss limitedLinear 1; div(B) Gauss linear; div(phi,nuTilda) Gauss limitedLinear 1; - div((nuEff*dev(grad(U).T()))) Gauss linear; + div((nuEff*dev2(T(grad(U))))) Gauss linear; } laplacianSchemes @@ -58,10 +58,4 @@ snGradSchemes default corrected; } -fluxRequired -{ - default no; - p; -} - // ************************************************************************* // diff --git a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/constant/polyMesh/boundary b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/constant/polyMesh/boundary deleted file mode 100644 index d2a30ff4c..000000000 --- a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/constant/polyMesh/boundary +++ /dev/null @@ -1,62 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | foam-extend: Open Source CFD | -| \\ / O peration | Version: 3.2 | -| \\ / A nd | Web: http://www.foam-extend.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class polyBoundaryMesh; - object boundary; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -6 -( -left -{ - type patch; - nFaces 35; - startFace 3485; -} - -right -{ - type patch; - nFaces 35; - startFace 3520; -} - -down -{ - type wall; - nFaces 40; - startFace 3555; -} - -up -{ - type wall; - nFaces 40; - startFace 3595; -} - -cylinder -{ - type wall; - nFaces 80; - startFace 3635; -} - -defaultFaces -{ - type empty; - nFaces 3600; - startFace 3715; -} -) - -// ************************************************************************* // diff --git a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSchemes b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSchemes index 1a04dfafd..2ea83c26e 100644 --- a/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSchemes +++ b/tutorials/incompressible/nonNewtonianIcoFoam/offsetCylinder/system/fvSchemes @@ -49,10 +49,4 @@ snGradSchemes default corrected; } -fluxRequired -{ - default no; - p; -} - // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSchemes b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSchemes index add096294..eb24e4a27 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSchemes +++ b/tutorials/incompressible/pisoFoam/les/pitzDaily/system/fvSchemes @@ -35,7 +35,7 @@ divSchemes div(phi,B) Gauss limitedLinear 1; div(phi,nuTilda) Gauss limitedLinear 1; div(B) Gauss linear; - div((nuEff*dev(grad(U).T()))) Gauss linear; + div((nuEff*dev2(T(grad(U))))) Gauss linear; } laplacianSchemes @@ -59,10 +59,4 @@ snGradSchemes default corrected; } -fluxRequired -{ - default no; - p ; -} - // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSchemes b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSchemes index adde3acdc..c3aa8e8d7 100644 --- a/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSchemes +++ b/tutorials/incompressible/pisoFoam/les/pitzDailyDirectMapped/system/fvSchemes @@ -35,7 +35,7 @@ divSchemes div(phi,B) Gauss limitedLinear 1; div(phi,nuTilda) Gauss limitedLinear 1; div(B) Gauss linear; - div((nuEff*dev(grad(U).T()))) Gauss linear; + div((nuEff*dev2(T(grad(U))))) Gauss linear; } laplacianSchemes @@ -59,10 +59,4 @@ snGradSchemes default corrected; } -fluxRequired -{ - default no; - p ; -} - // ************************************************************************* // diff --git a/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSchemes b/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSchemes index 545f346e8..309088842 100644 --- a/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSchemes +++ b/tutorials/incompressible/pisoFoam/ras/cavity/system/fvSchemes @@ -36,7 +36,7 @@ divSchemes div(phi,R) Gauss upwind; div(R) Gauss linear; div(phi,nuTilda) Gauss upwind; - div((nuEff*dev(grad(U).T()))) Gauss linear; + div((nuEff*dev2(T(grad(U))))) Gauss linear; } laplacianSchemes @@ -61,10 +61,4 @@ snGradSchemes default corrected; } -fluxRequired -{ - default no; - p ; -} - // ************************************************************************* // diff --git a/tutorials/incompressible/shallowWaterFoam/squareBump/system/fvSchemes b/tutorials/incompressible/shallowWaterFoam/squareBump/system/fvSchemes index 0fb0b8143..209969ee1 100644 --- a/tutorials/incompressible/shallowWaterFoam/squareBump/system/fvSchemes +++ b/tutorials/incompressible/shallowWaterFoam/squareBump/system/fvSchemes @@ -45,9 +45,4 @@ snGradSchemes default uncorrected; } -fluxRequired -{ - h; -} - // ************************************************************************* // diff --git a/tutorials/incompressible/shallowWaterFoam/squareBump/system/fvSolution b/tutorials/incompressible/shallowWaterFoam/squareBump/system/fvSolution index 7017ebfa0..1c67963f1 100644 --- a/tutorials/incompressible/shallowWaterFoam/squareBump/system/fvSolution +++ b/tutorials/incompressible/shallowWaterFoam/squareBump/system/fvSolution @@ -41,7 +41,7 @@ solvers } } -PISO +PIMPLE { nOuterCorrectors 3; nCorrectors 1; -- 2.11.4.GIT