Public Member Functions | List of all members
engineValve Class Reference

Foam::engineValve. More...

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)
 
 engineValve (const word &name, const polyMesh &mesh, const dictionary &dict)
 
 ~engineValve ()=default
 
const wordname () const
 
const coordinateSystemcs () const
 
const graphliftProfile () const
 
scalar diameter () const
 
const polyPatchIDbottomPatchID () const
 
const polyPatchIDpoppetPatchID () const
 
const polyPatchIDstemPatchID () const
 
const polyPatchIDcurtainInCylinderPatchID () const
 
const polyPatchIDcurtainInPortPatchID () const
 
const polyPatchIDdetachInCylinderPatchID () const
 
const polyPatchIDdetachInPortPatchID () const
 
const labelListdetachFaces () const
 
scalar minTopLayer () const
 
scalar maxTopLayer () const
 
scalar minBottomLayer () const
 
scalar maxBottomLayer () const
 
scalar lift (const scalar theta) const
 
bool isOpen () const
 
scalar curLift () const
 
scalar curVelocity () const
 
labelList movingPatchIDs () const
 
void writeDict (Ostream &os) const
 

Detailed Description

Foam::engineValve.

Source files

Definition at line 53 of file engineValve.H.

Constructor & Destructor Documentation

◆ engineValve() [1/2]

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 
)

Definition at line 63 of file engineValve.C.

◆ engineValve() [2/2]

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

Definition at line 109 of file engineValve.C.

◆ ~engineValve()

~engineValve ( )
default

Member Function Documentation

◆ name()

const word& name ( ) const
inline

Definition at line 186 of file engineValve.H.

◆ cs()

const coordinateSystem& cs ( ) const
inline

Definition at line 192 of file engineValve.H.

◆ liftProfile()

const graph& liftProfile ( ) const
inline

Definition at line 198 of file engineValve.H.

◆ diameter()

scalar diameter ( ) const
inline

Definition at line 204 of file engineValve.H.

◆ bottomPatchID()

const polyPatchID& bottomPatchID ( ) const
inline

Definition at line 213 of file engineValve.H.

◆ poppetPatchID()

const polyPatchID& poppetPatchID ( ) const
inline

Definition at line 219 of file engineValve.H.

◆ stemPatchID()

const polyPatchID& stemPatchID ( ) const
inline

Definition at line 225 of file engineValve.H.

◆ curtainInCylinderPatchID()

const polyPatchID& curtainInCylinderPatchID ( ) const
inline

Definition at line 231 of file engineValve.H.

◆ curtainInPortPatchID()

const polyPatchID& curtainInPortPatchID ( ) const
inline

Definition at line 237 of file engineValve.H.

◆ detachInCylinderPatchID()

const polyPatchID& detachInCylinderPatchID ( ) const
inline

Definition at line 244 of file engineValve.H.

◆ detachInPortPatchID()

const polyPatchID& detachInPortPatchID ( ) const
inline

Definition at line 250 of file engineValve.H.

◆ detachFaces()

const labelList& detachFaces ( ) const
inline

Definition at line 256 of file engineValve.H.

◆ minTopLayer()

scalar minTopLayer ( ) const
inline

Definition at line 264 of file engineValve.H.

◆ maxTopLayer()

scalar maxTopLayer ( ) const
inline

Definition at line 269 of file engineValve.H.

◆ minBottomLayer()

scalar minBottomLayer ( ) const
inline

Definition at line 274 of file engineValve.H.

◆ maxBottomLayer()

scalar maxBottomLayer ( ) const
inline

Definition at line 279 of file engineValve.H.

◆ lift()

Foam::scalar lift ( const scalar  theta) const

Definition at line 172 of file engineValve.C.

References Foam::interpolateXY().

Here is the call graph for this function:

◆ isOpen()

bool isOpen ( ) const

Definition at line 183 of file engineValve.C.

◆ curLift()

Foam::scalar curLift ( ) const

Definition at line 189 of file engineValve.C.

References Foam::max().

Here is the call graph for this function:

◆ curVelocity()

Foam::scalar curVelocity ( ) const

Definition at line 199 of file engineValve.C.

References Foam::max().

Here is the call graph for this function:

◆ movingPatchIDs()

Foam::labelList movingPatchIDs ( ) const

Definition at line 213 of file engineValve.C.

References List::setSize().

Here is the call graph for this function:

◆ writeDict()

void writeDict ( Ostream os) const

Definition at line 236 of file engineValve.C.

References token::BEGIN_BLOCK, token::END_BLOCK, token::END_STATEMENT, Foam::endl(), OFstream::name(), Foam::name(), Foam::nl, and os().

Here is the call graph for this function:

The documentation for this class was generated from the following files: