|
|


Public Member Functions | |
| engineTime (const word &name, const fileName &rootPath, const fileName &caseName, const fileName &systemName="system", const fileName &constantName="constant") | |
| Construct from objectRegistry arguments. | |
| virtual | ~engineTime () |
| scalar | degToRad (const scalar rad) const |
| Convert degrees to radians. | |
| scalar | degToTime (const scalar theta) const |
| Convert degrees to seconds (for given engine speed in RPM). | |
| scalar | timeToDeg (const scalar t) const |
| Convert seconds to degrees (for given engine speed in RPM). | |
| scalar | pistonPosition (const scalar theta) const |
| Calculate the piston position from the engine geometry. | |
| const dictionary & | engineDict () const |
| Return the engine geometry dictionary. | |
| const dimensionedScalar & | conRodLength () const |
| Return the engines connecting-rod length. | |
| const dimensionedScalar & | bore () const |
| Return the engines bore. | |
| const dimensionedScalar & | stroke () const |
| Return the engines stroke. | |
| const dimensionedScalar & | clearance () const |
| Return the engines clearance-gap. | |
| const dimensionedScalar & | rpm () const |
| Return the engines current operating RPM. | |
| scalar | theta () const |
| Return current crank-angle. | |
| scalar | thetaRevolution () const |
| Return current crank-angle translated to a single revolution. | |
| scalar | deltaTheta () const |
| Return crank-angle increment. | |
| dimensionedScalar | pistonPosition () const |
| Return current piston position. | |
| dimensionedScalar | pistonDisplacement () const |
| Return piston displacement for current time step. | |
| dimensionedScalar | pistonSpeed () const |
| Return piston speed for current time step. | |
| scalar | userTimeToTime (const scalar theta) const |
| Convert the user-time (CA deg) to real-time (s). | |
| scalar | timeToUserTime (const scalar t) const |
| Convert the real-time (s) into user-time (CA deg). | |
| bool | read () |
| Read the controlDict and set all the parameters. | |
|
||||||||||||||||||||||||
|
Construct from objectRegistry arguments.
|
|
|
Definition at line 98 of file engineTime.H. |
|
|
Return the engines bore.
Definition at line 137 of file engineTime.H. |
|
|
Return the engines clearance-gap.
Definition at line 149 of file engineTime.H. |
|
|
Return the engines connecting-rod length.
Definition at line 131 of file engineTime.H. |
|
|
Convert degrees to radians.
|
|
|
Convert degrees to seconds (for given engine speed in RPM).
|
|
|
Return crank-angle increment.
|
|
|
Return the engine geometry dictionary.
Definition at line 125 of file engineTime.H. |
|
|
Return piston displacement for current time step.
|
|
|
Return current piston position.
|
|
|
Calculate the piston position from the engine geometry. and given crank angle. |
|
|
Return piston speed for current time step.
|
|
|
Read the controlDict and set all the parameters.
Reimplemented from Time. |
|
|
Return the engines current operating RPM.
Definition at line 155 of file engineTime.H. References Foam::dimensionedScalar. |
|
|
Return the engines stroke.
Definition at line 143 of file engineTime.H. |
|
|
Return current crank-angle.
|
|
|
Return current crank-angle translated to a single revolution. (value between -180 and 180 with 0 = top dead centre) |
|
|
Convert seconds to degrees (for given engine speed in RPM).
|
|
|
Convert the real-time (s) into user-time (CA deg).
Reimplemented from TimeState. |
|
|
Convert the user-time (CA deg) to real-time (s).
Reimplemented from TimeState. |