OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

engineValve Class Reference

Collaboration diagram for engineValve:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 63 of file engineValve.H.


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 word & name () const
 Return name.
const coordinateSystem & cs () const
 Return coordinate system.
const graph & liftProfile () const
 Return lift profile.
scalar diameter () const
 Return valve diameter.
const polyPatchID & bottomPatchID () const
 Return ID of bottom patch.
const polyPatchID & poppetPatchID () const
 Return ID of poppet patch.
const polyPatchID & stemPatchID () const
 Return ID of stem patch.
const polyPatchID & curtainInCylinderPatchID () const
 Return ID of curtain in cylinder patch.
const polyPatchID & curtainInPortPatchID () const
 Return ID of curtain in port patch.
const polyPatchID & detachInCylinderPatchID () const
 Return ID of detach in cylinder patch.
const polyPatchID & detachInPortPatchID () const
 Return ID of detach in port patch.
const labelList & detachFaces () 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 word& name (  )  const [inline]

Return name.

Definition at line 199 of file engineValve.H.

const coordinateSystem& cs (  )  const [inline]

Return coordinate system.

Definition at line 205 of file engineValve.H.

const graph& liftProfile (  )  const [inline]

Return lift profile.

Definition at line 211 of file engineValve.H.

scalar diameter (  )  const [inline]

Return valve diameter.

Definition at line 217 of file engineValve.H.

const polyPatchID& bottomPatchID (  )  const [inline]

Return ID of bottom patch.

Definition at line 226 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.

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.

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.

const labelList& detachFaces (  )  const [inline]

Return face labels of detach curtain.

Definition at line 269 of file engineValve.H.

scalar minTopLayer (  )  const [inline]

Definition at line 277 of file engineValve.H.

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 maxBottomLayer (  )  const [inline]

Definition at line 292 of file engineValve.H.

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.

(stem is excluded)

void writeDict ( Ostream &   )  const

Write dictionary.


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd