22 lines
501 B
C
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);
|