98#ifndef Foam_functionObjects_blendingFactor_H
99#define Foam_functionObjects_blendingFactor_H
134 void calcBlendingFactor
136 const GeometricField<Type, fvPatchField, volMesh>&
field,
137 const typename fv::convectionScheme<Type>& cs
189 virtual bool write();
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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,...
Computes blending factor as an indicator about which of the schemes is active across the domain.
virtual ~blendingFactor()=default
Destructor.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
void operator=(const blendingFactor &)=delete
No copy assignment.
virtual void writeFileHeader(Ostream &os) const
Write the file header.
blendingFactor(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
blendingFactor(const blendingFactor &)=delete
No copy construct.
TypeName("blendingFactor")
Runtime type information.
virtual bool write()
Write the function-object results.
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.
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.
Abstract base class for convection schemes.
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.
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.