Go to the documentation of this file.
63 RootDeltaT(
sqrt(DeltaT)),
74 scalar sqrKupper =
sqr(Kupper);
75 scalar sqrKlower =
sqr(Klower) + SMALL;
80 if ((sqrK =
magSqr(
K[i])) < sqrKupper && sqrK > sqrKlower)
82 UOfield[i] = Scale*Sigma*WeinerProcess();
110 if ((sqrK =
magSqr(
K[i])) < sqrKupper && sqrK > sqrKlower)
119 Info<<
" Number of forced K = " << count <<
nl;
scalar GaussNormal()
Return a normal Gaussian randon number.
Vector< complex > complexVector
complexVector obtained from generic Vector.
const complexVectorField & newField()
#define forAll(list, i)
Loop across all elements in list.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
complexVectorField UOfield
Calculate the wavenumber vector field corresponding to the space vector field of a finite volume mesh...
CGAL::Exact_predicates_exact_constructions_kernel K
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A list of keyword definitions, which are a keyword followed by any number of values (e....
Extension to the c++ complex library type.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
UOprocess(const Kmesh &kmesh, const scalar deltaT, const dictionary &)
Construct from wavenumber mesh and timestep.
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
dimensionedScalar sqrt(const dimensionedScalar &ds)
complexVector WeinerProcess()
@ dim
Dimensionality of space.
dimensioned< scalar > magSqr(const dimensioned< Type > &)