ENH: Updated header file documentation

This commit is contained in:
Andrew Heather 2017-03-21 09:40:35 +00:00
parent e9355df198
commit cbf793fca2
14 changed files with 21 additions and 18 deletions

View File

@ -32,10 +32,10 @@ Description
Reference: Reference:
\verbatim \verbatim
Tenneti, S., Garg, R., & Subramaniam, S. (2011). Tenneti, S., Garg, R., & Subramaniam, S. (2011).
Drag law for monodisperse gassolid systems using particle-resolved Drag law for monodisperse gas-solid systems using particle-resolved
direct numerical simulation of flow past fixed assemblies of spheres. direct numerical simulation of flow past fixed assemblies of spheres.
International Journal of Multiphase Flow, 37(9), 10721092. International Journal of Multiphase Flow, 37(9), 1072-1092.
\verbatim \endverbatim
SourceFiles SourceFiles
Tenneti.C Tenneti.C

View File

@ -55,10 +55,10 @@ Usage
the resulting dictionary to standard output. the resulting dictionary to standard output.
- \par -includes - \par -includes
List the \c #include and \c #includeIfPresent files to standard output List the \c \#include and \c \#includeIfPresent files to standard output
- \par -disableFunctionEntries - \par -disableFunctionEntries
Do not expand macros or directives (#include etc) Do not expand macros or directives (\#include etc)
Example usage: Example usage:
- Change simulation to run for one timestep only: - Change simulation to run for one timestep only:

View File

@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Namespace Namespace
ensightOutput Foam::ensightOutput
Description Description
A collection of global functions for writing ensight file content. A collection of global functions for writing ensight file content.

View File

@ -34,7 +34,7 @@ Description
Reference: Reference:
\verbatim \verbatim
Speziale, C. G., Sarkar, S., & Gatski, T. B. (1991). Speziale, C. G., Sarkar, S., & Gatski, T. B. (1991).
Modelling the pressurestrain correlation of turbulence: Modelling the pressure-strain correlation of turbulence:
an invariant dynamical systems approach. an invariant dynamical systems approach.
Journal of Fluid Mechanics, 227, 245-272. Journal of Fluid Mechanics, 227, 245-272.
\endverbatim \endverbatim

View File

@ -95,8 +95,7 @@ public:
return ccmIndex != rhs.ccmIndex; return ccmIndex != rhs.ccmIndex;
} }
// IOstream Operators //- Ostream Operator
friend Ostream& operator<<(Ostream& os, const ccmBoundaryInfo& entry) friend Ostream& operator<<(Ostream& os, const ccmBoundaryInfo& entry)
{ {
os << "BoundaryFaces-" << entry.ccmIndex; os << "BoundaryFaces-" << entry.ccmIndex;
@ -107,7 +106,6 @@ public:
return os; return os;
} }
}; };

View File

@ -85,6 +85,7 @@ Description
D 0.1; D 0.1;
value uniform (0 0 0); value uniform (0 0 0);
} }
\endverbatim
SeeAlso SeeAlso
Foam::fixedValueFvPatchField Foam::fixedValueFvPatchField

View File

@ -37,8 +37,8 @@ Description
where where
\vartable \vartable
p_rgh | Pressure - \rho g.(h - hRef) [Pa] p_rgh | Pressure: \f$ \rho g (h - h_{ref}) \f$ [Pa]
ph_rgh | Hydrostatic pressure - \rho g.(h - hRef) [Pa] ph_rgh | Hydrostatic pressure: \f$ \rho g (h - h_{ref}) \f$ [Pa]
h | Height in the opposite direction to gravity h | Height in the opposite direction to gravity
hRef | Reference height in the opposite direction to gravity hRef | Reference height in the opposite direction to gravity
\rho | Density \rho | Density

View File

@ -37,7 +37,7 @@ Usage
phi | Flux field name | no | phi phi | Flux field name | no | phi
psi | Compressibility field name | no | thermo:psi psi | Compressibility field name | no | thermo:psi
gamma | ratio of specific heats (Cp/Cv) | yes | gamma | ratio of specific heats (Cp/Cv) | yes |
T0 | reference temperature | yes | T0 | total temperature | yes |
\endtable \endtable
Example of the boundary condition specification: Example of the boundary condition specification:
@ -45,7 +45,8 @@ Usage
<patchName> <patchName>
{ {
type totalTemperature; type totalTemperature;
T0 uniform 300; gamma 1.4;
T0 uniform 800;
} }
\endverbatim \endverbatim
@ -89,7 +90,7 @@ class totalTemperatureFvPatchScalarField
//- Heat capacity ratio //- Heat capacity ratio
scalar gamma_; scalar gamma_;
//- Total pressure //- Total temperature
scalarField T0_; scalarField T0_;

View File

@ -35,7 +35,7 @@ Description
The weight of a blended scheme is given by a function of the blending The weight of a blended scheme is given by a function of the blending
factor, f: factor, f:
\[f \f[
weight = f scheme1 + (1 - f) scheme2 weight = f scheme1 + (1 - f) scheme2
\f] \f]

View File

@ -30,6 +30,7 @@ Description
Generates particle size information from Eulerian calculations, e.g. VoF. Generates particle size information from Eulerian calculations, e.g. VoF.
Usage Usage
\verbatim
extractEulerianParticles1 extractEulerianParticles1
{ {
type extractEulerianParticles; type extractEulerianParticles;

View File

@ -42,11 +42,11 @@ Usage
libs ("libfieldFunctionObjects.so"); libs ("libfieldFunctionObjects.so");
operation subtract; operation subtract;
source1 region1
{ {
... ...
} }
source2 region2
{ {
... ...
} }

View File

@ -45,6 +45,7 @@ Usage
fields ("U.*" p); fields ("U.*" p);
} }
\endverbatim
Where the entries comprise: Where the entries comprise:
\table \table

View File

@ -91,6 +91,7 @@ Description
// coreBlockageRatio 0; // coreBlockageRatio 0;
} }
} }
\endverbatim
SourceFiles SourceFiles
tabulatedNTUHeatTransfer.C tabulatedNTUHeatTransfer.C