mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
motorBike tutorial: Added "value" entries to allow post-processing of 0
This commit is contained in:
@ -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"
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
@ -16,19 +16,19 @@ FoamFile
|
|||||||
|
|
||||||
application simpleFoam;
|
application simpleFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
|
|
||||||
stopAt nextWrite;
|
stopAt endTime;
|
||||||
|
|
||||||
endTime 500;
|
endTime 500;
|
||||||
|
|
||||||
deltaT 1;
|
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"
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user