Simple random number generator.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Extract command arguments and options from the supplied argc and argv parameters.
virtual void init()
Initialise - typically setting static variables,.
void writeRandomField(const IOobject &header, const scalar pertMag, Random &rand, const fvMesh &mesh, bool &processed)
Write component fields.
void operator=(const randomise &)
Disallow default bitwise assignment.
Adds a random component to a field, with a given perturbation magnitude.
Mesh data needed to do the Finite Volume discretisation.
virtual ~randomise()
Destructor.
virtual void calc(const argList &args, const Time &runTime, const fvMesh &mesh)
Time loop calculations.
TypeName("randomise")
Runtime type information.
randomise()
Construct null.
virtual void preCalc(const argList &args, const Time &runTime, const fvMesh &mesh)
Pre-time loop calculations.
Foam::argList args(argc, argv)
Base class for post-processing calculation functions.