createTurbulenceFields: Construct fields and turbulence model for every time step processed
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1749
This commit is contained in:
@ -50,7 +50,6 @@ int main(int argc, char *argv[])
|
|||||||
instantList timeDirs = timeSelector::select0(runTime, args);
|
instantList timeDirs = timeSelector::select0(runTime, args);
|
||||||
|
|
||||||
#include "createMesh.H"
|
#include "createMesh.H"
|
||||||
#include "createFields.H"
|
|
||||||
|
|
||||||
forAll(timeDirs, timeI)
|
forAll(timeDirs, timeI)
|
||||||
{
|
{
|
||||||
@ -58,7 +57,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
Info<< "Time = " << runTime.timeName() << endl;
|
Info<< "Time = " << runTime.timeName() << endl;
|
||||||
|
|
||||||
// Cache the turbulence fields
|
#include "createFields.H"
|
||||||
|
|
||||||
Info<< "\nRetrieving field k from turbulence model" << endl;
|
Info<< "\nRetrieving field k from turbulence model" << endl;
|
||||||
const volScalarField k(RASModel->k());
|
const volScalarField k(RASModel->k());
|
||||||
|
|||||||
Reference in New Issue
Block a user