Go to the documentation of this file.
45 velocityLaplacianFvMotionSolver,
53 Foam::velocityLaplacianFvMotionSolver::velocityLaplacianFvMotionSolver
66 mesh.time().timeName(),
68 IOobject::READ_IF_PRESENT,
73 cellMotionBoundaryTypes<vector>(pointMotionU_.boundaryField())
77 coeffDict().
found(
"interpolation")
99 interpolationPtr_->interpolate
108 + fvMesh_.time().deltaTValue()*pointMotionU_.primitiveField()
111 twoDCorrectPoints(tcurPoints.ref());
121 movePoints(fvMesh_.points());
123 diffusivityPtr_->correct();
124 pointMotionU_.boundaryFieldRef().updateCoeffs();
130 getOrDefault<label>(
"nNonOrthogonalCorrectors", 1)
140 * diffusivityPtr_->operator()(),
142 "laplacian(diffusivity,cellMotionU)"
164 diffusivityPtr_.reset(
nullptr);
168 coeffDict().
lookup(
"diffusivity")
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,...
void correct(GeometricField< Type, fvPatchField, volMesh > &field)
Apply correction to field.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
void constrain(fvMatrix< Type > &eqn)
Apply constraints to equation.
static options & New(const fvMesh &mesh)
Construct fvOptions and register to database if not present.
SolverPerformance< Type > solveSegregatedOrCoupled(const dictionary &)
Solve segregated or coupled returning the solution statistics.
Virtual base class for velocity motion solver.
Mesh consisting of general polyhedral cells.
dimensioned< vector > dimensionedVector
Dimensioned vector obtained from generic dimensioned type.
Base class for fvMesh based motionSolvers.
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
~velocityLaplacianFvMotionSolver()
Destructor.
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
const cellModel * lookup(const word &modelName)
Deprecated(2017-11) equivalent to cellModel::ptr static method.
Calculate the matrix for the laplacian of the field.
static autoPtr< motionDiffusivity > New(const fvMesh &mesh, Istream &mdData)
Select null constructed.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimViscosity
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
Macros for easy insertion into run-time selection tables.
virtual void updateMesh(const mapPolyMesh &)
Update topology.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
const dictionary & solverDict() const
Return the solver dictionary taking into account finalIteration.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void solve()
Solve for motion.
defineTypeNameAndDebug(combustionModel, 0)