Go to the documentation of this file.
58 if (phiHeader.headerOk())
60 autoPtr<surfaceScalarField> PePtr;
77 IOobject turbulencePropertiesHeader
79 "turbulenceProperties",
82 IOobject::MUST_READ_IF_MODIFIED,
88 if (
phi.dimensions() == dimensionSet(0, 3, -1, 0, 0))
90 if (turbulencePropertiesHeader.headerOk())
117 *
mesh.surfaceInterpolation::deltaCoeffs()
125 IOdictionary transportProperties
129 "transportProperties",
132 IOobject::MUST_READ_IF_MODIFIED,
152 *
mesh.surfaceInterpolation::deltaCoeffs()
159 else if (
phi.dimensions() == dimensionSet(1, 0, -1, 0, 0))
161 if (turbulencePropertiesHeader.headerOk())
200 *
mesh.surfaceInterpolation::deltaCoeffs()
208 IOdictionary transportProperties
212 "transportProperties",
215 IOobject::MUST_READ_IF_MODIFIED,
235 *
mesh.surfaceInterpolation::deltaCoeffs()
245 <<
"Incorrect dimensions of phi: " <<
phi.dimensions()
253 Info<<
" Writing surfaceScalarField : "
254 << PePtr().name() <<
endl;
268 Info<<
" Writing volScalarField : "
269 << Pe.name() <<
endl;
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
const dimensionedScalar mu
Atomic mass unit.
void calc(const argList &args, const Time &runTime, const fvMesh &mesh)
tmp< surfaceScalarField > interpolate(const RhoType &rho)
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type & value() const
Return const reference to value.
dimensioned< scalar > mag(const dimensioned< Type > &)
tmp< GeometricField< Type, fvPatchField, volMesh > > average(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Area-weighted average a surfaceField creating a volField.
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
virtual Ostream & write(const token &)=0
Write next token to stream.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Function prototype for all simple post-processing functions e.g. calcDivPhi, calcMagU etc.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
errorManip< error > abort(error &err)
GeometricField< vector, fvPatchField, volMesh > volVectorField
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
singlePhaseTransportModel laminarTransport(U, phi)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
bool optionFound(const word &opt) const
Return true if the named option is found.
Area-weighted average a surfaceField creating a volField.
Foam::argList args(argc, argv)