108 scalar liftProfileStart_;
111 scalar liftProfileEnd_;
114 const scalar minLift_;
120 const scalar minTopLayer_;
123 const scalar maxTopLayer_;
126 const scalar minBottomLayer_;
129 const scalar maxBottomLayer_;
133 const scalar diameter_;
146 scalar adjustCrankAngle(
const scalar theta)
const;
158 const word& bottomPatchName,
159 const word& poppetPatchName,
160 const word& stemPatchName,
161 const word& curtainInPortPatchName,
162 const word& curtainInCylinderPatchName,
163 const word& detachInCylinderPatchName,
164 const word& detachInPortPatchName,
167 const scalar minLift,
238 return curtainInCylinderPatch_;
244 return curtainInPortPatch_;
251 return detachInCylinderPatch_;
257 return detachInPortPatch_;
281 return minBottomLayer_;
286 return maxBottomLayer_;
293 scalar
lift(
const scalar theta)
const;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Base class for coordinate system specification, the default coordinate system type is cartesian .
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
An abstract class for the time description of the piston motion.
bool isOpen() const
Is the valve open?
const polyPatchID & curtainInPortPatchID() const
Return ID of curtain in port patch.
scalar maxTopLayer() const
const polyPatchID & poppetPatchID() const
Return ID of poppet 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.
const word & name() const
Return name.
labelList movingPatchIDs() const
Return list of active patch labels for the valve head.
const polyPatchID & detachInPortPatchID() const
Return ID of detach in port patch.
scalar curLift() const
Return current lift.
const coordinateSystem & cs() const
Return coordinate system.
const graph & liftProfile() const
Return lift profile.
scalar minTopLayer() const
const polyPatchID & curtainInCylinderPatchID() const
Return ID of curtain in cylinder patch.
const labelList & detachFaces() const
Return face labels of detach curtain.
scalar curVelocity() const
Return valve velocity for current time-step.
void writeDict(Ostream &os) const
Write dictionary.
const polyPatchID & stemPatchID() const
Return ID of stem patch.
const polyPatchID & bottomPatchID() const
Return ID of bottom patch.
const polyPatchID & detachInCylinderPatchID() const
Return ID of detach in cylinder patch.
~engineValve()=default
Destructor.
Class to create, store and output qgraph files.
Mesh consisting of general polyhedral cells.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)