36 namespace functionObjects
53 Foam::functionObjects::CourantNo::byRho
55 const tmp<volScalarField::Internal>& Co
69 bool Foam::functionObjects::CourantNo::calc()
71 if (foundObject<surfaceScalarField>(fieldName_))
74 lookupObject<surfaceScalarField>(fieldName_);
76 tmp<volScalarField> tCo
83 zeroGradientFvPatchScalarField::typeName
90 (0.5*mesh_.time().deltaT())
95 tCo->correctBoundaryConditions();
97 return store(resultName_, tCo);
101 cannotFindObject<surfaceScalarField>(fieldName_);
Surface integrate surfaceField creating a volField. Surface sum a surfaceField creating a volField...
A list of keyword definitions, which are a keyword followed by any number of values (e...
addToRunTimeSelectionTable(functionObject, Qdot, dictionary)
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
const dimensionSet dimless
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
virtual bool read(const dictionary &)
Read the CourantNo data.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
bool read(const char *, int32_t &)
A class for handling words, derived from string.
const dimensionSet dimDensity
virtual bool read(const dictionary &)
Read the fieldExpression data.
defineTypeNameAndDebug(Qdot, 0)
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual ~CourantNo()
Destructor.
dimensioned< scalar > mag(const dimensioned< Type > &)
tmp< GeometricField< Type, fvPatchField, volMesh > > surfaceSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
A class for managing temporary objects.
CourantNo(const word &name, const Time &, const dictionary &)
Construct from Time and dictionary.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField