50 return motion_->value(theta);
56 return lift(meshMover_.userTime()) >= minLift_;
64 lift(meshMover_.userTime()),
77 lift(meshMover_.userTime() - meshMover_.userDeltaT()),
80 )/(meshMover_.mesh().time().deltaTValue() + vSmall);
88 lift(meshMover_.userTime() - meshMover_.userDeltaT())
89 - lift(meshMover_.userTime());
101 const scalar position = this->lift();
107 ||
mag(position - position0_) > travelInterval_
136 movingFrozenLayerThickness_,
138 staticFrozenLayerThickness_
141 position0_ = position;
144 const vector translationVector(displacement()*axis);
static pointMesh & New(const word &name, const polyMesh &mesh)
Construct and return the named DemandDrivenMeshObject.
A list of keyword definitions, which are a keyword followed by any number of values (e....
bool isOpen() const
Is the valve open?
valveObject(const word &name, const multiValveEngine &engine, const dictionary &dict)
Construct from dictionary.
scalar displacement() const
Return valve displacement for current time-step.
void updatePoints(pointField &)
update points due to valve motion
scalar speed() const
Return current valve speed.
scalar lift() const
Return current valve position.
A mesh mover using explicit node translation based on scaled distance functions per moving object....
Calculates the distance to the specified sets of patch and pointZone points or for all points.
Mesh representing a set of points created from polyMesh.
A class for handling words, derived from string.
void transformPoints(vectorField &, const spatialTransform &, const vectorField &)
Transform given vectorField of coordinates with the given spatialTransform.
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimLength
dimensioned< scalar > mag(const dimensioned< Type > &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)