TUT: atmFlatTerrain: add an example for kL RANS model
BUG: atmFlatTerrain: fix input settings in the plot script
This commit is contained in:
parent
76dcc4f28f
commit
f05dc09692
@ -10,6 +10,7 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
setups="
|
setups="
|
||||||
kEpsilon
|
kEpsilon
|
||||||
kOmegaSST
|
kOmegaSST
|
||||||
|
kL
|
||||||
"
|
"
|
||||||
|
|
||||||
# flag to enable computations in parallel mode
|
# flag to enable computations in parallel mode
|
||||||
|
@ -7,8 +7,9 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
|
|
||||||
# operand setups
|
# operand setups
|
||||||
setups="
|
setups="
|
||||||
kEpsilon-neutral-stability
|
kEpsilon
|
||||||
kOmegaSST-neutral-stability
|
kOmegaSST
|
||||||
|
kL
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
../../common/0.orig/T
|
@ -0,0 +1 @@
|
|||||||
|
../../common/0.orig/U
|
@ -0,0 +1 @@
|
|||||||
|
../../common/0.orig/alphat
|
@ -0,0 +1 @@
|
|||||||
|
../../common/0.orig/k
|
@ -0,0 +1 @@
|
|||||||
|
../../common/0.orig/leafAreaDensity
|
@ -0,0 +1 @@
|
|||||||
|
../../common/0.orig/nut
|
@ -0,0 +1 @@
|
|||||||
|
../../common/0.orig/p_rgh
|
@ -0,0 +1 @@
|
|||||||
|
../../common/0.orig/plantCd
|
@ -0,0 +1,36 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: v2106 |
|
||||||
|
| \\ / A nd | Website: www.openfoam.com |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class volScalarField;
|
||||||
|
object qPlant;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
dimensions [0 2 -3 0 0 0 0];
|
||||||
|
|
||||||
|
internalField uniform 0;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
"(bottom|top)"
|
||||||
|
{
|
||||||
|
type fixedValue;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
"(inlet|outlet|left|right)"
|
||||||
|
{
|
||||||
|
type cyclic;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
@ -0,0 +1,57 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: v2106 |
|
||||||
|
| \\ / A nd | Website: www.openfoam.com |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
object fvOptions;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
pressureGradient
|
||||||
|
{
|
||||||
|
type vectorSemiImplicitSource;
|
||||||
|
volumeMode specific;
|
||||||
|
selectionMode all;
|
||||||
|
injectionRateSuSp
|
||||||
|
{
|
||||||
|
U ( ( 0 0.00197805 0 ) 0 );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
atmCoriolisUSource1
|
||||||
|
{
|
||||||
|
type atmCoriolisUSource;
|
||||||
|
atmCoriolisUSourceCoeffs
|
||||||
|
{
|
||||||
|
selectionMode all;
|
||||||
|
Omega ( 0 0 5.65156e-05 );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
atmPlantCanopyUSource1
|
||||||
|
{
|
||||||
|
type atmPlantCanopyUSource;
|
||||||
|
atmPlantCanopyUSourceCoeffs
|
||||||
|
{
|
||||||
|
selectionMode all;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
atmPlantCanopyTSource1
|
||||||
|
{
|
||||||
|
type atmPlantCanopyTSource;
|
||||||
|
atmPlantCanopyTSourceCoeffs
|
||||||
|
{
|
||||||
|
selectionMode all;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
@ -0,0 +1 @@
|
|||||||
|
../../common/constant/g
|
@ -0,0 +1 @@
|
|||||||
|
../../common/constant/transportProperties
|
@ -0,0 +1,36 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: v2106 |
|
||||||
|
| \\ / A nd | Website: www.openfoam.com |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
object turbulenceProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
simulationType RAS;
|
||||||
|
|
||||||
|
RAS
|
||||||
|
{
|
||||||
|
RASModel kL;
|
||||||
|
|
||||||
|
turbulence on;
|
||||||
|
|
||||||
|
printCoeffs on;
|
||||||
|
|
||||||
|
kLCoeffs
|
||||||
|
{
|
||||||
|
CbStable 0.25;
|
||||||
|
CbUnstable 0.35;
|
||||||
|
Lmax 41.0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
@ -0,0 +1 @@
|
|||||||
|
../common/system
|
@ -10,6 +10,7 @@ cd "${0%/*}" || exit # Run from this directory
|
|||||||
setups="
|
setups="
|
||||||
kEpsilon
|
kEpsilon
|
||||||
kOmegaSST
|
kOmegaSST
|
||||||
|
kL
|
||||||
"
|
"
|
||||||
|
|
||||||
# flag to enable computations in parallel mode
|
# flag to enable computations in parallel mode
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
../../common/0.orig/T
|
@ -0,0 +1 @@
|
|||||||
|
../../common/0.orig/U
|
@ -0,0 +1 @@
|
|||||||
|
../../common/0.orig/alphat
|
@ -0,0 +1 @@
|
|||||||
|
../../common/0.orig/k
|
@ -0,0 +1 @@
|
|||||||
|
../../common/0.orig/nut
|
@ -0,0 +1 @@
|
|||||||
|
../../common/0.orig/p_rgh
|
@ -0,0 +1 @@
|
|||||||
|
../../common/constant/boundaryData
|
@ -0,0 +1,39 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: v2106 |
|
||||||
|
| \\ / A nd | Website: www.openfoam.com |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
object fvOptions;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
pressureGradient
|
||||||
|
{
|
||||||
|
type vectorSemiImplicitSource;
|
||||||
|
selectionMode all;
|
||||||
|
volumeMode specific;
|
||||||
|
injectionRateSuSp
|
||||||
|
{
|
||||||
|
U ((0 1.978046e-03 0) 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
atmCoriolisUSource1
|
||||||
|
{
|
||||||
|
type atmCoriolisUSource;
|
||||||
|
atmCoriolisUSourceCoeffs
|
||||||
|
{
|
||||||
|
selectionMode all;
|
||||||
|
Omega (0 0 5.65156e-5);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
@ -0,0 +1 @@
|
|||||||
|
../../common/constant/g
|
@ -0,0 +1 @@
|
|||||||
|
../../common/constant/transportProperties
|
@ -0,0 +1,29 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: v2106 |
|
||||||
|
| \\ / A nd | Website: www.openfoam.com |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
object turbulenceProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
simulationType RAS;
|
||||||
|
|
||||||
|
RAS
|
||||||
|
{
|
||||||
|
RASModel kL;
|
||||||
|
|
||||||
|
turbulence on;
|
||||||
|
|
||||||
|
printCoeffs on;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
@ -0,0 +1 @@
|
|||||||
|
../common/system/
|
Loading…
Reference in New Issue
Block a user