Public Member Functions | |
valveObject (const word &name, const multiValveEngine &engine, const dictionary &dict) | |
Construct from dictionary. More... | |
autoPtr< valveObject > | clone () const |
Dummy clone function for PtrList. More... | |
scalar | lift (const scalar theta) const |
Return valve position for the given time. More... | |
scalar | lift () const |
Return current valve position. More... | |
scalar | speed () const |
Return current valve speed. More... | |
scalar | displacement () const |
Return valve displacement for current time-step. More... | |
bool | isOpen () const |
Is the valve open? More... | |
void | updatePoints (pointField &) |
update points due to valve motion More... | |
Public Member Functions inherited from multiValveEngine::movingObject | |
movingObject (const word &name, const multiValveEngine &engine, const dictionary &dict) | |
Construct from dictionary. More... | |
virtual | ~movingObject () |
Destructor. More... | |
virtual void | mapMesh (const polyMeshMap &) |
Update from another mesh using the given map. More... | |
Additional Inherited Members | |
Public Attributes inherited from multiValveEngine::movingObject | |
const word | name |
Name of the object. More... | |
const vector | axis |
Axis. More... | |
const labelHashSet & | patchSet |
Object patchSet. More... | |
Protected Member Functions inherited from multiValveEngine::movingObject | |
void | calcScale (const pointMesh &pMesh, const scalarField &pDistMoving, const scalarField &pDistStatic, scalar dMoving, scalar dMax, scalar dStatic) |
Scale the mesh point deformation with distance functions. More... | |
void | transformPoints (pointField &newPoints, const vector &translationVector) |
void | createStaticPatchSet () |
Generate staticPatchSet_ based on patch entries. More... | |
void | initPatchSets () |
Patch-set construction. More... | |
labelHashSet | movingPointZones () const |
labelHashSet | staticPointZones () const |
Protected Attributes inherited from multiValveEngine::movingObject | |
dictionary | dict_ |
Coefficients dictionary. More... | |
const multiValveEngine & | meshMover_ |
Reference to engine mesh mover. More... | |
autoPtr< Function1< scalar > > | motion_ |
Piston motion function. More... | |
labelHashSet | patchSet_ |
Object patchSet. More... | |
labelHashSet | staticPatchSet_ |
Patches which must not deform during mesh motion. More... | |
scalar | maxMotionDistance_ |
Distance from object beyond which the mesh does not deform. More... | |
scalar | movingFrozenLayerThickness_ |
Distance from object within mesh nodes move. More... | |
scalar | staticFrozenLayerThickness_ |
Distance from static wall patch at domain perimeter. More... | |
wordReList | movingPointZones_ |
wordReList | frozenPointZones_ |
labelList | pointIDs_ |
Points to move when cell zone is supplied. More... | |
pointScalarField | scale_ |
Interpolation scale (1 at moving patches, 0 at far-field) More... | |
Switch | cosine_ |
Switch to use cosine-based scaling. More... | |
const scalar | travelInterval_ |
Update the scale_ field when the travel exceeds travelInterval. More... | |
label | executionCount_ |
Count of the scale_ field updates. More... | |
scalar | position0_ |
Position at last scale update. More... | |
Definition at line 446 of file multiValveEngine.H.
valveObject | ( | const word & | name, |
const multiValveEngine & | engine, | ||
const dictionary & | dict | ||
) |
|
inline |
Dummy clone function for PtrList.
Definition at line 473 of file multiValveEngine.H.
References NotImplemented.
Foam::scalar lift | ( | const scalar | theta | ) | const |
Return valve position for the given time.
Definition at line 45 of file valve.C.
Referenced by multiValveEngineState::write().
Foam::scalar lift | ( | ) | const |
Return current valve position.
Definition at line 60 of file valve.C.
References Foam::max().
Foam::scalar speed | ( | ) | const |
Return current valve speed.
Definition at line 70 of file valve.C.
References Foam::max().
Referenced by multiValveEngineState::write().
Foam::scalar displacement | ( | ) | const |
Return valve displacement for current time-step.
Definition at line 85 of file valve.C.
Referenced by multiValveEngineState::write().
bool isOpen | ( | ) | const |
Is the valve open?
Definition at line 54 of file valve.C.
Referenced by multiValveEngineState::write().
void updatePoints | ( | pointField & | newPoints | ) |
update points due to valve motion
Definition at line 93 of file valve.C.
References Foam::mag(), DemandDrivenMeshObject< polyMesh, RepatchableMeshObject, pointMesh >::New(), points, and Foam::transformPoints().