From b64b605e4dbe4f9804481b6bba4193c3de0738ee Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 5 Jan 2016 14:23:31 +0000 Subject: [PATCH] Tutorial update --- .../sonicFoam/ras/nacaAirfoil/0/alphat | 47 +++++++++++++++ .../sonicFoam/ras/nacaAirfoil/0/mut | 49 ++++++++++++++++ .../ras/prism/constant/polyMesh/boundary | 58 +++++++++++++++++++ 3 files changed, 154 insertions(+) create mode 100644 tutorials/compressible/sonicFoam/ras/nacaAirfoil/0/alphat create mode 100644 tutorials/compressible/sonicFoam/ras/nacaAirfoil/0/mut create mode 100644 tutorials/compressible/sonicFoam/ras/prism/constant/polyMesh/boundary diff --git a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/0/alphat b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/0/alphat new file mode 100644 index 000000000..ba05bd76f --- /dev/null +++ b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/0/alphat @@ -0,0 +1,47 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0"; + object alphat; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + INLE1 + { + type calculated; + value uniform 0; + } + OUTL2 + { + type calculated; + value uniform 0; + } + SYMP3 + { + type empty; + } + WALL10 + { + type alphatWallFunction; + Prt 0.85; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/0/mut b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/0/mut new file mode 100644 index 000000000..c892578f3 --- /dev/null +++ b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/0/mut @@ -0,0 +1,49 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class volScalarField; + location "0"; + object mut; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +dimensions [1 -1 -1 0 0 0 0]; + +internalField uniform 0; + +boundaryField +{ + INLE1 + { + type calculated; + value uniform 0; + } + OUTL2 + { + type calculated; + value uniform 0; + } + SYMP3 + { + type empty; + } + WALL10 + { + type mutLowReWallFunction; + Cmu 0.09; + kappa 0.41; + E 9.8; + value uniform 0; + } +} + + +// ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/ras/prism/constant/polyMesh/boundary b/tutorials/compressible/sonicFoam/ras/prism/constant/polyMesh/boundary new file mode 100644 index 000000000..f612fade1 --- /dev/null +++ b/tutorials/compressible/sonicFoam/ras/prism/constant/polyMesh/boundary @@ -0,0 +1,58 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | foam-extend: Open Source CFD | +| \\ / O peration | Version: 3.2 | +| \\ / A nd | Web: http://www.foam-extend.org | +| \\/ M anipulation | For copyright notice see file Copyright | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class polyBoundaryMesh; + location "constant/polyMesh"; + object boundary; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +6 +( + inlet + { + type patch; + nFaces 48; + startFace 13081; + } + outlet + { + type patch; + nFaces 68; + startFace 13129; + } + bottomWall + { + type patch; + nFaces 107; + startFace 13197; + } + topWall + { + type patch; + nFaces 107; + startFace 13304; + } + prismWall + { + type wall; + nFaces 52; + startFace 13411; + } + defaultFaces + { + type empty; + nFaces 13272; + startFace 13463; + } +) + +// ************************************************************************* //