20 lines
830 B
C++
20 lines
830 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
randomise
|
|
{
|
|
#includeEtc "caseDicts/postProcessing/fields/randomise.cfg"
|
|
|
|
field <fieldName>;
|
|
|
|
// Set the magnitude of the perturbation
|
|
magPerturbation <scalar>;
|
|
}
|
|
|
|
// ************************************************************************* //
|