DOC: header documentation updates/corrections

This commit is contained in:
Andrew Heather
2020-12-22 12:10:07 +00:00
parent 77aa2e6026
commit 7a34f29002
28 changed files with 73 additions and 72 deletions

View File

@ -36,7 +36,7 @@ Description
\verbatim \verbatim
a 1.0; a 1.0;
b 3; b 3;
c #calc "$a/$b"; c \#calc "$a/$b";
\endverbatim \endverbatim
Note the explicit trailing 0 ('1.0') to force a to be read (and written) Note the explicit trailing 0 ('1.0') to force a to be read (and written)
@ -44,7 +44,7 @@ Description
Note Note
Internally this is just a wrapper around codeStream functionality - the Internally this is just a wrapper around codeStream functionality - the
#calc string gets used to construct a dictionary for codeStream. \#calc string gets used to construct a dictionary for codeStream.
SourceFiles SourceFiles
calcEntry.C calcEntry.C

View File

@ -131,7 +131,7 @@ Description
onEnd | Trigger on end of simulation run onEnd | Trigger on end of simulation run
\endtable \endtable
The sub-dictionary name \c <userDefinedSubDictName> is chosen by the user, The sub-dictionary name \c \<userDefinedSubDictName\> is chosen by the user,
and is typically used as the name of the output directory for any data and is typically used as the name of the output directory for any data
written by the function object. written by the function object.

View File

@ -32,7 +32,7 @@ Description
Usage Usage
Example: Example:
\verbatim \verbatim
<patchName> \<patchName\>
{ {
type uniformFixedValue; type uniformFixedValue;
uniformValue uniformValue
@ -55,7 +55,7 @@ Usage
} }
\endverbatim \endverbatim
Very much like '#eval' but runtime Very much like '\#eval' but runtime
See also See also
Foam::exprFixedValueFvPatchField Foam::exprFixedValueFvPatchField

View File

@ -39,12 +39,12 @@ Description
The governing equation of the boundary condition: The governing equation of the boundary condition:
\f[ \f[
\u = \frac{\u^*}{\kappa} ln \left(\frac{z + z_0}{z_0}\right) u = \frac{u^*}{\kappa} ln \left(\frac{z + z_0}{z_0}\right)
\f] \f]
where where
\vartable \vartable
\u^* | Friction velocity u^* | Friction velocity
\kappa | von Kármán constant \kappa | von Kármán constant
z_0 | Surface roughness length [m] z_0 | Surface roughness length [m]
z | Ground-normal coordinate z | Ground-normal coordinate

View File

@ -40,12 +40,12 @@ Description
The governing equation of the boundary condition: The governing equation of the boundary condition:
\f[ \f[
\u = \frac{\u^*}{\kappa} ln \left(\frac{z + z_0}{z_0}\right) u = \frac{u^*}{\kappa} ln \left(\frac{z + z_0}{z_0}\right)
\f] \f]
where where
\vartable \vartable
\u^* | Friction velocity u^* | Friction velocity
\kappa | von Kármán constant \kappa | von Kármán constant
z_0 | Surface roughness length [m] z_0 | Surface roughness length [m]
z | Ground-normal coordinate z | Ground-normal coordinate

View File

