35 #ifndef fvMeshMoversEngine_H 36 #define fvMeshMoversEngine_H 44 namespace fvMeshMovers
130 virtual scalar
theta()
const;
virtual scalar deltaTheta() const
Return crank-angle increment.
dimensionedScalar pistonDisplacement() const
Return piston displacement for current time step.
engine(fvMesh &mesh)
Construct from fvMesh.
dimensionedScalar pistonSpeed() const
Return piston speed for current time step.
void operator=(const engine &)=delete
Disallow default bitwise assignment.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~engine()
Destructor.
Abstract base class for fvMesh movers.
dimensionedScalar conRodLength_
Optional engine geometry parameters.
dimensionedScalar pistonPosition_
dimensionedScalar pistonPosition() const
Return current piston position.
dimensionedScalar deckHeight_
const dimensionedScalar & rpm() const
Return the engines current operating RPM.
dimensionedScalar rpm_
RPM.
dimensionedScalar clearance_
virtual scalar theta() const
Return current crank-angle.
const dimensionedScalar & conRodLength() const
Return the engines connecting-rod length.
TypeName("engine")
Runtime type information.
Mesh data needed to do the Finite Volume discretisation.
Basic mesh motion specifically for engines.
const dimensionedScalar & stroke() const
Return the engines stroke.
fvMesh & mesh()
Return the fvMesh.
const dimensionedScalar & bore() const
Return the engines bore.
const dimensionedScalar & clearance() const
Return the engines clearance-gap.
dimensionedScalar stroke_