Commit 7f4af151 authored by Henry Weller's avatar Henry Weller
Browse files

tutorials/incompressible/simpleFoam/T3A: ERCOFTAC T3A 3% test-case for the kOmegaSSTLM model

References:
    Savill, A. M. (1993).
    Some recent progress in the turbulence modelling of by-pass transition.
    Near-wall turbulent flows, 829-848.

    Savill, A. M. (1996).
    One-point closures applied to transition.
    In Turbulence and transition modelling (pp. 233-268).
    Springer Netherlands.

Based on case contributed by Florian Schwertfirm, Kreuzinger und Manhart Turbulenz GmbH.
parent 4ad0f529
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object ReThetat;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 160.99;
boundaryField
{
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type zeroGradient;
}
plate
{
type zeroGradient;
}
above
{
type zeroGradient;
}
top
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (5.4 0 0);
boundaryField
{
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type zeroGradient;
}
plate
{
type noSlip;
}
above
{
type slip;
}
top
{
type slip;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object gammaInt;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 1;
boundaryField
{
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type zeroGradient;
}
plate
{
type zeroGradient;
}
above
{
type zeroGradient;
}
top
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0.047633;
boundaryField
{
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type zeroGradient;
}
plate
{
type fixedValue;
value uniform 0;
}
above
{
type zeroGradient;
}
top
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
inlet
{
type calculated;
value $internalField;
}
outlet
{
type calculated;
value $internalField;
}
plate
{
type fixedValue;
value uniform 0;
}
above
{
type calculated;
value $internalField;
}
top
{
type calculated;
value $internalField;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object omega;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 -1 0 0 0 0];
internalField uniform 264.63;
boundaryField
{
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type zeroGradient;
}
plate
{
type omegaWallFunction;
value $internalField;
}
above
{
type zeroGradient;
}
top
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type fixedValue;
value $internalField;
}
plate
{
type zeroGradient;
}
above
{
type zeroGradient;
}
top
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm -f validation/*.eps
#------------------------------------------------------------------------------
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Set application name
application=`getApplication`
runApplication blockMesh
runApplication $application
( cd validation && ./createGraphs )
#------------------------------------------------------------------------------
References:
ERCOFTAC T3A 3% test-case
Savill, A. M. (1993).
Some recent progress in the turbulence modelling of by-pass transition.
Near-wall turbulent flows, 829-848.
Savill, A. M. (1996).
One-point closures applied to transition.
In Turbulence and transition modelling (pp. 233-268).
Springer Netherlands.
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
transportModel Newtonian;
nu 1.5e-5;
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RAS;
RAS
{
RASModel kOmegaSSTLM;
turbulence on;
printCoeffs on;
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1;
vertices
(
(0 0 -0.05)
(0.02 0 -0.05)
(0 0.0146724657096209 -0.05)
(0.0260775342903791 0.0146724657096209 -0.05)
(0 0 0.05)
(0.02 0 0.05)
(0 0.0146724657096209 0.05)
(0.0260775342903791 0.0146724657096209 0.05)
(0.04 0 -0.05)
(0.04 0 0.05)
(0.0402196699141101 5.30330085889911e-04 -0.05)
(0.0402196699141101 5.30330085889911e-04 0.05)
(0.04075 0.00075 -0.05)
(0.04075 0.02075 -0.05)
(0.0 1 -0.05)
(0.0260775342903791 1 -0.05)
(0.04075 1 -0.05)
(0.04075 0.00075 0.05)
(0.04075 0.02075 0.05)
(0.0 1 0.05)
(0.0260775342903791 1 0.05)
(0.04075 1 0.05)
(0.08 0.00075 -0.05)
(0.08 0.02075 -0.05)
(0.08 1.0 -0.05)
(0.08 0.00075 0.05)
(0.08 0.02075 0.05)
(0.08 1.0 0.05)
(1.14 0.00075 -0.05)
(1.14 0.02075 -0.05)
(1.14 1.0 -0.05)
(1.14 0.00075 0.05)
(1.14 0.02075 0.05)
(1.14 1.0 0.05)
(3.04 0.00075 -0.05)
(3.04 0.02075 -0.05)
(3.04 1.0 -0.05)
(3.04 0.00075 0.05)
(3.04 0.02075 0.05)
(3.04 1.0 0.05)
);
blocks
(
hex (0 1 3 2 4 5 7 6) (7 20 1) simpleGrading (0.471868 1 1)
hex (1 8 10 3 5 9 11 7) (40 20 1) simpleGrading (0.022 1 1)
hex (3 10 12 13 7 11 17 18) (40 20 1) simpleGrading (0.022 1 1)
hex (2 3 15 14 6 7 20 19) (7 40 1) simpleGrading (0.471868 50.03857 1)
hex (3 13 16 15 7 18 21 20) (20 40 1) simpleGrading (1 50.03857 1)
hex (12 22 23 13 17 25 26 18) (80 40 1) simpleGrading (70.9389 45.455 1)
hex (13 23 24 16 18 26 27 21) (80 40 1) simpleGrading (70.9389 50.03857 1)
hex (22 28 29 23 25 31 32 26) (160 40 1) simpleGrading (7.2902 45.455 1)
hex (23 29 30 24 26 32 33 27) (160 40 1) simpleGrading (7.2902 50.03857 1)
hex (28 34 35 29 31 37 38 32) (60 40 1) simpleGrading (3.9909 45.455 1)
hex (29 35 36 30 32 38 39 33) (60 40 1) simpleGrading (3.9909 50.03857 1)
);
edges
(
arc 1 3 (0.0215794997003908 0.00794068122157562 -0.05)
arc 5 7 (0.0215794997003908 0.00794068122157562 0.05)
arc 8 10 (0.0400570903506165 2.87012574273817e-04 -0.05)
arc 9 11 (0.0400570903506165 2.87012574273817e-04 0.05)
arc 3 13 (0.0328093187784244 0.0191705002996092 -0.05)
arc 7 18 (0.0328093187784244 0.0191705002996092 0.05)
arc 10 12 (0.0404629874257262 6.92909649383465e-04 -0.05)
arc 11 17 (0.0404629874257262 6.92909649383465e-04 0.05)
);
boundary
(
above
{
type patch;
faces
(
(0 1 5 4)
(1 8 9 5)
);
}
top
{
type patch;
faces
(
(14 15 20 19)
(15 16 21 20)
(16 24 27 21)
(24 30 33 27)
(30 36 39 33)
);
}
inlet
{
type patch;
faces
(
(0 4 6 2)
(2 6 19 14)
);
}