81#ifndef Foam_functionObjects_randomise_H
82#define Foam_functionObjects_randomise_H
106 scalar magPerturbation_;
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Intermediate class for handling field expression function objects (e.g. blendingFactor etc....
fieldExpression(const word &name, const Time &runTime, const dictionary &dict, const word &fieldName=word::null, const word &resultName=word::null)
Construct from name, Time and dictionary.
Adds a random component to an input field, with a specified perturbation magnitude.
TypeName("randomise")
Runtime type information.
virtual bool calc()
Calculate the randomised field and return true if successful.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
virtual ~randomise()=default
Destructor.
void operator=(const randomise &)=delete
No copy assignment.
randomise(const randomise &)=delete
No copy construct.
Volume (cell) region selection class.
volRegion(const fvMesh &mesh, const dictionary &dict)
Construct from fvMesh and dictionary.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.