motorBike tutorial: Added "value" entries to allow post-processing of 0

This commit is contained in:
Henry
2011-08-06 21:29:53 +01:00
parent 0c2b4c2586
commit a412bb43ce
4 changed files with 9 additions and 12 deletions

View File

@ -34,11 +34,13 @@ boundaryField
lowerWall lowerWall
{ {
type kqRWallFunction; type kqRWallFunction;
value $internalField;
} }
"motorBike_.*" "motorBike_.*"
{ {
type kqRWallFunction; type kqRWallFunction;
value $internalField;
} }
#include "include/frontBackUpperPatches" #include "include/frontBackUpperPatches"

View File

@ -34,11 +34,13 @@ boundaryField
lowerWall lowerWall
{ {
type omegaWallFunction; type omegaWallFunction;
value $internalField;
} }
"motorBike_.*" "motorBike_.*"
{ {
type omegaWallFunction; type omegaWallFunction;
value $internalField;
} }
#include "include/frontBackUpperPatches" #include "include/frontBackUpperPatches"

View File

@ -20,7 +20,7 @@ startFrom latestTime;
startTime 0; startTime 0;
stopAt nextWrite; stopAt endTime;
endTime 500; endTime 500;
@ -28,7 +28,7 @@ deltaT 1;
writeControl timeStep; writeControl timeStep;
writeInterval 1; writeInterval 100;
purgeWrite 0; purgeWrite 0;
@ -44,13 +44,6 @@ timePrecision 6;
runTimeModifiable true; runTimeModifiable true;
libs
(
"libOpenFOAM.so"
"libcompressibleTurbulenceModels.so"
"libcompressibleRASModels.so"
);
functions functions
{ {
#include "readFields" #include "readFields"

View File

@ -27,7 +27,7 @@ gradSchemes
divSchemes divSchemes
{ {
default none; default none;
div(phi,U) Gauss linearUpwind grad(U); div(phi,U) Gauss linearUpwindV grad(U);
div(phi,k) Gauss upwind; div(phi,k) Gauss upwind;
div(phi,omega) Gauss upwind; div(phi,omega) Gauss upwind;
div((nuEff*dev(T(grad(U))))) Gauss linear; div((nuEff*dev(T(grad(U))))) Gauss linear;