A sampledSurface defined by a plane. More...


Public Member Functions | |
| TypeName ("cutPlane") | |
| Runtime type information. More... | |
| cutPlane (const word &name, const polyMesh &mesh, const dictionary &dict) | |
| Construct from dictionary. More... | |
| virtual | ~cutPlane () |
| Destructor. More... | |
| virtual bool | needsUpdate () const |
| Does the surface need an update? More... | |
| virtual void | print (Ostream &) const |
| Write. More... | |
Public Member Functions inherited from sampledIsoSurfaceSurface | |
| TypeName ("sampledIsoSurfaceSurface") | |
| Runtime type information. More... | |
| sampledIsoSurfaceSurface (const word &name, const polyMesh &mesh, const dictionary &dict) | |
| Construct from dictionary. More... | |
| virtual | ~sampledIsoSurfaceSurface () |
| Destructor. More... | |
| virtual bool | update () |
| Update the surface as required. More... | |
| virtual bool | update () const |
| Update the surface as required. More... | |
| virtual const pointField & | points () const |
| Points of surface. More... | |
| virtual const faceList & | faces () const |
| Faces of surface. More... | |
| FOR_ALL_FIELD_TYPES (DEFINE_SAMPLE) | |
| FOR_ALL_FIELD_TYPES (DEFINE_INTERPOLATE) | |
| virtual void | movePoints () |
| Update for mesh point-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... | |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | sampleField (const VolField< Type > &vField) const |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | interpolateField (const interpolation< Type > &interpolator) const |
Public Member Functions inherited from sampledSurface | |
| TypeName ("sampledSurface") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, sampledSurface, word,(const word &name, const polyMesh &mesh, const dictionary &dict),(name, mesh, dict)) | |
| Declare run-time constructor selection table. More... | |
| sampledSurface (const word &name, const polyMesh &, const bool interpolate=false) | |
| Construct from name, mesh. More... | |
| sampledSurface (const word &name, const polyMesh &, const dictionary &) | |
| Construct from dictionary. More... | |
| autoPtr< sampledSurface > | clone () const |
| Clone. More... | |
| virtual | ~sampledSurface () |
| Destructor. More... | |
| const polyMesh & | mesh () const |
| Access to the underlying mesh. More... | |
| const word & | name () const |
| Name of surface. More... | |
| bool | interpolate () const |
| Interpolation requested for surface. More... | |
| virtual wordList | fields () const |
| Return the list of fields required. More... | |
| virtual const vectorField & | Sf () const |
| Return face area vectors. More... | |
| virtual const scalarField & | magSf () const |
| Return face area magnitudes. More... | |
| virtual const vectorField & | Cf () const |
| Return face centres as vectorField. More... | |
| scalar | area () const |
| The total surface area. More... | |
| template<class Type > | |
| Type | integrate (const Field< Type > &) const |
| Integration of a field across the surface. More... | |
| template<class Type > | |
| Type | integrate (const tmp< Field< Type >> &) const |
| Integration of a field across the surface. More... | |
| template<class Type > | |
| Type | average (const Field< Type > &) const |
| Area-averaged value of a field across the surface. More... | |
| tmp< Field< scalar > > | project (const Field< scalar > &) const |
| Project field onto surface. More... | |
| tmp< Field< scalar > > | project (const Field< vector > &) const |
| Project field onto surface. More... | |
| tmp< Field< vector > > | project (const Field< sphericalTensor > &) const |
| Project field onto surface. More... | |
| tmp< Field< vector > > | project (const Field< symmTensor > &) const |
| Project field onto surface. More... | |
| tmp< Field< vector > > | project (const Field< tensor > &) const |
| Project field onto surface. More... | |
| template<class Type > | |
| Type | average (const tmp< Field< Type >> &) const |
| Area-averaged value of a field across the surface. More... | |
| FOR_ALL_FIELD_TYPES (DEFINE_SAMPLE) | |
| FOR_ALL_FIELD_TYPES (DEFINE_INTERPOLATE) | |
| virtual void | rename (const word &newName) |
| Rename. More... | |
| template<class ReturnType , class Type > | |
| Foam::tmp< Foam::Field< ReturnType > > | project (const tmp< Field< Type >> &field) const |
Additional Inherited Members | |
Static Public Member Functions inherited from sampledSurface | |
| static autoPtr< sampledSurface > | New (const word &name, const polyMesh &, const dictionary &) |
| Return a reference to the selected surface. More... | |
Protected Member Functions inherited from sampledIsoSurfaceSurface | |
| autoPtr< cutPolyIsoSurface > | calcIsoSurf (const scalarField &pointValues, const scalar isoValue) const |
| Generate the iso-surface for given point and iso-values. More... | |
| const label & | timeIndex () const |
| Access the time index. More... | |
Protected Member Functions inherited from sampledSurface | |
| virtual void | clearGeom () const |
A sampledSurface defined by a plane.
Example:
{
type cutPlane;
point (0 0 0);
normal (0 0 1);
interpolate yes;
}
| Property | Description | Required | Default value |
|---|---|---|---|
planeType | Method of specification. E.g., pointAndNormal. | no | |
point | A point in the plane (for pointAndNormal) | yes | |
normal | A vector normal to the plane (for pointAndNormal) | yes | |
interpolate | Interpolate values to the surface points? | no | no |
cellZone | Zone containing cells to include | no | all |
Note: there are also other options for planeType, including 'planeEquation' and 'embeddedPoints'.
Definition at line 104 of file sampledCutPlane.H.
| cutPlane | ( | const word & | name, |
| const polyMesh & | mesh, | ||
| const dictionary & | dict | ||
| ) |
Construct from dictionary.
Definition at line 73 of file sampledCutPlane.C.
|
virtual |
Destructor.
Definition at line 87 of file sampledCutPlane.C.
| TypeName | ( | "cutPlane" | ) |
Runtime type information.
|
virtual |
Does the surface need an update?
Implements sampledSurface.
Definition at line 93 of file sampledCutPlane.C.
References timeIndex.
|
virtual |
Write.
Reimplemented from sampledSurface.
Definition at line 99 of file sampledCutPlane.C.
References Foam::name(), and points.
