Limits the specified pressure field to be between specified minimum and maximum limits. More...


Public Member Functions | |
| TypeName ("limitPressure") | |
| Runtime type information. More... | |
| limitPressure (const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh) | |
| Construct from components. More... | |
| limitPressure (const limitPressure &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~limitPressure () |
| Destructor. More... | |
| virtual wordList | constrainedFields () const |
| Return the list of fields constrained by the fvConstraint. More... | |
| virtual bool | constrain (volScalarField &he) const |
| Constrain the energy field. More... | |
| virtual bool | movePoints () |
| Update for mesh motion. More... | |
| virtual void | topoChange (const polyTopoChangeMap &) |
| Update topology using the given map. More... | |
| virtual void | mapMesh (const polyMeshMap &) |
| Update from another mesh using the given map. More... | |
| virtual void | distribute (const polyDistributionMap &) |
| Redistribute or update using the given distribution map. More... | |
| virtual bool | read (const dictionary &dict) |
| Read dictionary. More... | |
| void | operator= (const limitPressure &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from fvConstraint | |
| TypeName ("fvConstraint") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, fvConstraint, dictionary,(const word &name, const word &constraintType, const dictionary &dict, const fvMesh &mesh),(name, constraintType, dict, mesh)) | |
| fvConstraint (const word &name, const word &constraintType, const dictionary &dict, const fvMesh &mesh) | |
| 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 |
| Return dictionary. 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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from fvConstraint | |
| static autoPtr< fvConstraint > | New (const word &name, const dictionary &dict, const fvMesh &mesh) |
| Return a reference to the selected fvConstraint. More... | |
Limits the specified pressure field to be between specified minimum and maximum limits.
limitp
{
type limitPressure;
// p p_rgh; // Optional entry to specify the pressure
min 200;
max 500;
}
Definition at line 66 of file limitPressure.H.
| limitPressure | ( | const word & | name, |
| const word & | modelType, | ||
| const dictionary & | dict, | ||
| const fvMesh & | mesh | ||
| ) |
Construct from components.
Definition at line 159 of file limitPressure.C.
|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 116 of file limitPressure.H.
References limitPressure::constrain(), limitPressure::constrainedFields(), limitPressure::distribute(), he(), limitPressure::mapMesh(), limitPressure::movePoints(), limitPressure::operator=(), limitPressure::read(), and limitPressure::topoChange().

| TypeName | ( | "limitPressure" | ) |
Runtime type information.
|
virtual |
Return the list of fields constrained by the fvConstraint.
Reimplemented from fvConstraint.
Definition at line 179 of file limitPressure.C.
Referenced by limitPressure::~limitPressure().

|
virtual |
Constrain the energy field.
Definition at line 185 of file limitPressure.C.
References constrained, GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), Foam::endl(), Foam::Info, Foam::max(), and Foam::min().
Referenced by limitPressure::~limitPressure().


|
virtual |
Update for mesh motion.
Implements fvConstraint.
Definition at line 222 of file limitPressure.C.
Referenced by limitPressure::~limitPressure().

|
virtual |
Update topology using the given map.
Implements fvConstraint.
Definition at line 228 of file limitPressure.C.
Referenced by limitPressure::~limitPressure().

|
virtual |
Update from another mesh using the given map.
Implements fvConstraint.
Definition at line 232 of file limitPressure.C.
Referenced by limitPressure::~limitPressure().

|
virtual |
Redistribute or update using the given distribution map.
Implements fvConstraint.
Definition at line 236 of file limitPressure.C.
Referenced by limitPressure::~limitPressure().

|
virtual |
Read dictionary.
Reimplemented from fvConstraint.
Definition at line 241 of file limitPressure.C.
References fvConstraint::read().
Referenced by limitPressure::~limitPressure().


|
delete |
Disallow default bitwise assignment.
Referenced by limitPressure::~limitPressure().
