38 displacementLinearMotionMotionSolver,
56 xFixed_(coeffDict().lookup<scalar>(
"xFixed")),
57 xMoving_(coeffDict().lookup<scalar>(
"xMoving")),
79 const scalar displacement = displacement_->value(t);
84 (xFixed_ - (axis_ & curPoints[i]))/(xFixed_ - xMoving_);
88 curPoints[i] += axis_*displacement;
92 curPoints[i] += axis_*lambda*displacement;
Run-time selectable general function of one variable.
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by any number of values (e...
T & ref() const
Return non-const reference or generate a fatal error.
dimensionedScalar lambda(viscosity->lookup("lambda"))
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
Vector< scalar > vector
A scalar version of the templated Vector.
const Time & time() const
Return the top-level database.
Macros for easy insertion into run-time selection tables.
scalar userTimeValue() const
Return current user time value.
vectorField pointField
pointField is a vectorField.
stressControl lookup("compactNormalStress") >> compactNormalStress
Form normalised(const VectorSpace< Form, Cmpt, Ncmpts > &vs)
A class for handling words, derived from string.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
Virtual base class for displacement motion solvers.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
~displacementLinearMotionMotionSolver()
Destructor.
displacementLinearMotionMotionSolver(const word &name, const polyMesh &, const dictionary &)
Construct from polyMesh and dictionary.