60 const fvMeshMovers::engine& meshMover_;
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;
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.
scalar maxBottomLayer() const
Abstract base class for fvMesh movers.
const polyPatchID & poppetPatchID() const
Return ID of poppet patch.
scalar minBottomLayer() const
const labelList & detachFaces() const
Return face labels of detach curtain.
scalar maxTopLayer() const
void writeDict(Ostream &) const
Write dictionary.
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 Function1s::Table< scalar > & liftProfile() const
Return lift profile.
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...
const coordinateSystem & cs() const
Return coordinate system.
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.
labelList movingPatchIDs() const
Return list of active patch labels for the valve head.
scalar minTopLayer() const