Files
OpenFOAM-12/etc/caseDicts/postProcessing/fields/randomise
2018-07-09 15:40:05 +01:00

22 lines
811 B
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ 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>;
// ************************************************************************* //