ENH: flowRateInletVelocity: different keywords for volumetric and mass

This commit is contained in:
mattijs
2012-09-20 14:21:40 +01:00
parent dcca9323d1
commit dfa74d978c
43 changed files with 446 additions and 288 deletions

View File

@ -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;
}

View File

@ -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
{

View File

@ -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

View File

@ -17,7 +17,7 @@ FoamFile
numberOfSubdomains 8;
method hierarchical;
method hierarchical; //ptscotch;
simpleCoeffs
{

View File

@ -43,8 +43,7 @@ boundaryField
inlet
{
type flowRateInletVelocity;
flowRate constant 0.1;
value uniform (0 0 0);
volumetricFlowRate constant 0.1;
}
outlet
{

View File

@ -17,7 +17,7 @@ FoamFile
application porousSimpleFoam;
startFrom startTime;
startFrom latestTime; //startTime;
startTime 0;

View File

@ -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;

View File

@ -14,6 +14,8 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
libs ("libincompressibleRASModels.so");
application simpleFoam;
startFrom latestTime;