34 namespace functionObjects
77 dict.
lookup(
"fields") >> fieldSet_;
94 interpolateFields<scalar>(ssf_);
95 interpolateFields<vector>(svf_);
96 interpolateFields<sphericalTensor>(sSpheretf_);
97 interpolateFields<symmTensor>(sSymmtf_);
98 interpolateFields<tensor>(stf_);
110 Info<<
" Writing interpolated surface fields to " 111 << obr_.time().timeName() <<
endl;
123 sSpheretf_[i].write();
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by any number of values (e...
addToRunTimeSelectionTable(functionObject, Qdot, dictionary)
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.
bool read(const char *, int32_t &)
A class for handling words, derived from string.
virtual bool write()
Write the interpolated fields.
virtual ~surfaceInterpolate()
Destructor.
word name(const complex &)
Return a string representation of a complex.
defineTypeNameAndDebug(Qdot, 0)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
surfaceInterpolate(const word &name, const Time &runTime, const dictionary &dict)
Construct for given objectRegistry and dictionary.
Specialisation of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
virtual bool read(const dictionary &)
Read the controls.
virtual bool execute()
Calculate the interpolated fields.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.