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;
defineTypeNameAndDebug(ObukhovLength, 0)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
#define forAll(list, i)
Loop across all elements in list.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
virtual bool write(const bool writeOnProc=true) const
Write using setting from DB.
virtual bool write()
Write the interpolated fields.
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
#define WarningInFunction
Report a warning using Foam::Warning.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
surfaceInterpolate(const word &name, const Time &runTime, const dictionary &dict)
Construct for given objectRegistry and dictionary.
virtual bool read(const dictionary &dict)
Read optional controls.
virtual bool read(const dictionary &)
Read the controls.
virtual bool execute()
Calculate the interpolated fields.