38 displacementLinearMotionMotionSolver,
46 Foam::displacementLinearMotionMotionSolver::
47 displacementLinearMotionMotionSolver
76 const scalar t = time().value();
78 const scalar displacement = displacement_->value(t);
83 (xFixed_ - (axis_ & curPoints[i]))/(xFixed_ - xMoving_);
87 curPoints[i] += axis_*displacement;
91 curPoints[i] += axis_*lambda*displacement;
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
VectorSpace< Form, Cmpt, Ncmpts > normalised(const VectorSpace< Form, Cmpt, Ncmpts > &vs)
#define forAll(list, i)
Loop across all elements in list.
T & ref() const
Return non-const reference or generate a fatal error.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
Vector< scalar > vector
A scalar version of the templated Vector.
Macros for easy insertion into run-time selection tables.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
vectorField pointField
pointField is a vectorField.
stressControl lookup("compactNormalStress") >> compactNormalStress
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if successful.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
Virtual base class for displacement motion solvers.
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
~displacementLinearMotionMotionSolver()
Destructor.