Go to the documentation of this file.
45 displacementMethodelasticityMotionSolver,
51 displacementMethodelasticityMotionSolver::
52 displacementMethodelasticityMotionSolver
59 pointMotionU_(refCast<elasticityMotionSolver>(motionPtr_()).pointMotionU()),
60 cellMotionU_(refCast<elasticityMotionSolver>(motionPtr_()).cellMotionU()),
112 cellMotionU_.correctBoundaryConditions();
115 maxDisplacement_ = SMALL;
120 for (label patchI : patchIDs_)
123 pointMotionU_.boundaryFieldRef()[patchI] ==
124 pointMovement.
boundaryField()[patchI].patchInternalField()();
128 pointMotionU_.boundaryFieldRef()[patchI].setInInternalField
130 pointMotionU_.primitiveFieldRef(),
143 pointMotionU_.boundaryField()[patchI].
152 for (label patchI : patchIDs_)
158 bField[fI] =
patch[fI].average(
points, pointMovement);
169 auto cellMotionUbf = cellMotionU_.boundaryFieldRef();
175 label patchI = patchIDs_[pI];
178 cellMotionUbf[patchI] == cellMovement.
boundaryField()[patchI];
187 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...
#define forAll(list, i)
Loop across all elements in list.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
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.
Macros for easy insertion into run-time selection tables.
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.
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
defineTypeNameAndDebug(combustionModel, 0)
Type gMax(const FieldField< Field, Type > &f)
const Boundary & boundaryField() const
Return const-reference to the boundary field.