36 namespace functionObjects
52 bool Foam::functionObjects::components::calc()
56 calcComponents<vector>()
57 || calcComponents<sphericalTensor>()
58 || calcComponents<symmTensor>()
59 || calcComponents<tensor>()
83 for (
const word& result : resultNames_)
85 ok = writeObject(result) && ok;
96 for (
const word& result : resultNames_)
98 ok = clearObject(result) && ok;
defineTypeNameAndDebug(ObukhovLength, 0)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
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()
Write the component fields.
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
components(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
Intermediate class for handling field expression function objects (e.g. blendingFactor etc...
virtual bool clear()
Clear the component fields from the objectRegistry.