Files
OpenFOAM-12/etc/caseDicts/postProcessing/fields/randomise
2018-07-09 12:28:56 +01:00

22 lines
797 B
C++

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