50 else if (cmptName ==
"y")
54 else if (cmptName ==
"z")
61 <<
"Given component name " << cmptName <<
" should be x, y or z"
71Foam::componentVelocityMotionSolver::componentVelocityMotionSolver
74 const IOdictionary&
dict,
79 cmptName_(coeffDict().lookup(
"component")),
80 cmpt_(cmpt(cmptName_)),
85 "pointMotionU" + cmptName_,
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
@ MUST_READ
Reading required.
@ AUTO_WRITE
Automatically write from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const Time & time() const noexcept
Return Time associated with the objectRegistry.
Virtual base class for velocity motion solver.
word cmptName_
The component name to solve for.
virtual ~componentVelocityMotionSolver()
Destructor.
virtual void movePoints(const pointField &)
Update local data for geometry changes.
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
direction cmpt_
The component to solve for.
pointScalarField pointMotionU_
Point motion field.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void updateMesh(const mapPolyMesh &)=0
Update local data for topology changes.
const polyMesh & mesh() const
Return reference to mesh.
static autoPtr< motionSolver > New(const polyMesh &)
Select constructed from polyMesh.
motionSolver(const polyMesh &mesh)
Construct from polyMesh.
const dictionary & coeffDict() const
Const access to the coefficients dictionary.
Mesh representing a set of points created from polyMesh.
Mesh consisting of general polyhedral cells.
Lookup type of boundary radiation properties.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
vectorField pointField
pointField is a vectorField.
errorManipArg< error, int > exit(error &err, const int errNo=1)