mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: flowRateInletVelocity: different keywords for volumetric and mass
This commit is contained in:
@ -32,12 +32,14 @@ FoamFile
|
||||
front
|
||||
{
|
||||
type empty;
|
||||
inGroups 1(empty);
|
||||
nFaces 3072;
|
||||
startFace 6336;
|
||||
}
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
inGroups 1(empty);
|
||||
nFaces 3072;
|
||||
startFace 9408;
|
||||
}
|
||||
|
||||
@ -46,6 +46,7 @@ boundary
|
||||
(
|
||||
(3 7 6 2)
|
||||
);
|
||||
inGroups (groupWall);
|
||||
}
|
||||
fixedWalls
|
||||
{
|
||||
@ -56,6 +57,7 @@ boundary
|
||||
(2 6 5 1)
|
||||
(1 5 4 0)
|
||||
);
|
||||
inGroups (groupWall);
|
||||
}
|
||||
frontAndBack
|
||||
{
|
||||
|
||||
@ -39,7 +39,7 @@ divSchemes
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default Gauss linear corrected;
|
||||
default Gauss linear limited 0.33;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
@ -49,7 +49,7 @@ interpolationSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default corrected;
|
||||
default limited 0.33;
|
||||
}
|
||||
|
||||
fluxRequired
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 8;
|
||||
|
||||
method hierarchical;
|
||||
method hierarchical; //ptscotch;
|
||||
|
||||
simpleCoeffs
|
||||
{
|
||||
|
||||
@ -43,8 +43,7 @@ boundaryField
|
||||
inlet
|
||||
{
|
||||
type flowRateInletVelocity;
|
||||
flowRate constant 0.1;
|
||||
value uniform (0 0 0);
|
||||
volumetricFlowRate constant 0.1;
|
||||
}
|
||||
outlet
|
||||
{
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
application porousSimpleFoam;
|
||||
|
||||
startFrom startTime;
|
||||
startFrom latestTime; //startTime;
|
||||
|
||||
startTime 0;
|
||||
|
||||
|
||||
@ -58,7 +58,6 @@ functions
|
||||
type forces;
|
||||
functionObjectLibs ("libforces.so");
|
||||
outputControl outputTime;
|
||||
outputInterval 1;
|
||||
patches (floatingObject);
|
||||
pName p;
|
||||
UName U;
|
||||
@ -74,7 +73,7 @@ functions
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
enabled true;
|
||||
outputControl timeStep;
|
||||
timeInteval 1;
|
||||
outputInterval 1;
|
||||
log true;
|
||||
valueOutput false;
|
||||
source faceZone;
|
||||
|
||||
@ -14,6 +14,8 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
libs ("libincompressibleRASModels.so");
|
||||
|
||||
application simpleFoam;
|
||||
|
||||
startFrom latestTime;
|
||||
|
||||
Reference in New Issue
Block a user