45 int main(
int argc,
char *argv[])
52 #include "createFields.H"
62 U.primitiveFieldRef() = Ugen.U();
63 U.correctBoundaryConditions();
scalar Ea(const scalar p, const scalar T) const
Calculate the wavenumber vector field corresponding to the space vector field of a finite volume mesh...
static void noParallel()
Remove the parallel options.
Generate a turbulent velocity field conforming to a given energy spectrum and being divergence free.
int main(int argc, char *argv[])
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &df)
void writeEk(const volVectorField &U, const Kmesh &K)
dimensioned< scalar > magSqr(const dimensioned< Type > &)
This function evaluates q(k) (McComb, p61) by summing all wavevectors in a k-shell....