Go to the documentation of this file.
45 velocityComponentLaplacianFvMotionSolver,
53 Foam::velocityComponentLaplacianFvMotionSolver::
54 velocityComponentLaplacianFvMotionSolver
66 "cellMotionU" + cmptName_,
67 mesh.time().timeName(),
69 IOobject::READ_IF_PRESENT,
74 cellMotionBoundaryTypes<scalar>(pointMotionU_.boundaryField())
78 coeffDict().
found(
"interpolation")
101 interpolationPtr_->interpolate
113 + fvMesh_.time().deltaTValue()*pointMotionU_.primitiveField()
116 twoDCorrectPoints(tcurPoints.
ref());
126 movePoints(fvMesh_.points());
128 diffusivityPtr_->correct();
129 pointMotionU_.boundaryFieldRef().updateCoeffs();
140 *diffusivityPtr_->operator()(),
142 "laplacian(diffusivity,cellMotionU)"
163 diffusivityPtr_.reset(
nullptr);
167 coeffDict().
lookup(
"diffusivity")
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
virtual void updateMesh(const mapPolyMesh &)
Update local data for topology changes.
vectorField pointField
pointField is a vectorField.
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 component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
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.
~velocityComponentLaplacianFvMotionSolver()
Destructor.
Mesh consisting of general polyhedral cells.
fvScalarMatrix TEqn(fvm::ddt(T)+fvm::div(phi, T) - fvm::laplacian(alphaEff, T)==radiation->ST(rhoCpRef, T)+fvOptions(T))
Base class for fvMesh based motionSolvers.
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.
void replace(const direction, const UList< cmptType > &)
Replace a component field of the field.
Virtual base class for velocity motion solver.
const dimensionSet dimViscosity
Macros for easy insertion into run-time selection tables.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
virtual tmp< pointField > curPoints() const
Return point location obtained from the current motion field.
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)
virtual void updateMesh(const mapPolyMesh &)
Update topology.