307#ifndef Foam_functionObjects_stabilityBlendingFactor_H
308#define Foam_functionObjects_stabilityBlendingFactor_H
335 Switch nonOrthogonality_;
356 scalar maxNonOrthogonality_;
359 scalar minNonOrthogonality_;
371 scalar minFaceWeight_;
374 scalar maxFaceWeight_;
392 word nonOrthogonalityName_;
395 word faceWeightName_;
430 bool init(
bool first);
436 void calcStats(label&, label&, label&)
const ;
453 TypeName(
"stabilityBlendingFactor");
483 virtual bool write();
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
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 a number of values (eg,...
const word & name() const noexcept
Return the name of this functionObject.
Intermediate class for handling field expression function objects (e.g. blendingFactor etc....
fieldExpression(const word &name, const Time &runTime, const dictionary &dict, const word &fieldName=word::null, const word &resultName=word::null)
Construct from name, Time and dictionary.
virtual bool calc()=0
Calculate the components of the field and return true if successful.
Computes the stabilityBlendingFactor to be used by the local blended convection scheme....
TypeName("stabilityBlendingFactor")
Runtime type information.
virtual ~stabilityBlendingFactor()=default
Destructor.
stabilityBlendingFactor(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
stabilityBlendingFactor(const stabilityBlendingFactor &)=delete
No copy construct.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
virtual void writeFileHeader(Ostream &os) const
Write the file header.
virtual bool write()
Write the function-object results.
void operator=(const stabilityBlendingFactor &)=delete
No copy assignment.
Base class for writing single files from the function objects.
writeFile(const objectRegistry &obr, const fileName &prefix, const word &name="undefined", const bool writeToFile=true, const string &ext=".dat")
Construct from objectRegistry, prefix, fileName.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.