mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Changes to the turbine site tutorial
This commit is contained in:
@ -40,7 +40,8 @@ boundaryField
|
||||
inlet
|
||||
{
|
||||
type atmBoundaryLayerInletEpsilon;
|
||||
Ustar $Ustar;
|
||||
Uref $Uref;
|
||||
Href $Href;
|
||||
z $zDirection;
|
||||
z0 $z0;
|
||||
value $internalField;
|
||||
|
||||
@ -6,10 +6,9 @@
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
Ustar 0.82;
|
||||
Uref 10.0;
|
||||
Href 20;
|
||||
z0 0.1;
|
||||
z0 uniform 0.1;
|
||||
turbulentKE 1.3;
|
||||
windDirection (1 0 0);
|
||||
zDirection (0 0 1);
|
||||
|
||||
@ -36,9 +36,8 @@ boundaryField
|
||||
|
||||
"terrain_.*"
|
||||
{
|
||||
type nutkRoughWallFunction;
|
||||
Ks uniform 0.2; //Ks = 20 Z0
|
||||
Cs uniform 0.5;
|
||||
type nutkAtmRoughWallFunction;
|
||||
z0 $Z0;
|
||||
value uniform 0.0;
|
||||
}
|
||||
|
||||
|
||||
@ -15,43 +15,37 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
6
|
||||
5
|
||||
(
|
||||
outlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 922;
|
||||
startFace 364825;
|
||||
nFaces 600;
|
||||
startFace 51900;
|
||||
}
|
||||
sides
|
||||
{
|
||||
type patch;
|
||||
nFaces 1834;
|
||||
startFace 365747;
|
||||
nFaces 1200;
|
||||
startFace 52500;
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type patch;
|
||||
nFaces 923;
|
||||
startFace 367581;
|
||||
nFaces 600;
|
||||
startFace 53700;
|
||||
}
|
||||
ground
|
||||
{
|
||||
type wall;
|
||||
nFaces 0;
|
||||
startFace 368504;
|
||||
nFaces 900;
|
||||
startFace 54300;
|
||||
}
|
||||
top
|
||||
{
|
||||
type patch;
|
||||
nFaces 900;
|
||||
startFace 368504;
|
||||
}
|
||||
terrain_patch0
|
||||
{
|
||||
type wall;
|
||||
nFaces 16037;
|
||||
startFace 369404;
|
||||
startFace 55200;
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@ -27,10 +27,11 @@ disk1
|
||||
actuationDiskSourceCoeffs
|
||||
{
|
||||
fieldNames (U);
|
||||
diskDir (-1 0 0); // orientation of the disk
|
||||
Cp 0.53; // Cp
|
||||
Ct 0.58; // Ct
|
||||
diskArea 40; // disk area
|
||||
diskDir (-1 0 0); // orientation of the disk
|
||||
Cp 0.386; // Cp
|
||||
Ct 0.58; // Ct
|
||||
diskArea 40; // disk area
|
||||
upstreamPoint (581849 4785810 1065);
|
||||
}
|
||||
}
|
||||
|
||||
@ -50,6 +51,7 @@ disk2
|
||||
Cp 0.53;
|
||||
Ct 0.58;
|
||||
diskArea 40;
|
||||
upstreamPoint (581753 4785663 1070);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#include "$FOAM_CASE/0/include/initialConditions"
|
||||
#include "$FOAM_CASE/0/include/ABLConditions"
|
||||
|
||||
dictionaryReplacement
|
||||
{
|
||||
@ -99,12 +100,12 @@ dictionaryReplacement
|
||||
inlet
|
||||
{
|
||||
type atmBoundaryLayerInletVelocity;
|
||||
Uref 10.0;
|
||||
Href 20;
|
||||
n (1 0 0);
|
||||
z (0 0 1);
|
||||
z0 0.1;
|
||||
zGround 935.0;
|
||||
Uref $Uref;
|
||||
Href $Href;
|
||||
n $windDirection;
|
||||
z $zDirection;
|
||||
z0 $z0;
|
||||
zGround $zGround;
|
||||
value uniform $flowVelocity;
|
||||
}
|
||||
"terrain_.*"
|
||||
@ -141,9 +142,8 @@ dictionaryReplacement
|
||||
}
|
||||
"terrain_.*"
|
||||
{
|
||||
type nutkRoughWallFunction;
|
||||
Ks uniform 0.2; //Ks = 20 Z0
|
||||
Cs uniform 0.5;
|
||||
type nutkAtmRoughWallFunction;
|
||||
z0 $z0;
|
||||
value uniform 0.0;
|
||||
}
|
||||
ground
|
||||
@ -170,11 +170,12 @@ dictionaryReplacement
|
||||
inlet
|
||||
{
|
||||
type atmBoundaryLayerInletEpsilon;
|
||||
Ustar 0.82;
|
||||
z (0 0 1);
|
||||
z0 0.1;
|
||||
z $zDirection;
|
||||
z0 $z0;
|
||||
zGround $zGround;
|
||||
Uref $Uref;
|
||||
Href $Href;
|
||||
value uniform $turbulentEpsilon;
|
||||
zGround 935.0;
|
||||
}
|
||||
"terrain_.*"
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user