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])