Files
OpenFOAM-12/applications/solvers/DNS/dnsFoam/readTurbulenceProperties.H
2014-12-10 22:40:10 +00:00

22 lines
501 B
C

Info<< "Reading turbulenceProperties\n" << endl;
IOdictionary turbulenceProperties
(
IOobject
(
"turbulenceProperties",
runTime.constant(),
mesh,
IOobject::MUST_READ_IF_MODIFIED,
IOobject::NO_WRITE
)
);
volVectorField force
(
U/dimensionedScalar("dt", dimTime, runTime.deltaTValue())
);
Kmesh K(mesh);
UOprocess forceGen(K, runTime.deltaTValue(), turbulenceProperties);