OpenFOAM logo
Open Source CFD Toolkit

engineValve Class Reference

Collaboration diagram for engineValve:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 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.
 engineValve (const word &name, const polyMesh &mesh, const dictionary &dict)
 Construct from dictionary.
const wordname () const
 Return name.
const coordinateSystemcs () const
 Return coordinate system.
const graphliftProfile () const
 Return lift profile.
scalar diameter () const
 Return valve diameter.
const polyPatchIDbottomPatchID () const
 Return ID of bottom patch.
const polyPatchIDpoppetPatchID () const
 Return ID of poppet patch.
const polyPatchIDstemPatchID () const
 Return ID of stem patch.
const polyPatchIDcurtainInCylinderPatchID () const
 Return ID of curtain in cylinder patch.
const polyPatchIDcurtainInPortPatchID () const
 Return ID of curtain in port patch.
const polyPatchIDdetachInCylinderPatchID () const
 Return ID of detach in cylinder patch.
const polyPatchIDdetachInPortPatchID () const
 Return ID of detach in port patch.
const labelListdetachFaces () const
 Return face labels of detach curtain.
scalar minTopLayer () const
scalar maxTopLayer () const
scalar minBottomLayer () const
scalar maxBottomLayer () const
scalar lift (const scalar theta) const
 Return valve lift given crank angle in degrees.
bool isOpen () const
 Is the valve open?
scalar curLift () const
 Return current lift.
scalar curVelocity () const
 Return valve velocity for current time-step.
labelList movingPatchIDs () const
 Return list of active patch labels for the valve head.
void writeDict (Ostream &) const
 Write dictionary.

Constructor & Destructor Documentation

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.

engineValve const word name,
const polyMesh mesh,
const dictionary dict
 

Construct from dictionary.


Member Function Documentation

const polyPatchID& bottomPatchID  )  const [inline]
 

Return ID of bottom patch.

Definition at line 226 of file engineValve.H.

const coordinateSystem& cs  )  const [inline]
 

Return coordinate system.

Definition at line 205 of file engineValve.H.

scalar curLift  )  const
 

Return current lift.

const polyPatchID& curtainInCylinderPatchID  )  const [inline]
 

Return ID of curtain in cylinder patch.

Definition at line 244 of file engineValve.H.

const polyPatchID& curtainInPortPatchID  )  const [inline]
 

Return ID of curtain in port patch.

Definition at line 250 of file engineValve.H.

scalar curVelocity  )  const
 

Return valve velocity for current time-step.

const labelList& detachFaces  )  const [inline]
 

Return face labels of detach curtain.

Definition at line 269 of file engineValve.H.

const polyPatchID& detachInCylinderPatchID  )  const [inline]
 

Return ID of detach in cylinder patch.

Definition at line 257 of file engineValve.H.

const polyPatchID& detachInPortPatchID  )  const [inline]
 

Return ID of detach in port patch.

Definition at line 263 of file engineValve.H.

scalar diameter  )  const [inline]
 

Return valve diameter.

Definition at line 217 of file engineValve.H.

bool isOpen  )  const
 

Is the valve open?

scalar lift const scalar  theta  )  const
 

Return valve lift given crank angle in degrees.

const graph& liftProfile  )  const [inline]
 

Return lift profile.

Definition at line 211 of file engineValve.H.

scalar maxBottomLayer  )  const [inline]
 

Definition at line 292 of file engineValve.H.

References Foam::labelList.

scalar maxTopLayer  )  const [inline]
 

Definition at line 282 of file engineValve.H.

scalar minBottomLayer  )  const [inline]
 

Definition at line 287 of file engineValve.H.

scalar minTopLayer  )  const [inline]
 

Definition at line 277 of file engineValve.H.

labelList movingPatchIDs  )  const
 

Return list of active patch labels for the valve head.

(stem is excluded)

const word& name  )  const [inline]
 

Return name.

Definition at line 199 of file engineValve.H.

const polyPatchID& poppetPatchID  )  const [inline]
 

Return ID of poppet patch.

Definition at line 232 of file engineValve.H.

const polyPatchID& stemPatchID  )  const [inline]
 

Return ID of stem patch.

Definition at line 238 of file engineValve.H.

void writeDict Ostream  )  const
 

Write dictionary.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org