interpolationTable: Correcting header documentation

fanPressureFvPatchScalarField.H:  Correcting header documentation
RAS/TJunctionFan/0.orig: Creating tutorial for fanPressure
Adding pRef and pValue for tutorial createZeroDirectory/snappyMultiRegionHeater
This commit is contained in:
sergio
2017-06-12 13:53:52 -07:00
parent b6b61a4cf4
commit 852616ba88
6 changed files with 22 additions and 8 deletions

View File

@ -42,7 +42,7 @@ Description
Read csv format: Read csv format:
\verbatim \verbatim
readerType csv; readerType csv;
fileName "$FOAM_CASE/constant/p0vsTime.csv"; file "$FOAM_CASE/constant/p0vsTime.csv";
hasHeaderLine true; // skip first line hasHeaderLine true; // skip first line
timeColumn 0; // time is in column 0 timeColumn 0; // time is in column 0
valueColumns (1); // value starts in column 1 valueColumns (1); // value starts in column 1

View File

@ -52,7 +52,7 @@ Description
Usage Usage
\table \table
Property | Description | Required | Default value Property | Description | Required | Default value
fileName | fan curve file name | yes | file | fan curve file name | yes |
outOfBounds | out of bounds handling | yes | outOfBounds | out of bounds handling | yes |
direction | direction of flow through fan [in/out] | yes | direction | direction of flow through fan [in/out] | yes |
p0 | environmental total pressure | yes | p0 | environmental total pressure | yes |

View File

@ -23,12 +23,17 @@ boundaryField
{ {
inlet inlet
{ {
type uniformTotalPressure; type fanPressure;
p0 table outOfBounds clamp;
( direction in;
(0 10) readerType openFoam;
(1 40) hasHeaderLine true;
); file "$FOAM_CASE/constant/FluxVsdP.dat";
//nonDimensional true;
//rpm 300;
//dm 2e-2;
outOfBounds clamp;
p0 uniform 30;
} }
outlet1 outlet1
{ {

View File

@ -0,0 +1,5 @@
(
(0 20)
(0.0023 10)
(0.003 5)
);

View File

@ -68,6 +68,8 @@ PIMPLE
momentumPredictor on; momentumPredictor on;
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 1e5;
} }
relaxationFactors relaxationFactors

View File

@ -68,6 +68,8 @@ PIMPLE
momentumPredictor on; momentumPredictor on;
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 1e5;
} }
relaxationFactors relaxationFactors