56 xFixed_(coeffDict().lookup<scalar>(
"xFixed",
dimLength)),
57 xMoving_(coeffDict().lookup<scalar>(
"xMoving",
dimLength)),
63 mesh.time().userUnits(),
86 const scalar displacement = displacement_->value(mesh().time().value());
91 (xFixed_ - (axis_ & curPoints[i]))/(xFixed_ - xMoving_);
95 curPoints[i] += axis_*displacement;
99 curPoints[i] += axis_*
lambda*displacement;
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Run-time selectable general function of one variable.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh motion solver simple linear expansion and contraction of a mesh region defined by a motion axis ...
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
displacementLinearMotionMotionSolver(const word &name, const polyMesh &, const dictionary &)
Construct from polyMesh and dictionary.
~displacementLinearMotionMotionSolver()
Destructor.
Virtual base class for mesh motion solver.
Virtual base class for displacement motion solvers.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
dimensionedScalar lambda(viscosity->lookup("lambda"))
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimless
const dimensionSet dimLength
vectorField pointField
pointField is a vectorField.
dimensionSet normalised(const dimensionSet &)
defineTypeNameAndDebug(combustionModel, 0)