Go to the documentation of this file.
37 namespace functionObjects
53 Foam::functionObjects::surfaceInterpolate::surfaceInterpolate
82 dict.readEntry(
"fields", fieldSet_);
92 interpolateFields<scalar>();
93 interpolateFields<vector>();
94 interpolateFields<sphericalTensor>();
95 interpolateFields<symmTensor>();
96 interpolateFields<tensor>();
106 Log <<
" functionObjects::" <<
type() <<
" " <<
name()
107 <<
" writing interpolated surface fields:" <<
nl;
111 const word& fieldName = fieldSet_[i].second();
117 Log <<
" " << fieldName <<
nl;
123 <<
"Unable to find field " << fieldName
124 <<
" 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...
addToRunTimeSelectionTable(functionObject, add, dictionary)
#define forAll(list, i)
Loop across all elements in list.
virtual bool write(const bool valid=true) const
Write using setting from DB.
messageStream Info
Information stream (uses stdout - output is on the master only)
word name(const complex &c)
Return string representation of complex.
virtual bool write()
Write the interpolated fields.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool read(const dictionary &dict)
Read optional controls.
Macros for easy insertion into run-time selection tables.
virtual bool execute()
Calculate the interpolated fields.
defineTypeNameAndDebug(fvMeshFunctionObject, 0)
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
virtual bool read(const dictionary &)
Read the controls.
virtual ~surfaceInterpolate()
Destructor.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
#define WarningInFunction
Report a warning using Foam::Warning.
#define Log
Report write to Foam::Info if the local log switch is true.