mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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
|
||||||
|
|||||||
@ -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 |
|
||||||
|
|||||||
@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@ -0,0 +1,5 @@
|
|||||||
|
(
|
||||||
|
(0 20)
|
||||||
|
(0.0023 10)
|
||||||
|
(0.003 5)
|
||||||
|
);
|
||||||
@ -68,6 +68,8 @@ PIMPLE
|
|||||||
momentumPredictor on;
|
momentumPredictor on;
|
||||||
nCorrectors 2;
|
nCorrectors 2;
|
||||||
nNonOrthogonalCorrectors 0;
|
nNonOrthogonalCorrectors 0;
|
||||||
|
pRefCell 0;
|
||||||
|
pRefValue 1e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
|
|||||||
@ -68,6 +68,8 @@ PIMPLE
|
|||||||
momentumPredictor on;
|
momentumPredictor on;
|
||||||
nCorrectors 2;
|
nCorrectors 2;
|
||||||
nNonOrthogonalCorrectors 0;
|
nNonOrthogonalCorrectors 0;
|
||||||
|
pRefCell 0;
|
||||||
|
pRefValue 1e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
|
|||||||
Reference in New Issue
Block a user