33 namespace pointMeshMovers
91 (xFixed_ - (axis_ & curPoints[i]))/(xFixed_ - xMoving_);
110 <<
"Mesh-to-mesh mapping in not implemented for displacement solvers"
112 <<
" velocity based motion solvers are preferable for cases in which"
113 " the mesh is reset periodically avoiding accumulation of error."
#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.
Abstract base class for pointMesh movers.
Abstract base class for displacement pointMesh movers.
Mesh motion solver simple linear expansion and contraction of a mesh region defined by a motion axis ...
virtual tmp< pointField > newPoints()
Return point location obtained from the current motion field.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map (not implemented)
~linearDisplacement()
Destructor.
linearDisplacement(const polyMesh &, const dictionary &)
Construct from polyMesh and dictionary.
Class containing mesh-to-mesh mapping information.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedScalar lambda(viscosity->lookup("lambda"))
const dimensionSet dimless
addToRunTimeSelectionTable(pointMeshMover, externalDisplacement, dictionary)
defineTypeNameAndDebug(externalDisplacement, 0)
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const dimensionSet & dimLength
vectorField pointField
pointField is a vectorField.
dimensionSet normalised(const dimensionSet &)
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)