58 rndPhases[i] = RanGen.
sample01<scalar>();
71 const scalar recRootN = 1.0/
sqrt(scalar(ntot));
Field< complexVector > complexVectorField
Specialisation of Field<T> for complexVector.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
static tmp< complexField > reverseTransform(const tmp< complexField > &field, const UList< int > &nn)
vectorField U()
Generate and return a velocity field.
dimensionedScalar sqrt(const dimensionedScalar &ds)
label k
Boltzmann constant.
tmp< scalarField > Ek(const scalar Ea, const scalar k0, const scalarField &k)
CGAL::Exact_predicates_exact_constructions_kernel K
complexField ComplexField(const UList< scalar > &re, const UList< scalar > &im)
Zip up two lists of values into a list of complex.
#define forAll(list, i)
Loop across all elements in list.
Type sample01()
Return a sample whose components lie in the range [0,1].
dimensionedScalar cos(const dimensionedScalar &ds)
constexpr scalar twoPi(2 *M_PI)
Calculate the wavenumber vector field corresponding to the space vector field of a finite volume mesh...
dimensionedScalar sin(const dimensionedScalar &ds)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Specialisations of Field<T> for scalar, vector and tensor.
scalarField ReImSum(const UList< complex > &cf)
Sum real and imag components.
turbGen(const Kmesh &k, const scalar EA, const scalar K0)
Construct from components.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.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))
scalar Ea(const scalar p, const scalar T) const