engineTime: Completely replaced engineTime derived from Time
with the run-time selectable engine userTime embedded in Time. All parts of the original engineTime relating to the engine geometry have been moved to engineMesh. This is part of the process of integrating engine simulations within the standard moving-mesh solvers.
This commit is contained in:
@ -49,7 +49,6 @@ Description
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "fvCFD.H"
|
||||
#include "engineTime.H"
|
||||
#include "engineMesh.H"
|
||||
#include "psiuReactionThermo.H"
|
||||
#include "compressibleMomentumTransportModels.H"
|
||||
@ -67,12 +66,11 @@ Description
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
#define CREATE_TIME createEngineTime.H
|
||||
#define CREATE_MESH createEngineMesh.H
|
||||
#include "postProcess.H"
|
||||
|
||||
#include "setRootCaseLists.H"
|
||||
#include "createEngineTime.H"
|
||||
#include "createTime.H"
|
||||
#include "createEngineMesh.H"
|
||||
#include "createControl.H"
|
||||
#include "readCombustionProperties.H"
|
||||
@ -99,7 +97,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
runTime++;
|
||||
|
||||
Info<< "Crank angle = " << runTime.theta() << " CA-deg" << endl;
|
||||
Info<< "Crank angle = " << runTime.timeName() << endl;
|
||||
|
||||
mesh.move();
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
Info<< "Mean u':" << meanup << endl;
|
||||
|
||||
logSummaryFile()
|
||||
<< runTime.theta() << tab
|
||||
<< runTime.userTimeValue() << tab
|
||||
<< meanp << tab
|
||||
<< meanT << tab
|
||||
<< meanup << tab
|
||||
|
||||
@ -30,7 +30,6 @@ Description
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "fvCFD.H"
|
||||
#include "engineTime.H"
|
||||
#include "engineMesh.H"
|
||||
#include "psiThermo.H"
|
||||
#include "compressibleMomentumTransportModels.H"
|
||||
@ -44,12 +43,11 @@ Description
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
#define CREATE_TIME createEngineTime.H
|
||||
#define CREATE_MESH createEngineMesh.H
|
||||
#include "postProcess.H"
|
||||
|
||||
#include "setRootCaseLists.H"
|
||||
#include "createEngineTime.H"
|
||||
#include "createTime.H"
|
||||
#include "createEngineMesh.H"
|
||||
#include "createControl.H"
|
||||
#include "createFields.H"
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
Info<< "Mean u':" << meanup << endl;
|
||||
|
||||
logSummaryFile()
|
||||
<< runTime.theta() << tab
|
||||
<< runTime.userTimeValue() << tab
|
||||
<< meanp << tab
|
||||
<< meanT << tab
|
||||
<< meanup
|
||||
|
||||
@ -47,12 +47,11 @@ Description
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
#define CREATE_TIME createEngineTime.H
|
||||
#define CREATE_MESH createEngineMesh.H
|
||||
#include "postProcess.H"
|
||||
|
||||
#include "setRootCaseLists.H"
|
||||
#include "createEngineTime.H"
|
||||
#include "createTime.H"
|
||||
#include "createEngineMesh.H"
|
||||
#include "createEngineControls.H"
|
||||
#include "initContinuityErrs.H"
|
||||
|
||||
@ -5,7 +5,7 @@ Info<< "Mean u':"
|
||||
<< endl;
|
||||
|
||||
logSummaryFile
|
||||
<< runTime.theta() << tab
|
||||
<< runTime.userTimeValue() << tab
|
||||
<< p.weightedAverage(mesh.V()).value() << tab
|
||||
<< T.weightedAverage(mesh.V()).value() << tab
|
||||
<< (sqrt((2.0/3.0)*turbulence->k()))().weightedAverage(mesh.V()).value()
|
||||
|
||||
Reference in New Issue
Block a user