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 inlet
{ {
type atmBoundaryLayerInletEpsilon; type atmBoundaryLayerInletEpsilon;
Ustar $Ustar; Uref $Uref;
Href $Href;
z $zDirection; z $zDirection;
z0 $z0; z0 $z0;
value $internalField; value $internalField;

View File

@ -6,10 +6,9 @@
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
Ustar 0.82;
Uref 10.0; Uref 10.0;
Href 20; Href 20;
z0 0.1; z0 uniform 0.1;
turbulentKE 1.3; turbulentKE 1.3;
windDirection (1 0 0); windDirection (1 0 0);
zDirection (0 0 1); zDirection (0 0 1);

View File

@ -36,9 +36,8 @@ boundaryField
"terrain_.*" "terrain_.*"
{ {
type nutkRoughWallFunction; type nutkAtmRoughWallFunction;
Ks uniform 0.2; //Ks = 20 Z0 z0 $Z0;
Cs uniform 0.5;
value uniform 0.0; value uniform 0.0;
} }

View File

@ -15,43 +15,37 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
6 5
( (
outlet outlet
{ {
type patch; type patch;
nFaces 922; nFaces 600;
startFace 364825; startFace 51900;
} }
sides sides
{ {
type patch; type patch;
nFaces 1834; nFaces 1200;
startFace 365747; startFace 52500;
} }
inlet inlet
{ {
type patch; type patch;
nFaces 923; nFaces 600;
startFace 367581; startFace 53700;
} }
ground ground
{ {
type wall; type wall;
nFaces 0; nFaces 900;
startFace 368504; startFace 54300;
} }
top top
{ {
type patch; type patch;
nFaces 900; nFaces 900;
startFace 368504; startFace 55200;
}
terrain_patch0
{
type wall;
nFaces 16037;
startFace 369404;
} }
) )

View File

@ -27,10 +27,11 @@ disk1
actuationDiskSourceCoeffs actuationDiskSourceCoeffs
{ {
fieldNames (U); fieldNames (U);
diskDir (-1 0 0); // orientation of the disk diskDir (-1 0 0); // orientation of the disk
Cp 0.53; // Cp Cp 0.386; // Cp
Ct 0.58; // Ct Ct 0.58; // Ct
diskArea 40; // disk area diskArea 40; // disk area
upstreamPoint (581849 4785810 1065);
} }
} }
@ -50,6 +51,7 @@ disk2
Cp 0.53; Cp 0.53;
Ct 0.58; Ct 0.58;
diskArea 40; diskArea 40;
upstreamPoint (581753 4785663 1070);
} }
} }

View File

@ -15,6 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "$FOAM_CASE/0/include/initialConditions" #include "$FOAM_CASE/0/include/initialConditions"
#include "$FOAM_CASE/0/include/ABLConditions"
dictionaryReplacement dictionaryReplacement
{ {
@ -99,12 +100,12 @@ dictionaryReplacement
inlet inlet
{ {
type atmBoundaryLayerInletVelocity; type atmBoundaryLayerInletVelocity;
Uref 10.0; Uref $Uref;
Href 20; Href $Href;
n (1 0 0); n $windDirection;
z (0 0 1); z $zDirection;
z0 0.1; z0 $z0;
zGround 935.0; zGround $zGround;
value uniform $flowVelocity; value uniform $flowVelocity;
} }
"terrain_.*" "terrain_.*"
@ -141,9 +142,8 @@ dictionaryReplacement
} }
"terrain_.*" "terrain_.*"
{ {
type nutkRoughWallFunction; type nutkAtmRoughWallFunction;
Ks uniform 0.2; //Ks = 20 Z0 z0 $z0;
Cs uniform 0.5;
value uniform 0.0; value uniform 0.0;
} }
ground ground
@ -170,11 +170,12 @@ dictionaryReplacement
inlet inlet
{ {
type atmBoundaryLayerInletEpsilon; type atmBoundaryLayerInletEpsilon;
Ustar 0.82; z $zDirection;
z (0 0 1); z0 $z0;
z0 0.1; zGround $zGround;
Uref $Uref;
Href $Href;
value uniform $turbulentEpsilon; value uniform $turbulentEpsilon;
zGround 935.0;
} }
"terrain_.*" "terrain_.*"
{ {