OpenFOAM-4.x/etc/caseDicts/postProcessing/fields/randomise
2016-06-11 08:53:04 +01:00

24 lines
823 B
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Web: www.OpenFOAM.org
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Adds a random component to a field, with a specified perturbation
magnitude.
\*---------------------------------------------------------------------------*/
randomise
{
#includeEtc "caseDicts/postProcessing/fields/randomise.cfg"
field <fieldName>;
// Set the magnitude of the perturbation
magPerturbation <scalar>;
}
// ************************************************************************* //