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()
76 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 keyword definitions, which are a keyword followed by any number of values (e....
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.
bool 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.
word name(const bool)
Return a word representation of a bool.
SurfaceField< scalar > surfaceScalarField
dimensioned< scalar > mag(const dimensioned< Type > &)