47int main(
int argc,
char *argv[])
51 "Direct numerical simulation for boxes of isotropic turbulence."
59 #include "createControl.H"
60 #include "createFields.H"
61 #include "initContinuityErrs.H"
70 const scalar recRootN = 1.0/
Foam::sqrt(scalar(ntot));
78 force.primitiveFieldRef() =
ReImSum
82 K/(
mag(
K) + 1.0e-6) ^ forceGen.newField(),
K.nn()
92 - fvm::laplacian(
nu,
U)
101 while (
piso.correct())
121 pEqn.solve(
mesh.solver(
p.select(
piso.finalInnerIter())));
125 #include "continuityErrs.H"
128 U.correctBoundaryConditions();
143 runTime.printExecutionTime(Info);
CGAL::Exact_predicates_exact_constructions_kernel K
void write(Ostream &, const word &format) const
Write graph to stream in given format.
surfaceScalarField rAUf("rAUf", fvc::interpolate(rAU))
tmp< volScalarField > rAU
GeometricField< vector, fvPatchField, volMesh > volVectorField
fvMatrix< scalar > fvScalarMatrix
GeometricField< scalar, fvPatchField, volMesh > volScalarField
messageStream Info
Information stream (stdout output on master, null elsewhere)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
fvMatrix< vector > fvVectorMatrix
graph calcEk(const volVectorField &U, const Kmesh &K)
constexpr char nl
The newline '\n' character (0x0a)
scalarField ReImSum(const UList< complex > &cf)
Sum real and imag components.
Execute application functionObjects to post-process existing results.
#define forAll(list, i)
Loop across all elements in list.