318#ifndef functionObjects_stabilityBlendingFactor_H
319#define functionObjects_stabilityBlendingFactor_H
329namespace functionObjects
336class stabilityBlendingFactor
338 public fieldExpression,
346 Switch nonOrthogonality_;
367 scalar maxNonOrthogonality_;
370 scalar minNonOrthogonality_;
382 scalar minFaceWeight_;
385 scalar maxFaceWeight_;
403 word nonOrthogonalityName_;
406 word faceWeightName_;
441 bool init(
bool first);
447 void calcStats(label&, label&, label&)
const ;
464 TypeName(
"stabilityBlendingFactor");
474 const dictionary&
dict
481 void operator=(
const stabilityBlendingFactor&) =
delete;
491 virtual bool read(
const dictionary&);
494 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....
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 Time and dictionary.
stabilityBlendingFactor(const stabilityBlendingFactor &)=delete
No copy construct.
virtual void writeFileHeader(Ostream &os) const
Write the file header.
virtual bool write()
Write the stabilityBlendingFactor.
void operator=(const stabilityBlendingFactor &)=delete
No copy assignment.
virtual bool read(const dictionary &)
Read the stabilityBlendingFactor data.
Base class for writing single files from the function objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.