runTime controlDict().lookup("adjustTimeStep") >> adjustTimeStep
A list of keyword definitions, which are a keyword followed by any number of values (e...
A userTime based on engine crank-angle degrees.
const dimensionedScalar & rpm() const
Return the RPM.
A class for handling words, derived from string.
virtual bool read(const dictionary &controlDict)
Read the controlDict and set all the parameters.
virtual scalar userTimeToTime(const scalar theta) const
Return the theta crank-angle is s.
TypeName("engine")
Runtime type information.
virtual ~engine()
Destructor.
virtual scalar timeToUserTime(const scalar t) const
Return the time t in crank-angle.
virtual word unit() const
Return real-time unit (s)
engine(const dictionary &controlDict)
Construct from controlDict.