39 Foam::blendingFactor::blendingFactor
44 const bool loadFromFiles
50 phiName_(
"unknown-phiName"),
51 fieldName_(
"unknown-fieldName")
54 if (!isA<fvMesh>(obr_))
59 "blendingFactor::blendingFactor" 62 "const objectRegistry&, " 66 ) <<
"No fvMesh available, deactivating " << name_ <<
nl 87 dict.
lookup(
"fieldName") >> fieldName_;
120 const word fieldName =
"blendingFactor:" + fieldName_;
125 Info<<
type() <<
" " << name_ <<
" output:" <<
nl 126 <<
" writing field " << blendingFactor.
name() <<
nl 129 blendingFactor.
write();
virtual void end()
Execute at the final time-loop, currently does nothing.
A class for handling words, derived from string.
A list of keyword definitions, which are a keyword followed by any number of values (e...
This function object calculates and outputs the blendingFactor as used by the bended convection schem...
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
virtual void read(const dictionary &)
Read the blendingFactor data.
virtual bool write() const
Write using setting from DB.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void execute()
Execute, currently does nothing.
#define WarningIn(functionName)
Report a warning using Foam::Warning.
const word & name() const
Return name.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Registry of regIOobjects.
virtual ~blendingFactor()
Destructor.
bool read(const char *, int32_t &)
defineTypeNameAndDebug(combustionModel, 0)
virtual void write()
Calculate the blendingFactor and write.