46 int main(
int argc,
char *argv[])
50 "Calculate the engine geometric compression ratio" 60 scalar fullCycle = 360.0;
80 scalar Vmax =
sum(
mesh.V().field());
91 scalar Vmin =
sum(
mesh.V().field());
93 Info<<
"\nVmax = " << Vmax
94 <<
", Vmin = " << Vmin <<
nl 95 <<
"Vmax/Vmin = " << Vmax/Vmin <<
endl;
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &f1)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
messageStream Info
Information stream (stdout output on master, null elsewhere)