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
|
inlet
|
||||||
{
|
{
|
||||||
type atmBoundaryLayerInletEpsilon;
|
type atmBoundaryLayerInletEpsilon;
|
||||||
Ustar $Ustar;
|
Uref $Uref;
|
||||||
|
Href $Href;
|
||||||
z $zDirection;
|
z $zDirection;
|
||||||
z0 $z0;
|
z0 $z0;
|
||||||
value $internalField;
|
value $internalField;
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -28,9 +28,10 @@ disk1
|
|||||||
{
|
{
|
||||||
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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_.*"
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user