32 #include "surfaceInterpolate.H" 46 displacementSBRStressFvMotionSolver,
54 Foam::displacementSBRStressFvMotionSolver::displacementSBRStressFvMotionSolver
76 pointDisplacement().dimensions(),
79 cellMotionBoundaryTypes<vector>(pointDisplacement().boundaryField())
108 points0() + pointDisplacement().primitiveField()
111 twoDCorrectPoints(tcurPoints.
ref());
121 movePoints(fvMesh_.points());
123 diffusivityPtr_->correct();
124 pointDisplacement_.boundaryFieldRef().updateCoeffs();
136 "laplacian(diffusivity,cellDisplacement)" 145 cellDisplacement_.mesh().Sf(),
190 diffusivityPtr_.reset(
nullptr);
194 coeffDict().
lookup(
"diffusivity")
virtual void updateMesh(const mapPolyMesh &)
Update topology.
tmp< GeometricField< Type, pointPatchField, pointMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &) const
Interpolate volField using inverse distance weighting.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Virtual base class for displacement motion solver.
~displacementSBRStressFvMotionSolver()
Destructor.
T & ref() const
Return non-const reference or generate a fatal error.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
static tmp< GeometricField< typename innerProduct< vector, Type >::type, fvsPatchField, surfaceMesh > > dotInterpolate(const surfaceVectorField &Sf, const GeometricField< Type, fvPatchField, volMesh > &tvf)
Interpolate field onto faces.
Calculate the matrix for the laplacian of the field.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Macros for easy insertion into run-time selection tables.
static const volPointInterpolation & New(const fvMesh &mesh)
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Base class for fvMesh based motionSolvers.
stressControl lookup("compactNormalStress") >> compactNormalStress
Calculate the gradient of the given field.
SolverPerformance< Type > solve(fvMatrix< Type > &, const dictionary &)
Solve returning the solution statistics given convergence tolerance.
Calculate the laplacian of the given field.
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
Calculate the divergence of the given field.
tmp< GeometricField< Type, PatchField, GeoMesh > > T() const
Return transpose (only if it is a tensor field)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
virtual void solve()
Solve for motion.
const Time & time() const
Return time.
defineTypeNameAndDebug(combustionModel, 0)
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Mesh consisting of general polyhedral cells.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
A class for managing temporary objects.
static autoPtr< motionDiffusivity > New(const fvMesh &mesh, Istream &mdData)
Select null constructed.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...