106 scalar liftProfileStart_;
109 scalar liftProfileEnd_;
112 const scalar minLift_;
118 const scalar minTopLayer_;
121 const scalar maxTopLayer_;
124 const scalar minBottomLayer_;
127 const scalar maxBottomLayer_;
131 const scalar diameter_;
137 scalar adjustCrankAngle(
const scalar theta)
const;
150 const word& bottomPatchName,
151 const word& poppetPatchName,
152 const word& stemPatchName,
153 const word& curtainInPortPatchName,
154 const word& curtainInCylinderPatchName,
155 const word& detachInCylinderPatchName,
156 const word& detachInPortPatchName,
159 const scalar minLift,
230 return curtainInCylinderPatch_;
236 return curtainInPortPatch_;
243 return detachInCylinderPatch_;
249 return detachInPortPatch_;
273 return minBottomLayer_;
278 return maxBottomLayer_;
285 scalar
lift(
const scalar theta)
const;
Base class for other coordinate system specifications.
const polyPatchID & curtainInPortPatchID() const
Return ID of curtain in port patch.
A list of keyword definitions, which are a keyword followed by any number of values (e...
bool isOpen() const
Is the valve open?
void operator=(const engineValve &)=delete
Disallow default bitwise assignment.
engineValve(const word &name, const polyMesh &mesh, const autoPtr< coordinateSystem > &valveCS, const word &bottomPatchName, const word &poppetPatchName, const word &stemPatchName, const word &curtainInPortPatchName, const word &curtainInCylinderPatchName, const word &detachInCylinderPatchName, const word &detachInPortPatchName, const labelList &detachFaces, const graph &liftProfile, const scalar minLift, const scalar minTopLayer, const scalar maxTopLayer, const scalar minBottomLayer, const scalar maxBottomLayer, const scalar diameter)
Construct from components.
scalar maxBottomLayer() const
const polyPatchID & poppetPatchID() const
Return ID of poppet patch.
const graph & liftProfile() const
Return lift profile.
scalar minBottomLayer() const
An abstract class for the time description of the piston motion.
const labelList & detachFaces() const
Return face labels of detach curtain.
scalar maxTopLayer() const
void writeDict(Ostream &) const
Write dictionary.
Class to create, store and output qgraph files.
scalar diameter() const
Return valve diameter.
const polyPatchID & curtainInCylinderPatchID() const
Return ID of curtain in cylinder patch.
scalar curVelocity() const
Return valve velocity for current time-step.
A class for handling words, derived from string.
const polyPatchID & detachInCylinderPatchID() const
Return ID of detach in cylinder patch.
const polyPatchID & detachInPortPatchID() const
Return ID of detach in port patch.
const polyPatchID & stemPatchID() const
Return ID of stem patch.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
scalar curLift() const
Return current lift.
scalar lift(const scalar theta) const
Return valve lift given crank angle in degrees.
const polyPatchID & bottomPatchID() const
Return ID of bottom patch.
const word & name() const
Return name.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
const coordinateSystem & cs() const
Return coordinate system.
labelList movingPatchIDs() const
Return list of active patch labels for the valve head.
scalar minTopLayer() const