Go to the documentation of this file.
46 cylinderHeadIndex_(-1),
47 deckHeight_(
"deckHeight",
dimLength, GREAT),
48 pistonPosition_(
"pistonPosition",
dimLength, -GREAT)
50 bool foundPiston =
false;
51 bool foundLiner =
false;
52 bool foundCylinderHead =
false;
69 foundCylinderHead =
true;
80 <<
"cannot find piston patch"
87 <<
"cannot find liner patch"
91 if (!foundCylinderHead)
94 <<
"cannot find cylinderHead patch"
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
#define forAll(list, i)
Loop across all elements in list.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
virtual ~engineMesh()
Destructor.
dimensionedScalar pistonPosition_
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensionedScalar deckHeight_
const Type & value() const
Return const reference to value.
label size() const
Return number of elements in table.
Manage time in terms of engine RPM and crank-angle.
Mesh data needed to do the Finite Volume discretisation.
To & refCast(From &r)
Reference type cast template function.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void reduce(T &Value, const BinaryOp &bop) const
Helper: reduce with current communicator.
engineMesh(const engineMesh &)
Disallow default bitwise copy construct.
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
const word & name() const
Return reference to name.