28 #include "surfaceInterpolate.H"
35 namespace functionObjects
51 bool Foam::functionObjects::PecletNo::calc()
53 if (foundObject<surfaceScalarField>(
fieldName_))
55 tmp<volScalarField>
nuEff
69 *
mesh_.surfaceInterpolation::deltaCoeffs()
78 cannotFindObject<surfaceScalarField>(
fieldName_);
Macros for easy insertion into run-time selection tables.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Abstract base-class for Time/database functionObjects.
Calculates and outputs the Peclet number as a surfaceScalarField.
virtual ~PecletNo()
Destructor.
PecletNo(const word &name, const Time &runTime, const dictionary &dict)
Construct for given objectRegistry and dictionary.
word resultName_
Name of result field.
const word fieldName_
Name of field to process.
const fvMesh & mesh_
Reference to the fvMesh.
ObjectType & store(const tmp< ObjectType > &tfield)
Store the given field in the objectRegistry.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
virtual tmp< volScalarField > nuEff() const =0
Return the effective viscosity.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type and name.
const Type & lookupType(const word &group=word::null) const
Lookup and return the object of the given Type.
A class for handling words, derived from string.
compressibleMomentumTransportModel momentumTransportModel
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
SurfaceField< scalar > surfaceScalarField
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.