@ -39,7 +39,7 @@ Description
shear in the production and dissipation of turbulent kinetic energy. shear in the production and dissipation of turbulent kinetic energy.
\f[ \f[
u^* = \sqrt{\max (\nu_t \sqrt{2 |\symm{\grad{\u}}|^2}, VSMALL)} u^* = \sqrt{\max (\nu_t \sqrt{2 |\symm{\grad{u}}|^2}, VSMALL)}
\f] \f]
\f[ \f[
@ -55,7 +55,7 @@ Description
\vartable \vartable
u^* | Friction velocity [m/s] u^* | Friction velocity [m/s]
\nu_t | Turbulent viscosity [m2/s] \nu_t | Turbulent viscosity [m2/s]
\u | Velocity [m/s] u | Velocity [m/s]
L_o | Obukhov length [m] L_o | Obukhov length [m]
B | Buoyancy production term [m2/s3] B | Buoyancy production term [m2/s3]
\alpha_t | Kinematic turbulent thermal conductivity [m2/s]/[kg/m/s] \alpha_t | Kinematic turbulent thermal conductivity [m2/s]/[kg/m/s]

View File

@ -38,7 +38,7 @@ Description
Operand | Type | Location Operand | Type | Location
input | - | - input | - | -
output file | - | - output file | - | -
output field | volScalarField | $FOAM_CASE/<time>/<outField> output field | volScalarField | $FOAM_CASE/\<time\>/\<outField\>
\endtable \endtable
Usage Usage

View File

@ -69,7 +69,7 @@ Usage
Property | Description | Type | Req'd | Dflt Property | Description | Type | Req'd | Dflt
type | Type name: DESModelRegions | word | yes | - type | Type name: DESModelRegions | word | yes | -
libs | Library name: fieldFunctionObjects | word | yes | - libs | Library name: fieldFunctionObjects | word | yes | -
result | Name of DES indicator field | word | no | <FO> result | Name of DES indicator field | word | no | \<FO\>
\endtable \endtable
The inherited entries are elaborated in: The inherited entries are elaborated in:

View File

@ -80,7 +80,7 @@ Usage
\endverbatim \endverbatim
Note Note
To execute \c LambVector function object on an input <field>, a numerical To execute \c LambVector function object on an input \<field\>, a numerical
scheme should be defined for \c div(LambVector) in scheme should be defined for \c div(LambVector) in
\c system/fvSchemes.divSchemes. \c system/fvSchemes.divSchemes.

View File

@ -36,9 +36,9 @@ Description
Operands: Operands:
\table \table
Operand | Type | Location Operand | Type | Location
input | volVectorField | $FOAM_CASE/<time>/<inpField> input | volVectorField | $FOAM_CASE/\<time\>/\<inpField\>
output file | - | - output file | - | -
output field | volScalarField | $FOAM_CASE/<time>/<outField> output field | volScalarField | $FOAM_CASE/\<time\>/\<outField\>
\endtable \endtable
Usage Usage

View File

@ -48,9 +48,9 @@ Description
Operands: Operands:
\table \table
Operand | Type | Location Operand | Type | Location
input | volVectorField | $FOAM_CASE/<time>/<inpField> input | volVectorField | $FOAM_CASE/\<time\>/\<inpField\>
output file | - | - output file | - | -
output field | volScalarField | $FOAM_CASE/<time>/<outField> output field | volScalarField | $FOAM_CASE/\<time\>/\<outField\>
\endtable \endtable
Usage Usage

View File

@ -51,7 +51,7 @@ Usage
libs (fieldFunctionObjects); libs (fieldFunctionObjects);
// Mandatory (inherited) entry (runtime modifiable) // Mandatory (inherited) entry (runtime modifiable)
field <field>; field \<field\>;
// Optional (inherited) entries // Optional (inherited) entries
... ...
@ -72,12 +72,12 @@ Usage
Minimal example by using the \c postProcess utility: Minimal example by using the \c postProcess utility:
\verbatim \verbatim
postProcess -func "div(<field>)" postProcess -func "div(\<field\>)"
\endverbatim \endverbatim
Note Note
To execute \c div function object on an input <field>, a numerical scheme To execute \c div function object on an input \<field\>, a numerical scheme
should be defined for \c div(<field>) in \c system/fvSchemes.divSchemes. should be defined for \c div(\<field\>) in \c system/fvSchemes.divSchemes.
See also See also
- Foam::functionObject - Foam::functionObject

View File

@ -35,9 +35,9 @@ Description
Operands: Operands:
\table \table
Operand | Type | Location Operand | Type | Location
input | vol<Type>Field | $FOAM_CASE/<time>/<inpField> input | vol\<Type\>Field | $FOAM_CASE/\<time\>/\<inpField\>
output file | - | - output file | - | -
output field | vol<Type>Field | $FOAM_CASE/<time>/<outField> output field | vol\<Type\>Field | $FOAM_CASE/\<time\>/\<outField\>
\endtable \endtable
where \c \<Type\>=Scalar/Vector/SphericalTensor/SymmTensor/Tensor. where \c \<Type\>=Scalar/Vector/SphericalTensor/SymmTensor/Tensor.

View File

@ -78,9 +78,9 @@ Description
Operands: Operands:
\table \table
Operand | Type | Location Operand | Type | Location
input | volScalarField | $FOAM_CASE/<time>/<inpField> input | volScalarField | $FOAM_CASE/\<time\>/\<inpField\>
output file | - | - output file | - | -
output field | volScalarField | $FOAM_CASE/<time>/<outField> output field | volScalarField | $FOAM_CASE/\<time\>/\<outField\>
\endtable \endtable
Usage Usage
@ -93,11 +93,11 @@ Usage
libs (fieldFunctionObjects); libs (fieldFunctionObjects);
// Mandatory entries (runtime modifiable) // Mandatory entries (runtime modifiable)
mode <option>; mode \<option\>;
// Optional entries (runtime modifiable) // Optional entries (runtime modifiable)
p <pName>; p \<pName\>;
U <UName>; U \<UName\>;
rho <rhoName>; rho <rhoName>;
rhoInf 1.0; // enabled if rho=rhoInf rhoInf 1.0; // enabled if rho=rhoInf
pRef 0.0; pRef 0.0;

View File

@ -37,18 +37,19 @@ Description
Usage Usage
Minimal example by using \c constant/fvOptions: Minimal example by using \c constant/fvOptions:
<Type>FixedValueConstraint1 \verbatim
\<Type\>FixedValueConstraint1
{ {
// Mandatory entries (unmodifiable) // Mandatory entries (unmodifiable)
type <Type>FixedValueConstraint; type \<Type\>FixedValueConstraint;
// Mandatory entries (runtime modifiable) // Mandatory entries (runtime modifiable)
fieldValues fieldValues
{ {
<fieldName1> <value1>; \<fieldName1\> \<value1\>;
<fieldName2> <value2>; \<fieldName2\> \<value2\>;
... ...
<fieldNameN> <valueN>; \<fieldNameN\> \<valueN\>;
} }
// Mandatory/Optional (inherited) entries // Mandatory/Optional (inherited) entries

View File

@ -42,12 +42,13 @@ Description
Usage Usage
Minimal example by using \c constant/fvOptions: Minimal example by using \c constant/fvOptions:
<Type>PhaseLimitStabilization1 \verbatim
\<Type\>PhaseLimitStabilization1
{ {
// Mandatory entries (unmodifiable) // Mandatory entries (unmodifiable)
type <Type>PhaseLimitStabilization; type \<Type\>PhaseLimitStabilization;
field <fieldName>; field \<fieldName\>;
rate <rateName>; rate \<rateName\>;
// Mandatory entries (runtime modifiable) // Mandatory entries (runtime modifiable)
residualAlpha 1.0; residualAlpha 1.0;

View File

@ -53,7 +53,7 @@ Usage
type rotorDiskSource; type rotorDiskSource;
// Mandatory entries (runtime modifiable) // Mandatory entries (runtime modifiable)
fields (<field1> <field2> ... <fieldN>); fields (\<field1\> \<field2\> ... \<fieldN\>);
rhoRef 1.0; rhoRef 1.0;
rpm 5.5; rpm 5.5;
nBlades 3; nBlades 3;

View File

@ -125,7 +125,6 @@ public:
// Constructors // Constructors
//- Construct from components (default format INLINE_BASE64) //- Construct from components (default format INLINE_BASE64)
// \param useNearCellValue to use cell instead of patch values
patchMeshWriter patchMeshWriter
( (
const polyMesh& mesh, const polyMesh& mesh,

View File

@ -52,27 +52,27 @@ Description
} }
\endverbatim \endverbatim
\heading Output file locations \section Output file locations
The \c rootdir normally corresponds to something like The \c rootdir normally corresponds to something like
\c postProcessing/\<name\> \c postProcessing/\<name\>
\subheading Geometry \subsection Geometry
\verbatim \verbatim
rootdir rootdir
`-- surfaceName0 `-- surfaceName0
`-- geometry `-- geometry
`-- surfaceName0_<time>.abq `-- surfaceName0_\<time\>.abq
\endverbatim \endverbatim
\subheading Fields \subsection Fields
\verbatim \verbatim
rootdir rootdir
`-- surfaceName0 `-- surfaceName0
`-- field0 `-- field0
| `-- surfaceName0_<time>.{inp} | `-- surfaceName0_\<time\>.{inp}
`-- field1 `-- field1
`-- surfaceName0_<time>.{inp} `-- surfaceName0_\<time\>.{inp}
\endverbatim \endverbatim
Note Note

View File

@ -54,12 +54,12 @@ Description
fieldScale | output field scaling (dictionary) | no | empty fieldScale | output field scaling (dictionary) | no | empty
\endtable \endtable
\heading Output file locations \section Output file locations
The \c rootdir normally corresponds to something like The \c rootdir normally corresponds to something like
\c postProcessing/\<name\> \c postProcessing/\<name\>
\subheading Geometry \subsection Geometry
\verbatim \verbatim
rootdir rootdir
`-- timeName `-- timeName
@ -69,7 +69,7 @@ Description
`-- "faces" `-- "faces"
\endverbatim \endverbatim
\subheading Fields \subsection Fields
\verbatim \verbatim
rootdir rootdir
`-- timeName `-- timeName

View File

@ -64,12 +64,12 @@ Description
} }
\endverbatim \endverbatim
\heading Output file locations \section Output file locations
The \c rootdir normally corresponds to something like The \c rootdir normally corresponds to something like
\c postProcessing/\<name\> \c postProcessing/\<name\>
\subheading Geometry \subsection Geometry
\verbatim \verbatim
rootdir rootdir
`-- <time> `-- <time>
@ -77,7 +77,7 @@ Description
`-- surfaceName1.{nas} `-- surfaceName1.{nas}
\endverbatim \endverbatim
\subheading Fields \subsection Fields
\verbatim \verbatim
rootdir rootdir
`-- <time> `-- <time>

View File

@ -31,12 +31,12 @@ Description
A surfaceWriter that writes the geometry via the MeshedSurfaceProxy, A surfaceWriter that writes the geometry via the MeshedSurfaceProxy,
but which does not support any fields. but which does not support any fields.
\heading Output file locations \section Output file locations
The \c rootdir normally corresponds to something like The \c rootdir normally corresponds to something like
\c postProcessing/\<name\> \c postProcessing/\<name\>
\subheading Geometry \subsection Geometry
\verbatim \verbatim
rootdir rootdir
`-- timeName `-- timeName

View File

@ -55,19 +55,19 @@ Description
} }
\endverbatim \endverbatim
\heading Output file locations \section Output file locations
The \c rootdir normally corresponds to something like The \c rootdir normally corresponds to something like
\c postProcessing/\<name\> \c postProcessing/\<name\>
\subheading Geometry \subsection Geometry
\verbatim \verbatim
rootdir rootdir
`-- timeName `-- timeName
`-- surfaceName.{raw} `-- surfaceName.{raw}
\endverbatim \endverbatim
\subheading Fields \subsection Fields
\verbatim \verbatim
rootdir rootdir
`-- timeName `-- timeName

View File

@ -51,19 +51,19 @@ Description
getuser FILENAME.usr vertex vector free getuser FILENAME.usr vertex vector free
\endverbatim \endverbatim
\heading Output file locations \section Output file locations
The \c rootdir normally corresponds to something like The \c rootdir normally corresponds to something like
\c postProcessing/\<name\> \c postProcessing/\<name\>
\subheading Geometry \subsection Geometry
\verbatim \verbatim
rootdir rootdir
`-- timeName `-- timeName
`-- surfaceName.{cel,vrt,inp} `-- surfaceName.{cel,vrt,inp}
\endverbatim \endverbatim
\subheading Fields \subsection Fields
\verbatim \verbatim
rootdir rootdir
`-- timeName `-- timeName

View File

@ -56,12 +56,12 @@ Description
} }
\endverbatim \endverbatim
\heading Output file locations \section Output file locations
The \c rootdir normally corresponds to something like The \c rootdir normally corresponds to something like
\c postProcessing/\<name\> \c postProcessing/\<name\>
\subheading Geometry and Fields \subsection Geometry and Fields
\verbatim \verbatim
rootdir rootdir
`-- timeName `-- timeName

