

Public Member Functions | |
| pistonObject (const word &name, const multiValveEngine &engine, const dictionary &dict) | |
| Construct from dictionary. More... | |
| scalar | position (const scalar theta) const |
| Return the piston position for the given CA theta. More... | |
| scalar | position () const |
| Return the current piston position. More... | |
| scalar | displacement () const |
| Return piston displacement for current time-step. More... | |
| scalar | speed () const |
| Return piston position for current time-step. More... | |
| scalar | clearance () const |
| Return clearance estimate. More... | |
| void | updatePoints (pointField &) |
| update points due to piston motion More... | |
| virtual void | mapMesh (const polyMeshMap &) |
| Update from another mesh using the given map. 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... | |
Static Public Attributes | |
| static word | pistonBowlName |
| Name of the piston bowl pointZone. 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 | |
| const multiValveEngine & | meshMover_ |
| Reference to engine mesh mover. More... | |
| autoPtr< Function1< scalar > > | motion_ |
| Piston motion function. More... | |
| wordReList | patchNames_ |
| Object patchNames. 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... | |
| const scalar | cosineScale_ |
| Cosine scale for the boundary point motion, between 0 and 1. 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 378 of file multiValveEngine.H.
| pistonObject | ( | const word & | name, |
| const multiValveEngine & | engine, | ||
| const dictionary & | dict | ||
| ) |
| Foam::scalar position | ( | const scalar | theta | ) | const |
Return the piston position for the given CA theta.
Definition at line 109 of file piston.C.
Referenced by multiValveEngineState::write().

| Foam::scalar position | ( | ) | const |
Return the current piston position.
Definition at line 119 of file piston.C.
References Foam::tracking::position().

| Foam::scalar displacement | ( | ) | const |
Return piston displacement for current time-step.
Definition at line 126 of file piston.C.
References Foam::tracking::position().
Referenced by multiValveEngineState::write().


| Foam::scalar speed | ( | ) | const |
Return piston position for current time-step.
Definition at line 134 of file piston.C.
Referenced by multiValveEngineState::write().

| Foam::scalar clearance | ( | ) | const |
Return clearance estimate.
Definition at line 141 of file piston.C.
References Foam::mag(), and Foam::tracking::position().
Referenced by multiValveEngineState::write().


| void updatePoints | ( | pointField & | newPoints | ) |
update points due to piston motion
Definition at line 157 of file piston.C.
References Foam::endl(), Foam::Info, Foam::mag(), DemandDrivenMeshObject< polyMesh, RepatchableMeshObject, pointMesh >::New(), points, Foam::tracking::position(), and Foam::transformPoints().

|
virtual |
Update from another mesh using the given map.
Reimplemented from multiValveEngine::movingObject.
Definition at line 215 of file piston.C.
References multiValveEngine::movingObject::mapMesh().

|
static |
Name of the piston bowl pointZone.
Definition at line 405 of file multiValveEngine.H.
Referenced by pistonBowlPoints::generate().