98#ifndef functionObjects_randomise_H
99#define functionObjects_randomise_H
108namespace functionObjects
117 public fieldExpression,
123 scalar magPerturbation_;
145 void operator=(
const randomise&) =
delete;
162 const dictionary&
dict
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,...
const word & name() const noexcept
Return the name of this functionObject.
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.
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 randomise data.
virtual ~randomise()=default
Destructor.
void operator=(const randomise &)=delete
No copy assignment.
randomise(const randomise &)=delete
No copy construct.
Volume (cell) region selection class.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.