48 int main(
int argc,
char *argv[])
52 "Create a box of divergence-free turbulence conforming to a given" 56 argList::noParallel();
61 #include "createFields.H" 69 turbGen Ugen(
K,
Ea, k0);
71 U.primitiveFieldRef() = Ugen.U();
72 U.correctBoundaryConditions();
void write(Ostream &, const word &format) const
Write graph to stream in given format.
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< GeometricField< Type, faPatchField, areaMesh > > average(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Area-weighted average a edgeField creating a areaField.
CGAL::Exact_predicates_exact_constructions_kernel K
graph calcEk(const volVectorField &U, const Kmesh &K)
messageStream Info
Information stream (stdout output on master, null elsewhere)
scalar Ea(const scalar p, const scalar T) const
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)