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(NULL);
194 coeffDict().
lookup(
"diffusivity")
virtual void updateMesh(const mapPolyMesh &)
Update topology.
const Time & time() const
Return time.
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.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
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.
tmp< GeometricField< Type, PatchField, GeoMesh > > T() const
Return transpose (only if it is a tensor field)
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
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...
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.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
tmp< GeometricField< Type, pointPatchField, pointMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &) const
Interpolate volField using inverse distance weighting.
Base class for fvMesh based motionSolvers.
Calculate the divergence of the given field.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
virtual void solve()
Solve for motion.
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.
A class for managing temporary objects.
static autoPtr< motionDiffusivity > New(const fvMesh &mesh, Istream &mdData)
Select null constructed.
T & ref() const
Return non-const reference or generate a fatal error.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.