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();
136 movingFrozenLayerThickness_,
138 staticFrozenLayerThickness_
144 const vector translationVector(displacement()*axis);
static pointMesh & New(const word &name, const polyMesh &mesh)
Construct and return the named DemandDrivenMeshObject.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
point position(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label facei, const label faceTrii, const scalar stepFraction)
Return the position given the coordinates and tet topology.
void transformPoints(vectorField &, const spatialTransform &, const vectorField &)
Transform given vectorField of coordinates with the given spatialTransform.
const dimensionSet dimLength
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.