From c6fe2f29fb979434f0a7c875c045a4ea0e47950f Mon Sep 17 00:00:00 2001 From: sergio Date: Tue, 5 Jan 2016 12:17:06 -0800 Subject: [PATCH] ENH: Changing BC for k and epsilon and scheme for Xi for oscillatingCylinder tutorial --- .../XiDyMFoam/oscillatingCylinder/0/epsilon | 4 ++- .../XiDyMFoam/oscillatingCylinder/0/k | 4 ++- .../constant/RASProperties | 25 ------------------- .../oscillatingCylinder/system/fvSchemes | 2 +- 4 files changed, 7 insertions(+), 28 deletions(-) delete mode 100644 tutorials/combustion/XiDyMFoam/oscillatingCylinder/constant/RASProperties diff --git a/tutorials/combustion/XiDyMFoam/oscillatingCylinder/0/epsilon b/tutorials/combustion/XiDyMFoam/oscillatingCylinder/0/epsilon index 00d8139225..fddd53fa7e 100644 --- a/tutorials/combustion/XiDyMFoam/oscillatingCylinder/0/epsilon +++ b/tutorials/combustion/XiDyMFoam/oscillatingCylinder/0/epsilon @@ -34,7 +34,9 @@ boundaryField } outlet { - type zeroGradient; + type inletOutlet; + inletValue uniform 100; + value uniform 100; } frontAndBack { diff --git a/tutorials/combustion/XiDyMFoam/oscillatingCylinder/0/k b/tutorials/combustion/XiDyMFoam/oscillatingCylinder/0/k index 838c8f5532..8f3b312bb3 100644 --- a/tutorials/combustion/XiDyMFoam/oscillatingCylinder/0/k +++ b/tutorials/combustion/XiDyMFoam/oscillatingCylinder/0/k @@ -34,7 +34,9 @@ boundaryField } outlet { - type zeroGradient; + type inletOutlet; + inletValue uniform 1; + value uniform 1; } frontAndBack { diff --git a/tutorials/combustion/XiDyMFoam/oscillatingCylinder/constant/RASProperties b/tutorials/combustion/XiDyMFoam/oscillatingCylinder/constant/RASProperties deleted file mode 100644 index d9eae64aeb..0000000000 --- a/tutorials/combustion/XiDyMFoam/oscillatingCylinder/constant/RASProperties +++ /dev/null @@ -1,25 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 2.2.1 | -| \\ / A nd | Web: www.OpenFOAM.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "constant"; - object RASProperties; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -RASModel kEpsilon; - -turbulence on; - -printCoeffs on; - - -// ************************************************************************* // diff --git a/tutorials/combustion/XiDyMFoam/oscillatingCylinder/system/fvSchemes b/tutorials/combustion/XiDyMFoam/oscillatingCylinder/system/fvSchemes index afd622acb1..1eddf3cbfa 100644 --- a/tutorials/combustion/XiDyMFoam/oscillatingCylinder/system/fvSchemes +++ b/tutorials/combustion/XiDyMFoam/oscillatingCylinder/system/fvSchemes @@ -35,7 +35,7 @@ divSchemes div(phi,epsilon) Gauss limitedLinear 1; div(phi,R) Gauss limitedLinear 1; div(R) Gauss linear; - div(phiXi,Xi) Gauss limitedLinear 1; + div(phiXi,Xi) Gauss upwind; div(phiXi,Su) Gauss limitedLinear 1; div(phiSt,b) Gauss limitedLinear01 1; div(phi,ft_b_ha_hau) Gauss multivariateSelection