Go to the documentation of this file.
54 s[i] = RanGen.vector01();
55 rndPhases[i] = RanGen.scalar01();
#define forAll(list, i)
Loop across all elements in list.
dimensionedScalar sin(const dimensionedScalar &ds)
turbGen(const Kmesh &k, const scalar EA, const scalar K0)
Construct from components.
const scalar twoPi(2 *pi)
complexField ComplexField(const UList< scalar > &re, const UList< scalar > &im)
dimensioned< scalar > mag(const dimensioned< Type > &)
Specialisations of Field<T> for scalar, vector and tensor.
Calculate the wavenumber vector field corresponding to the space vector field of a finite volume mesh...
CGAL::Exact_predicates_exact_constructions_kernel K
static tmp< complexField > reverseTransform(const tmp< complexField > &field, const labelList &nn)
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.
scalarField ReImSum(const UList< complex > &cf)
tmp< scalarField > Ek(const scalar Ea, const scalar k0, const scalarField &k)
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
vectorField U()
Generate and return a velocity field.
label k
Boltzmann constant.
dimensionedScalar cos(const dimensionedScalar &ds)