View File

@ -37,19 +37,19 @@ Description
colourMap | The colour map for rendering | no | coolToWarm colourMap | The colour map for rendering | no | coolToWarm
\endtable \endtable
\heading Output file locations \section Output file locations
The \c rootdir normally corresponds to something like The \c rootdir normally corresponds to something like
\c postProcessing/\<name\> \c postProcessing/\<name\>
\subheading Geometry \subsection Geometry
\verbatim \verbatim
rootdir rootdir
`-- timeName `-- timeName
`-- surfaceName.x3d `-- surfaceName.x3d
\endverbatim \endverbatim
\subheading Fields \subsection Fields
\verbatim \verbatim
rootdir rootdir
`-- timeName `-- timeName

View File

@ -35,10 +35,10 @@ Description
the table. the table.
Usage Usage
\integratedNonUniformTable \table
Property | Description Property | Description
values | List of (temperature property) value pairs values | List of (temperature property) value pairs
\endintegratedNonUniformTable \endTable
Example for the density of water between 280 and 350K Example for the density of water between 280 and 350K
\verbatim \verbatim

View File

@ -36,10 +36,10 @@ Description
the table. the table.
Usage Usage
\nonUniformTable \table
Property | Description Property | Description
values | List of (temperature property) value pairs values | List of (temperature property) value pairs
\endnonUniformTable \endTable
Example for the density of water between 280 and 350K Example for the density of water between 280 and 350K
\verbatim \verbatim