MRF zone definition based on cell zone and parameters obtained from a control dictionary constructed from the given stream. More...
Public Member Functions | |
| ClassName ("MRFZone") | |
| MRFZone (const word &name, const fvMesh &mesh, const dictionary &dict) | |
| Construct from fvMesh. More... | |
| MRFZone (const MRFZone &)=delete | |
| Disallow default bitwise copy construction. More... | |
| autoPtr< MRFZone > | clone () const |
| Return clone. More... | |
| const word & | name () const |
| Return const access to the MRF region name. More... | |
| vector | Omega () const |
| Return the current Omega vector. More... | |
| void | addCoriolis (const volVectorField &U, volVectorField &ddtU) const |
| Add the Coriolis force contribution to the acceleration field. More... | |
| void | addCentrifugalAcceleration (volVectorField ¢rifugalAcceleration) const |
| Add the centrifugal acceleration. More... | |
| void | makeRelative (volVectorField &U) const |
| Make the given absolute velocity relative within the MRF region. More... | |
| void | makeRelative (surfaceScalarField &phi) const |
| Make the given absolute flux relative within the MRF region. More... | |
| void | makeRelative (FieldField< surfaceMesh::PatchField, scalar > &phi) const |
| Make the given absolute boundary flux relative. More... | |
| void | makeRelative (Field< scalar > &phi, const label patchi) const |
| Make the given absolute patch flux relative. More... | |
| void | makeRelative (const surfaceScalarField &rho, surfaceScalarField &phi) const |
| Make the given absolute mass-flux relative within the MRF region. More... | |
| void | makeRelative (Field< vector > &Up, const label patchi) const |
| Make the given relative patch velocity relative. More... | |
| void | makeAbsolute (volVectorField &U) const |
| Make the given relative velocity absolute within the MRF region. More... | |
| void | makeAbsolute (surfaceScalarField &phi) const |
| Make the given relative flux absolute within the MRF region. More... | |
| void | makeAbsolute (const surfaceScalarField &rho, surfaceScalarField &phi) const |
| Make the given relative mass-flux absolute within the MRF region. More... | |
| void | makeAbsolute (Field< vector > &Up, const label patchi) const |
| Make the given relative patch velocity absolute. More... | |
| template<class Type > | |
| void | zero (SurfaceField< Type > &phi) const |
| Zero the MRF region of the given field. More... | |
| void | update () |
| Update MRFZone faces if the mesh topology changes. More... | |
| bool | read (const dictionary &dict) |
| Read MRF dictionary. More... | |
| void | operator= (const MRFZone &)=delete |
| Disallow default bitwise assignment. More... | |
MRF zone definition based on cell zone and parameters obtained from a control dictionary constructed from the given stream.
The rotation of the MRF region is defined by an origin and axis of rotation and an angular speed.
| MRFZone | ( | const word & | name, |
| const fvMesh & | mesh, | ||
| const dictionary & | dict | ||
| ) |
Construct from fvMesh.
Definition at line 165 of file MRFZone.C.
References Foam::mag().

| ClassName | ( | "MRFZone" | ) |
|
inline |
Return const access to the MRF region name.
Definition at line 26 of file MRFZoneI.H.
Referenced by MRFZoneList::read().

| Foam::vector Omega | ( | ) | const |
| void addCoriolis | ( | const volVectorField & | U, |
| volVectorField & | ddtU | ||
| ) | const |
| void addCentrifugalAcceleration | ( | volVectorField & | centrifugalAcceleration | ) | const |
Add the centrifugal acceleration.
Definition at line 215 of file MRFZone.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryFieldRef(), C::C(), cells, forAll, patchi, and GeometricField< Type, GeoMesh, PrimitiveField >::primitiveFieldRef().

| void makeRelative | ( | volVectorField & | U | ) | const |
| void makeRelative | ( | surfaceScalarField & | phi | ) | const |
| void makeRelative | ( | FieldField< surfaceMesh::PatchField, scalar > & | phi | ) | const |
| void makeRelative | ( | const surfaceScalarField & | rho, |
| surfaceScalarField & | phi | ||
| ) | const |
| void makeAbsolute | ( | volVectorField & | U | ) | const |
| void makeAbsolute | ( | surfaceScalarField & | phi | ) | const |
| void makeAbsolute | ( | const surfaceScalarField & | rho, |
| surfaceScalarField & | phi | ||
| ) | const |
| void zero | ( | SurfaceField< Type > & | phi | ) | const |
Zero the MRF region of the given field.
Definition at line 160 of file MRFZoneTemplates.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryFieldRef(), forAll, patchi, GeometricField< Type, GeoMesh, PrimitiveField >::primitiveFieldRef(), and Foam::Zero.

| void update | ( | ) |
| bool read | ( | const dictionary & | dict | ) |
Read MRF dictionary.
Definition at line 365 of file MRFZone.C.
References dict, and dictionary::read().
Referenced by MRFZoneList::read().


|
delete |
Disallow default bitwise assignment.