Go to the documentation of this file.
31 #include "surfaceInterpolate.H"
38 namespace functionObjects
62 bool Foam::functionObjects::PecletNo::calc()
64 if (foundObject<surfaceScalarField>(fieldName_))
66 tmp<volScalarField> nuEff;
70 lookupObject<turbulenceModel>
75 nuEff = model.nuEff();
77 else if (mesh_.foundObject<dictionary>(
"transportProperties"))
79 const dictionary& model =
80 mesh_.lookupObject<dictionary>(
"transportProperties");
87 mesh_.time().timeName(),
99 <<
"Unable to determine the viscosity"
113 *mesh_.surfaceInterpolation::deltaCoeffs()
144 rhoName_ =
dict.getOrDefault<
word>(
"rho",
"rho");
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
bool read(const char *buf, int32_t &val)
static const word propertiesName
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
PecletNo(const word &name, const Time &runTime, const dictionary &dict)
void setResultName(const word &typeName, const word &defaultArg)
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimViscosity
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual bool read(const dictionary &)
#define FatalErrorInFunction
Intermediate class for handling field expression function objects (e.g. blendingFactor etc....
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
static tmp< T > New(Args &&... args)
defineTypeNameAndDebug(ObukhovLength, 0)
word name(const expressions::valueTypeCode typeCode)