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:
parent
678abe2fea
commit
fc9f73afc3
1 changed files with 2 additions and 4 deletions
|
|
@ -2,7 +2,7 @@
|
|||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
|
@ -50,7 +50,6 @@ int main(int argc, char *argv[])
|
|||
instantList timeDirs = timeSelector::select0(runTime, args);
|
||||
|
||||
#include "createMesh.H"
|
||||
#include "createFields.H"
|
||||
|
||||
forAll(timeDirs, timeI)
|
||||
{
|
||||
|
|
@ -58,7 +57,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
Info<< "Time = " << runTime.timeName() << endl;
|
||||
|
||||
// Cache the turbulence fields
|
||||
#include "createFields.H"
|
||||
|
||||
Info<< "\nRetrieving field k from turbulence model" << endl;
|
||||
const volScalarField k(RASModel->k());
|
||||
|
|
@ -133,4 +132,3 @@ int main(int argc, char *argv[])
|
|||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue