99 scalar liftProfileStart_;
102 scalar liftProfileEnd_;
105 const scalar minLift_;
111 const scalar minTopLayer_;
114 const scalar maxTopLayer_;
117 const scalar minBottomLayer_;
120 const scalar maxBottomLayer_;
124 const scalar diameter_;
130 scalar adjustCrankAngle(
const scalar theta)
const;
143 const word& bottomPatchName,
144 const word& poppetPatchName,
145 const word& stemPatchName,
146 const word& curtainInPortPatchName,
147 const word& curtainInCylinderPatchName,
148 const word& detachInCylinderPatchName,
149 const word& detachInPortPatchName,
152 const scalar minLift,
223 return curtainInCylinderPatch_;
229 return curtainInPortPatch_;
236 return detachInCylinderPatch_;
242 return detachInPortPatch_;
266 return minBottomLayer_;
271 return maxBottomLayer_;
278 scalar
lift(
const scalar theta)
const;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for other coordinate system specifications.
A list of keyword definitions, which are a keyword followed by any number of values (e....
bool isOpen() const
Is the valve open?
scalar maxTopLayer() const
engineValve(const word &name, const fvMeshMover &meshMover, 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 Function1s::Table< scalar > &liftProfile, const scalar minLift, const scalar minTopLayer, const scalar maxTopLayer, const scalar minBottomLayer, const scalar maxBottomLayer, const scalar diameter)
Construct from components.
const Function1s::Table< scalar > & liftProfile() const
Return lift profile.
const polyPatchID & curtainInCylinderPatchID() const
Return ID of curtain in cylinder patch.
scalar minBottomLayer() const
scalar maxBottomLayer() const
scalar lift(const scalar theta) const
Return valve lift given crank angle in degrees.
scalar diameter() const
Return valve diameter.
labelList movingPatchIDs() const
Return list of active patch labels for the valve head.
const polyPatchID & poppetPatchID() const
Return ID of poppet patch.
const polyPatchID & stemPatchID() const
Return ID of stem patch.
const labelList & detachFaces() const
Return face labels of detach curtain.
scalar curLift() const
Return current lift.
const polyPatchID & detachInPortPatchID() const
Return ID of detach in port patch.
scalar minTopLayer() const
void writeDict(Ostream &) const
Write dictionary.
const polyPatchID & bottomPatchID() const
Return ID of bottom patch.
scalar curVelocity() const
Return valve velocity for current time-step.
void operator=(const engineValve &)=delete
Disallow default bitwise assignment.
const coordinateSystem & cs() const
Return coordinate system.
const polyPatchID & detachInCylinderPatchID() const
Return ID of detach in cylinder patch.
const word & name() const
Return name.
const polyPatchID & curtainInPortPatchID() const
Return ID of curtain in port patch.
Abstract base class for fvMesh movers.
Basic mesh motion specifically for engines.
A class for handling words, derived from string.