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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
~displacementLinearMotionSolver()
Destructor.
displacementLinearMotionSolver(const word &name, const polyMesh &, const dictionary &)
Construct from polyMesh and dictionary.
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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
dimensionedScalar lambda(viscosity->lookup("lambda"))
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
const dimensionSet dimless
const dimensionSet dimLength
vectorField pointField
pointField is a vectorField.
dimensionSet normalised(const dimensionSet &)
defineTypeNameAndDebug(combustionModel, 0)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.