37 namespace functionObjects
47 bool Foam::functionObjects::log::calc()
56 if (!checkDimensions_)
68 if (!checkDimensions_)
90 checkDimensions_(true),
105 checkDimensions_ =
dict.getOrDefault<
Switch>(
"checkDimensions",
true);
107 dict.getCheckOrDefault<scalar>
113 scale_ =
dict.getOrDefault<scalar>(
"scale", 1.0);
114 offset_ =
dict.getOrDefault<scalar>(
"offset", 0.0);
defineTypeNameAndDebug(ObukhovLength, 0)
word resultName_
Name of result field.
dimensionedScalar log(const dimensionedScalar &ds)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
word fieldName_
Name of field to process.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
virtual bool read(const dictionary &dict)
Read the fieldExpression data.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
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 *buf, int32_t &val)
Same as readInt32.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
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 read(const dictionary &)
Read the randomise data.
bool store(word &fieldName, const tmp< ObjectType > &tfield, bool cacheable=false)
Store the field in the (sub) objectRegistry under the given name.
static MinMax< scalar > ge(const scalar &minVal)
A semi-infinite range from minVal to the type max.
addToRunTimeSelectionTable(functionObject, ObukhovLength, dictionary)
log(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
static bool checking() noexcept
True if dimension checking is enabled (the usual default)
Intermediate class for handling field expression function objects (e.g. blendingFactor etc...
virtual bool read(const dictionary &dict)
Read optional controls.