Finite volume options abstract base class. More...

Classes | |
| class | iNew |
| Return pointer to new fvConstraint object created. More... | |
Public Member Functions | |
| TypeName ("fvConstraint") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, fvConstraint, dictionary,(const word &name, const word &constraintType, const fvMesh &mesh, const dictionary &dict),(name, constraintType, mesh, dict)) | |
| fvConstraint (const word &name, const word &constraintType, const fvMesh &mesh, const dictionary &dict) | |
| Construct from components. More... | |
| autoPtr< fvConstraint > | clone () const |
| Return clone. More... | |
| virtual | ~fvConstraint () |
| Destructor. More... | |
| const word & | name () const |
| Return const access to the source name. More... | |
| const fvMesh & | mesh () const |
| Return const access to the mesh database. More... | |
| const dictionary & | coeffs (const dictionary &) const |
| Return the coefficients sub-dictionary. More... | |
| virtual wordList | constrainedFields () const |
| Return the list of constrained fields. More... | |
| virtual bool | constrainsField (const word &fieldName) const |
| Return true if the given field is constrained. More... | |
| FOR_ALL_FIELD_TYPES (DEFINE_FV_CONSTRAINT_CONSTRAIN) | |
| Apply a constraint to an equation. More... | |
| FOR_ALL_FIELD_TYPES (DEFINE_FV_CONSTRAINT_CONSTRAIN_FIELD) | |
| Apply constraint to a field. More... | |
| virtual bool | movePoints ()=0 |
| Update for mesh motion. More... | |
| virtual void | topoChange (const polyTopoChangeMap &)=0 |
| Update topology using the given map. More... | |
| virtual void | mapMesh (const polyMeshMap &)=0 |
| Update from another mesh using the given map. More... | |
| virtual void | distribute (const polyDistributionMap &)=0 |
| Redistribute or update using the given distribution map. More... | |
| virtual bool | read (const dictionary &dict) |
| Read source dictionary. More... | |
Static Public Member Functions | |
| static autoPtr< fvConstraint > | New (const word &name, const fvMesh &mesh, const dictionary &dict) |
| Return a reference to the selected fvConstraint. More... | |
Finite volume options abstract base class.
Definition at line 56 of file fvConstraint.H.
| fvConstraint | ( | const word & | name, |
| const word & | constraintType, | ||
| const fvMesh & | mesh, | ||
| const dictionary & | dict | ||
| ) |
Construct from components.
Definition at line 60 of file fvConstraint.C.
References Foam::decrIndent(), Foam::endl(), Foam::incrIndent(), Foam::indent(), and Foam::Info.

|
virtual |
Destructor.
Definition at line 140 of file fvConstraint.C.
| TypeName | ( | "fvConstraint" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| fvConstraint | , | ||
| dictionary | , | ||
| (const word &name, const word &constraintType, const fvMesh &mesh, const dictionary &dict) | , | ||
| (name, constraintType, mesh, dict) | |||
| ) |
|
inline |
|
static |
Return a reference to the selected fvConstraint.
Definition at line 79 of file fvConstraint.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::FatalIOError, FatalIOErrorInFunction, Foam::indent(), Foam::Info, Foam::libs, dictionary::lookup(), mesh, Foam::name(), Foam::nl, dlLibraryTable::open(), and string::remove().
Referenced by fvConstraints::fvConstraints(), and fvConstraint::iNew::operator()().


|
inline |
Return const access to the source name.
Definition at line 28 of file fvConstraintI.H.
Referenced by fvConstraints::constrain(), and fvConstraints::read().

|
inline |
Return const access to the mesh database.
Definition at line 34 of file fvConstraintI.H.
Referenced by meanVelocityForce::meanVelocityForce(), and zeroDimensionalFixedPressureConstraint::zeroDimensionalFixedPressureConstraint().

|
inline |
Return the coefficients sub-dictionary.
Definition at line 40 of file fvConstraintI.H.
References dict, and dictionary::optionalSubDict().
Referenced by bound::bound(), fixedTemperature::fixedTemperature(), fixedValueConstraint::fixedValueConstraint(), limitMag::limitMag(), limitPressure::limitPressure(), limitTemperature::limitTemperature(), meanVelocityForce::meanVelocityForce(), patchMeanVelocityForce::patchMeanVelocityForce(), and zeroDimensionalFixedPressureConstraint::zeroDimensionalFixedPressureConstraint().


|
virtual |
Return the list of constrained fields.
Reimplemented in zeroDimensionalFixedPressureConstraint, meanVelocityForce, limitTemperature, limitPressure, limitMag, fixedValueConstraint, fixedTemperature, and bound.
Definition at line 146 of file fvConstraint.C.
References List< word >::null().

|
virtual |
Return true if the given field is constrained.
Definition at line 152 of file fvConstraint.C.
References Foam::findIndex().
Referenced by fvConstraints::constrain().


| FOR_ALL_FIELD_TYPES | ( | DEFINE_FV_CONSTRAINT_CONSTRAIN | ) |
Apply a constraint to an equation.
| FOR_ALL_FIELD_TYPES | ( | DEFINE_FV_CONSTRAINT_CONSTRAIN_FIELD | ) |
Apply constraint to a field.
|
pure virtual |
Update for mesh motion.
Implemented in zeroDimensionalFixedPressureConstraint, meanVelocityForce, limitTemperature, limitPressure, limitMag, fixedValueConstraint, fixedTemperature, and bound.
|
pure virtual |
Update topology using the given map.
Implemented in zeroDimensionalFixedPressureConstraint, meanVelocityForce, limitTemperature, limitPressure, limitMag, fixedValueConstraint, fixedTemperature, and bound.
|
pure virtual |
Update from another mesh using the given map.
Implemented in zeroDimensionalFixedPressureConstraint, meanVelocityForce, limitTemperature, limitPressure, limitMag, fixedValueConstraint, fixedTemperature, and bound.
|
pure virtual |
Redistribute or update using the given distribution map.
Implemented in zeroDimensionalFixedPressureConstraint, meanVelocityForce, limitTemperature, limitPressure, limitMag, fixedValueConstraint, fixedTemperature, and bound.
|
virtual |
Read source dictionary.
Reimplemented in zeroDimensionalFixedPressureConstraint, patchMeanVelocityForce, meanVelocityForce, limitTemperature, limitPressure, limitMag, fixedValueConstraint, fixedTemperature, and bound.
Definition at line 164 of file fvConstraint.C.
Referenced by fvConstraints::read(), bound::read(), fixedTemperature::read(), fixedValueConstraint::read(), limitMag::read(), limitPressure::read(), limitTemperature::read(), meanVelocityForce::read(), and zeroDimensionalFixedPressureConstraint::read().
