ENH: Changes to the turbine site tutorial

This commit is contained in:
sergio
2012-02-02 15:32:35 +00:00
parent 5eca8bd935
commit 78c6ac6133
6 changed files with 35 additions and 39 deletions

View File

@ -40,7 +40,8 @@ boundaryField
inlet
{
type atmBoundaryLayerInletEpsilon;
Ustar $Ustar;
Uref $Uref;
Href $Href;
z $zDirection;
z0 $z0;
value $internalField;

View File

@ -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);

View File

@ -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;
}

View File

@ -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;
}
)

View File

@ -28,9 +28,10 @@ disk1
{
fieldNames (U);
diskDir (-1 0 0); // orientation of the disk
Cp 0.53; // Cp
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);
}
}

View File

@ -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_.*"
{