engineCompRatio: Updated to use the engine fvMeshMover
This commit is contained in:
@ -1,10 +1,8 @@
|
||||
EXE_INC = \
|
||||
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
||||
-I$(LIB_SRC)/engine/lnInclude \
|
||||
-I$(LIB_SRC)/meshTools/lnInclude
|
||||
|
||||
EXE_LIBS = \
|
||||
-lengine \
|
||||
-ldynamicMesh \
|
||||
-lfiniteVolume \
|
||||
-lmeshTools
|
||||
|
||||
@ -32,7 +32,6 @@ Description
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "fvCFD.H"
|
||||
#include "engineMesh.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -40,7 +39,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
#include "setRootCase.H"
|
||||
#include "createTime.H"
|
||||
#include "createEngineMesh.H"
|
||||
#include "createMesh.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -62,7 +61,7 @@ int main(int argc, char *argv[])
|
||||
runTime.setDeltaT(t0);
|
||||
runTime++;
|
||||
Info<< "CA = " << runTime.userTimeValue() << endl;
|
||||
mesh.move();
|
||||
mesh.update();
|
||||
}
|
||||
|
||||
scalar Vmax = sum(mesh.V().field());
|
||||
@ -73,14 +72,14 @@ int main(int argc, char *argv[])
|
||||
runTime.setDeltaT(t1);
|
||||
runTime++;
|
||||
Info<< "CA = " << runTime.userTimeValue() << endl;
|
||||
mesh.move();
|
||||
mesh.update();
|
||||
}
|
||||
|
||||
scalar Vmin = sum(mesh.V().field());
|
||||
|
||||
Info<< "\nVmax = " << Vmax;
|
||||
Info<< ", Vmin = " << Vmin << endl;
|
||||
Info<< "Vmax/Vmin = " << Vmax/Vmin << endl;
|
||||
Info<< "Compression ratio Vmax/Vmin = " << Vmax/Vmin << endl;
|
||||
Info<< "\nEnd\n" << endl;
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user