51 void Foam::fv::fixedValueConstraint::readCoeffs()
59 objectFunction1::New<VolField>
62 coeffs().subDict(
"fieldValues"),
73 bool Foam::fv::fixedValueConstraint::constrainType
79 const scalar t =
mesh().time().value();
84 List<Type>(set_.cells().size(), fieldValues_[fieldName]->value<Type>(t))
87 return set_.cells().size();
96 const word& modelType,
112 return fieldValues_.toc();
125 set_.updateMesh(mpm);
FOR_ALL_FIELD_TYPES(IMPLEMENT_FV_CONSTRAINT_CONSTRAIN, fv::fixedValueConstraint)
defineTypeNameAndDebug(fixedTemperatureConstraint, 0)
A list of keyword definitions, which are a keyword followed by any number of values (e...
Constrain the field values within a specified region.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Macros for easy insertion into run-time selection tables.
virtual void updateMesh(const mapPolyMesh &)
Update for mesh changes.
virtual wordList constrainedFields() const
Return the list of fields constrained by the fvConstraint.
virtual bool read(const dictionary &dict)
Read source dictionary.
#define IMPLEMENT_FV_CONSTRAINT_CONSTRAIN(Type, constraintType)
A class for handling words, derived from string.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
addToRunTimeSelectionTable(fvConstraint, fixedTemperatureConstraint, dictionary)
fixedValueConstraint(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
Mesh data needed to do the Finite Volume discretisation.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
virtual bool read(const dictionary &dict)
Read source dictionary.
Finite volume options abstract base class.