45 displacementMethodelasticityMotionSolver,
51 displacementMethodelasticityMotionSolver::
52 displacementMethodelasticityMotionSolver
86 mesh.time().constant(),
90 ).subDict(
"elasticityMotionSolverCoeffs").getOrDefault<bool>
128 pointMovement.
boundaryField()[patchI].patchInternalField()();
180 cellMotionUbf[patchI] == cellMovement.boundaryField()[patchI];
virtual bool preferPointField() const
Whether the motion solver prefers a point of a vol field as input.
const labelList patchIDs(pbm.indices(polyPatchNames, true))
fvPatchField< vector > fvPatchVectorField
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
void setControlField(const vectorField &controlField)
Set control field as a vectorField. For methods working with parameters (RBF etc) ...
GeometricField< vector, fvPatchField, volMesh > volVectorField
Macros for easy insertion into run-time selection tables.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
virtual const pointField & points() const
Return raw points.
#define forAll(list, i)
Loop across all elements in list.
pointVectorField & pointMotionU_
vectorField pointField
pointField is a vectorField.
const polyBoundaryMesh & boundaryMesh() const noexcept
Return boundary mesh.
void setMotionField(const pointVectorField &pointMovement)
Set motion filed related to model based on given motion.
Abstract base class for displacement methods, which are a set or wrapper classes allowing to change t...
Type gMax(const FieldField< Field, Type > &f)
defineTypeNameAndDebug(combustionModel, 0)
volVectorField & cellMotionU_
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field values.
Mesh data needed to do the Finite Volume discretisation.
const std::string patch
OpenFOAM patch number as a std::string.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
void correctBoundaryConditions()
Correct boundary field.
labelList patchIDs_
IDs of the patches to be moved.
Field< vector > vectorField
Specialisation of Field<T> for vector.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Defines the attributes of an object for which implicit objectRegistry management is supported...
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)
static constexpr const zero Zero
Global zero (0)
Mesh deformation based on the linear elasticity equations. The boundary displacement is set as a boun...