Go to the documentation of this file.
98 #ifndef functionObjects_randomise_H
99 #define functionObjects_randomise_H
108 namespace functionObjects
117 public fieldExpression,
123 scalar magPerturbation_;
162 const dictionary&
dict
virtual ~randomise()=default
Destructor.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
Volume (cell) region selection class.
randomise(const randomise &)=delete
No copy construct.
void operator=(const randomise &)=delete
No copy assignment.
virtual bool calc()
Calculate the randomised field and return true if successful.
virtual bool read(const dictionary &dict)
Read the randomise data.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const word & name() const noexcept
Return the name of this functionObject.
TypeName("randomise")
Runtime type information.
Intermediate class for handling field expression function objects (e.g. blendingFactor etc....
Adds a random component to an input field, with a specified perturbation magnitude.