Go to the documentation of this file.
37 namespace functionObjects
70 dict.readEntry(
"fields", fieldSet_);
80 interpolateFields<scalar>();
81 interpolateFields<vector>();
82 interpolateFields<sphericalTensor>();
83 interpolateFields<symmTensor>();
84 interpolateFields<tensor>();
94 Log <<
" functionObjects::" <<
type() <<
" " <<
name()
95 <<
" writing interpolated surface fields:" <<
nl;
99 const word& fieldName = fieldSet_[i].second();
105 Log <<
" " << fieldName <<
nl;
111 <<
"Unable to find field " << fieldName
112 <<
" in the mesh database" <<
endl;
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
#define forAll(list, i)
Loop across all elements in list.
virtual bool write(const bool valid=true) const
Write using setting from DB.
virtual bool write()
Write the interpolated fields.
surfaceInterpolate(const word &name, const Time &runTime, const dictionary &dict)
Construct for given objectRegistry and dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
virtual bool execute()
Calculate the interpolated fields.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
const word & name() const noexcept
Return the name of this functionObject.
virtual bool read(const dictionary &)
Read the controls.
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
virtual const word & type() const =0
Runtime type information.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
defineTypeNameAndDebug(ObukhovLength, 0)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
#define WarningInFunction
Report a warning using Foam::Warning.