Go to the documentation of this file.
44 displacementMethodelasticityMotionSolver,
50 displacementMethodelasticityMotionSolver::
51 displacementMethodelasticityMotionSolver
58 pointMotionU_(refCast<elasticityMotionSolver>(motionPtr_()).pointMotionU()),
59 cellMotionU_(refCast<elasticityMotionSolver>(motionPtr_()).cellMotionU()),
111 cellMotionU_.correctBoundaryConditions();
114 maxDisplacement_ = SMALL;
119 for (
label patchI : patchIDs_)
122 pointMotionU_.boundaryFieldRef()[patchI] ==
123 pointMovement.
boundaryField()[patchI].patchInternalField()();
127 pointMotionU_.boundaryFieldRef()[patchI].setInInternalField
129 pointMotionU_.primitiveFieldRef(),
142 pointMotionU_.boundaryField()[patchI].
151 for (
label patchI : patchIDs_)
157 bField[fI] =
patch[fI].average(
points, pointMovement);
168 auto cellMotionUbf = cellMotionU_.boundaryFieldRef();
174 label patchI = patchIDs_[pI];
177 cellMotionUbf[patchI] == cellMovement.
boundaryField()[patchI];
186 mag(cellMotionUbf[patchI])
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Abstract base class for displacement methods, which are a set or wrapper classes allowing to change t...
T lookupOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
#define forAll(list, i)
Loop across all elements in list.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A patch is a list of labels that address the faces in the global face list.
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
void setMotionField(const pointVectorField &pointMovement)
Set motion filed related to model based on given motion.
void setControlField(const vectorField &controlField)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Mesh data needed to do the Finite Volume discretisation.
const std::string patch
OpenFOAM patch number as a std::string.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const Time & time() const
Return the top-level database.
static const Vector< scalar > zero
const word & constant() const
Return constant name.
defineTypeNameAndDebug(combustionModel, 0)
Type gMax(const FieldField< Field, Type > &f)
const Boundary & boundaryField() const
Return const-reference to the boundary field.