Surface, patch or faceZone selection class. More...


Public Types | |
| enum class | selectionTypes { faceZone , patch , patches , sampledSurface } |
| Selection type enumeration. More... | |
| enum class | operationType { none , sum , sumMag , orientedSum , average , areaAverage , areaIntegrate , min , max , minMag , maxMag , CoV , UI , areaNormalAverage , areaNormalIntegrate } |
| Operation type enumeration. More... | |
Public Member Functions | |
| TypeName ("surfaceFieldValue") | |
| Run-time type information. More... | |
| surfaceFieldValue (const word &name, const Time &runTime, const dictionary &dict) | |
| Construct from name, Time and dictionary. More... | |
| surfaceFieldValue (const word &name, const objectRegistry &obr, const dictionary &dict) | |
| Construct from name, objectRegistry and dictionary. More... | |
| virtual | ~surfaceFieldValue () |
| Destructor. More... | |
| template<class Type > | |
| void | writeValues (const word &fieldName, const Field< Type > &values, const scalarField &signs, const scalarField &weights, const vectorField &Sf) |
| Templated helper function to output field values. More... | |
| template<class Type > | |
| tmp< Field< Type > > | filterField (const SurfaceField< Type > &field) const |
| Filter a surface field according to faceIds. More... | |
| template<class Type > | |
| tmp< Field< Type > > | filterField (const VolField< Type > &field) const |
| Filter a volume field according to faceIds. More... | |
| virtual bool | read (const dictionary &) |
| Read from dictionary. More... | |
| virtual bool | write () |
| Calculate and write. More... | |
| virtual void | movePoints (const polyMesh &) |
| 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 > > | getFieldValues (const word &fieldName) const |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | filterField (const VolField< Type > &field) const |
| template<class Type > | |
| Foam::tmp< Foam::Field< Type > > | filterField (const SurfaceField< Type > &field) const |
Public Member Functions inherited from fieldValue | |
| TypeName ("fieldValue") | |
| Run-time type information. More... | |
| declareRunTimeSelectionTable (autoPtr, fieldValue, dictionary,(const word &name, const objectRegistry &obr, const dictionary &dict),(name, obr, dict)) | |
| fieldValue (const word &name, const Time &runTime, const dictionary &dict, const word &valueType) | |
| Construct from Time and dictionary. More... | |
| fieldValue (const word &name, const objectRegistry &obr, const dictionary &dict, const word &valueType) | |
| Construct from objectRegistry and dictionary. More... | |
| virtual | ~fieldValue () |
| Destructor. More... | |
| const dictionary & | dict () const |
| Return the reference to the construction dictionary. More... | |
| virtual wordList | fields () const |
| Return the list of fields required. More... | |
| const Switch & | writeFields () const |
| Return the output field values flag. More... | |
| const dictionary & | resultDict () const |
| Return access to the latest set of results. More... | |
| virtual bool | execute () |
| Execute. More... | |
Public Member Functions inherited from fvMeshFunctionObject | |
| TypeName ("fvMeshFunctionObject") | |
| Runtime type information. More... | |
| fvMeshFunctionObject (const word &name, const Time &runTime, const dictionary &dict) | |
| Construct from Time and dictionary. More... | |
| fvMeshFunctionObject (const word &name, const objectRegistry &obr) | |
| Construct from the region objectRegistry. More... | |
| fvMeshFunctionObject (const fvMeshFunctionObject &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~fvMeshFunctionObject () |
| Destructor. More... | |
| const fvMesh & | mesh () const |
| Return a reference to the mesh. More... | |
| void | operator= (const fvMeshFunctionObject &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from regionFunctionObject | |
| TypeName ("regionFunctionObject") | |
| Runtime type information. More... | |
| regionFunctionObject (const word &name, const Time &runTime, const dictionary &dict) | |
| Construct from Time and dictionary. More... | |
| regionFunctionObject (const word &name, const objectRegistry &obr) | |
| Construct from the region objectRegistry. More... | |
| regionFunctionObject (const regionFunctionObject &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~regionFunctionObject () |
| Destructor. More... | |
| void | operator= (const regionFunctionObject &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from objectRegistryFunctionObject | |
| TypeName ("objectRegistryFunctionObject") | |
| Runtime type information. More... | |
| objectRegistryFunctionObject (const word &name, const objectRegistry &obr, const dictionary &dict) | |
| Construct from an objectRegistry and dictionary. More... | |
| objectRegistryFunctionObject (const word &name, const objectRegistry &obr) | |
| Construct from an objectRegistry. More... | |
| objectRegistryFunctionObject (const objectRegistryFunctionObject &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~objectRegistryFunctionObject () |
| Destructor. More... | |
| void | operator= (const objectRegistryFunctionObject &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from functionObject | |
| ClassName ("functionObject") | |
| virtual const word & | type () const =0 |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, functionObject, dictionary,(const word &name, const Time &runTime, const dictionary &dict),(name, runTime, dict)) | |
| functionObject (const word &name, const Time &runTime) | |
| Construct from components. More... | |
| functionObject (const word &name, const Time &runTime, const dictionary &dict) | |
| Construct from dictionary. More... | |
| autoPtr< functionObject > | clone () const |
| Return clone. More... | |
| functionObject (const functionObject &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~functionObject () |
| Destructor. More... | |
| const word & | name () const |
| Return the name of this functionObject. More... | |
| virtual bool | executeAtStart () const |
| Return true if the functionObject should be executed at the start. More... | |
| virtual bool | end () |
| Called when Time::run() determines that the time-loop exits. More... | |
| virtual scalar | timeToNextAction () |
| Called by Time::adjustTimeStep(). Allows the functionObject to. More... | |
| virtual scalar | maxDeltaT () const |
| Return the maximum time-step for stable operation. More... | |
| void | operator= (const functionObject &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from logFiles | |
| logFiles (const objectRegistry &obr, const word &prefix) | |
| Construct from objectRegistry and prefix. More... | |
| logFiles (const logFiles &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~logFiles () |
| Destructor. More... | |
| const wordList & | toc () const |
| Return the list of log file names. More... | |
| const wordList & | names () const |
| Return the list of log file names. More... | |
| PtrList< OFstream > & | files () |
| Return access to the files. More... | |
| OFstream & | file () |
| Return access to the file (if only 1) More... | |
| OFstream & | file (const label i) |
| Return file 'i'. More... | |
| void | operator= (const logFiles &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from writeFile | |
| writeFile (const objectRegistry &obr, const word &prefix) | |
| Construct from objectRegistry and prefix. More... | |
| writeFile (const writeFile &)=delete | |
| Disallow default bitwise copy construction. More... | |
| ~writeFile () | |
| Destructor. More... | |
| void | initStream (Ostream &os) const |
| Initialise the output stream for writing. More... | |
| fileName | baseFileDir () const |
| Return the base directory for output. More... | |
| fileName | baseTimeDir () const |
| Return the base directory for the current time value. More... | |
| Omanip< int > | valueWidth (const label offset=0) const |
| Return the value width when writing to stream with optional offset. More... | |
| void | writeCommented (Ostream &os, const string &str) const |
| Write a commented string to stream. More... | |
| void | writeTabbed (Ostream &os, const string &str) const |
| Write a tabbed string to stream. More... | |
| void | writeHeader (Ostream &os, const string &str) const |
| Write a commented header to stream. More... | |
| void | writeTime (Ostream &os) const |
| Write the current time to stream. More... | |
| template<class Type > | |
| void | writeHeaderValue (Ostream &os, const string &property, const Type &value) const |
| Write a (commented) header property and value pair. More... | |
| label | charWidth () const |
| Return width of character stream output. More... | |
| void | operator= (const writeFile &)=delete |
| Disallow default bitwise assignment. More... | |
Static Public Attributes | |
| static const NamedEnum< selectionTypes, 4 > | selectionTypeNames |
| Selection type names. More... | |
| static const NamedEnum< operationType, 15 > | operationTypeNames_ |
| Operation type names. More... | |
Static Public Attributes inherited from functionObject | |
| static bool | postProcess |
| Global post-processing mode switch. More... | |
Static Public Attributes inherited from writeFile | |
| static const word | outputPrefix |
| Directory prefix. More... | |
| static label | addChars = 8 |
| Additional characters for writing. More... | |
Protected Member Functions | |
| template<class Type > | |
| bool | validField (const word &fieldName) const |
| Return true if the field name is valid. More... | |
| template<class Type > | |
| tmp< Field< Type > > | getFieldValues (const word &fieldName) const |
| Return field values by looking up field name. More... | |
| template<class Type , class ResultType > | |
| bool | processValues (const Field< Type > &values, const scalarField &signs, const scalarField &weights, const vectorField &Sf, ResultType &result) const |
| Apply the operation to the values, and return true if successful. More... | |
| template<class Type > | |
| bool | processValues (const Field< Type > &values, const scalarField &signs, const scalarField &weights, const vectorField &Sf, Type &result) const |
| Apply Type -> Type operation to the values. Calls. More... | |
| template<class Type > | |
| bool | processValues (const Field< Type > &values, const scalarField &signs, const scalarField &weights, const vectorField &Sf, scalar &result) const |
| Apply Type -> scalar operation to the values. Tries to apply. More... | |
| bool | processValues (const Field< scalar > &values, const scalarField &signs, const scalarField &weights, const vectorField &Sf, scalar &result) const |
| Apply scalar -> scalar operation to the values. Tries to apply. More... | |
| bool | processValues (const Field< vector > &values, const scalarField &signs, const scalarField &weights, const vectorField &Sf, scalar &result) const |
| Apply vector -> scalar operation to the values. Tries to apply. More... | |
| template<class Type > | |
| bool | processValuesTypeType (const Field< Type > &values, const scalarField &signs, const scalarField &weights, const vectorField &Sf, Type &result) const |
| Apply a Type -> Type operation to the values. More... | |
| virtual void | writeFileHeader (const label i) |
| Output file header information. More... | |
| void | moveMesh () |
| Update the surface following mesh motion. More... | |
| void | changeMesh () |
| Update the surface following mesh change. More... | |
Protected Member Functions inherited from objectRegistryFunctionObject | |
| template<class ObjectType > | |
| bool | foundObject (const word &fieldName) const |
| Find field in the objectRegistry. More... | |
| template<class ObjectType > | |
| void | cannotFindObject (const word &fieldName) |
| Prints a warning message that fieldName cannot be found. More... | |
| void | cannotFindObject (const word &fieldName) |
| Prints a warning message that fieldName cannot be found. More... | |
| void | cannotFindObjects (const wordList &fieldNames) |
| Prints a warning message that fieldNames cannot be found. More... | |
| template<class ObjectType > | |
| const ObjectType & | lookupObject (const word &fieldName) const |
| Lookup object from the objectRegistry. More... | |
| template<class ObjectType > | |
| ObjectType & | lookupObjectRef (const word &fieldName) |
| Lookup non-const object reference from the objectRegistry. More... | |
| template<class ObjectType > | |
| ObjectType & | store (const tmp< ObjectType > &tfield) |
| Store the given field in the objectRegistry. More... | |
| template<class ObjectType > | |
| ObjectType & | store (const word &fieldName, const tmp< ObjectType > &tfield, bool cacheable=false) |
| Store the given field in the objectRegistry under the given name. More... | |
| bool | writeObject (const word &fieldName) |
| Write field if present in objectRegistry. More... | |
| bool | clearObject (const word &fieldName) |
| Clear field from the objectRegistry if present. More... | |
Protected Member Functions inherited from logFiles | |
| virtual void | createFiles () |
| Create the output file. More... | |
| virtual void | resetNames (const wordList &names) |
| Reset the list of names from a wordList. More... | |
| virtual void | resetName (const word &name) |
| Reset the list of names to a single name entry. More... | |
Protected Attributes | |
| autoPtr< surfaceWriter > | surfaceWriterPtr_ |
| Surface writer. More... | |
| selectionTypes | selectionType_ |
| Selection type. More... | |
| string | selectionName_ |
| Name of face selection (patch, faceZone, etc.) More... | |
| operationType | operation_ |
| Operation to apply to values. More... | |
| wordList | weightFieldNames_ |
| Weight field names - optional. More... | |
| label | nFaces_ |
| Global number of faces. More... | |
| scalar | area_ |
| Area of the surface. More... | |
| const bool | writeNFaces_ |
| Optionally write the number of faces in the surface. More... | |
| const bool | writeArea_ |
| Optionally write the area of the surface. More... | |
| autoPtr< generatedFaceZone > | faceZonePtr_ |
| The face-zone. More... | |
| wordReList | patchNames_ |
| The name(s) of the patches. More... | |
| labelList | faceId_ |
| Local list of face IDs. More... | |
| labelList | facePatchId_ |
| Local list of patch ID per face. More... | |
| labelList | faceSign_ |
| List of +1/-1 representing face flip map. More... | |
| autoPtr< sampledSurface > | surfacePtr_ |
| Underlying sampledSurface. More... | |
Protected Attributes inherited from fieldValue | |
| const word | valueType_ |
| The name of the type of value (volFieldValue, or surfaceFieldValue) More... | |
| wordList | fields_ |
| List of field names to operate on. More... | |
| Switch | writeFields_ |
| Output field values flag. More... | |
| dictionary | resultDict_ |
| Results dictionary for external access of results. More... | |
Protected Attributes inherited from fvMeshFunctionObject | |
| const fvMesh & | mesh_ |
| Reference to the fvMesh. More... | |
Protected Attributes inherited from objectRegistryFunctionObject | |
| const objectRegistry & | obr_ |
| Reference to the objectRegistry. More... | |
Protected Attributes inherited from functionObject | |
| const Time & | time_ |
| Reference to time. More... | |
Protected Attributes inherited from logFiles | |
| wordList | names_ |
| File names. More... | |
| PtrList< OFstream > | filePtrs_ |
| File pointer. More... | |
Protected Attributes inherited from writeFile | |
| const objectRegistry & | fileObr_ |
| Reference to the region objectRegistry. More... | |
| const word | prefix_ |
| Prefix. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from fieldValue | |
| static autoPtr< fieldValue > | New (const word &name, const objectRegistry &obr, const dictionary &dict, const bool output=true) |
| Return a reference to the selected fieldValue. More... | |
Static Public Member Functions inherited from functionObject | |
| static autoPtr< functionObject > | New (const word &name, const Time &, const dictionary &) |
| Select from dictionary, based on its "type" entry. More... | |
Public Attributes inherited from functionObject | |
| Switch | log |
| Switch write log to Info. More... | |
| Switch | executeAtStart_ |
| Switch execute at start time. More... | |
Surface, patch or faceZone selection class.
Given a list of user-specified fields and a selection of mesh (or general surface) faces, a number of operations can be performed, such as sums, averages and integrals.
For example, to calculate the volumetric or mass flux across a patch, apply the 'orientedSum' operator to the flux field (typically phi)
Examples of function object specification:
movingWallPatch
{
type surfaceFieldValue;
libs ("libfieldFunctionObjects.so");
log true;
writeControl writeTime;
writeFields true;
patch movingWall;
operation areaAverage;
fields
(
p
phi
U
);
}
surfaceFieldValue1
{
type surfaceFieldValue;
libs ("libfieldFunctionObjects.so");
log true;
writeControl writeTime;
writeFields true;
surfaceFormat none;
faceZone f0;
operation sum;
weightField alpha1;
fields
(
p
phi
U
);
}
| Property | Description | Required | Default value |
|---|---|---|---|
type | Type name: surfaceFieldValue | yes | |
log | Write data to standard output | no | no |
writeFields | Write the field values | yes | |
writeNumberOfFaces | Write the number of faces in the surface | no | no |
writeArea | Write the area of the surface | no | no |
surfaceFormat | Output value format | if writeFields | |
operation | Operation to perform | yes | |
weightField | Name of field to apply weighting | no | none |
weightFields | Names of fields to apply weighting | no | none |
fields | List of fields to operate on | yes |
Where the supported selections are:
| faceZone | : | requires a 'faceZone' entry to specify the faceZone or dictionary to specify the zoneGenerator |
| patch | : | requires a 'patch' entry to specify the patch |
| patches | : | requires a 'patches' entry to specify the patches |
| sampledSurface | : | requires a 'sampledSurface' sub-dictionary |
The operation is one of:
| none | : | No operation |
| sum | : | Sum |
| sumMag | : | Sum of component magnitudes |
| orientedSum | : | Sum with face orientations |
| average | : | Ensemble average |
| areaAverage | : | Area weighted average |
| areaIntegrate | : | Area integral |
| min | : | Minimum |
| max | : | Maximum |
| minMag | : | Minimum magnitude |
| maxMag | : | Maximum magnitude |
| CoV | : | Coefficient of variation: (standard deviation)/mean |
| UI | : | Uniformity index: ??? |
| areaNormalAverage | : | Area weighted average in face normal direction |
| areaNormalIntegrate | : | Area weighted integral in face normal direction |
Note:
faceZone can only consist of boundary faces, because only these faces have a value associated with them. No cell-to-face interpolation is performed.sampledSurface sampledSurface has interpolation set to true then the field will be interpolated to the vertices, then averaged onto the surface facesDefinition at line 309 of file surfaceFieldValue.H.
|
strong |
Selection type enumeration.
| Enumerator | |
|---|---|
| faceZone | |
| patch | |
| patches | |
| sampledSurface | |
Definition at line 319 of file surfaceFieldValue.H.
|
strong |
Operation type enumeration.
| Enumerator | |
|---|---|
| none | |
| sum | |
| sumMag | |
| orientedSum | |
| average | |
| areaAverage | |
| areaIntegrate | |
| min | |
| max | |
| minMag | |
| maxMag | |
| CoV | |
| UI | |
| areaNormalAverage | |
| areaNormalIntegrate | |
Definition at line 331 of file surfaceFieldValue.H.
| surfaceFieldValue | ( | const word & | name, |
| const Time & | runTime, | ||
| const dictionary & | dict | ||
| ) |
Construct from name, Time and dictionary.
Definition at line 535 of file surfaceFieldValue.C.
References fieldValue::dict(), and surfaceFieldValue::read().

| surfaceFieldValue | ( | const word & | name, |
| const objectRegistry & | obr, | ||
| const dictionary & | dict | ||
| ) |
Construct from name, objectRegistry and dictionary.
Definition at line 562 of file surfaceFieldValue.C.
References fieldValue::dict(), and surfaceFieldValue::read().

|
virtual |
Destructor.
Definition at line 592 of file surfaceFieldValue.C.
|
protected |
Return true if the field name is valid.
Definition at line 36 of file surfaceFieldValueTemplates.C.
References objectRegistry::foundObject(), objectRegistryFunctionObject::obr_, surfaceFieldValue::sampledSurface, and surfaceFieldValue::selectionType_.

Return field values by looking up field name.
|
protected |
Apply the operation to the values, and return true if successful.
Does nothing unless overloaded below.
Definition at line 134 of file surfaceFieldValueTemplates.C.
|
protected |
Apply Type -> Type operation to the values. Calls.
processValuesTypeType.
Definition at line 148 of file surfaceFieldValueTemplates.C.
|
protected |
Apply Type -> scalar operation to the values. Tries to apply.
Type -> scalar specific operations, otherwise does nothing.
Definition at line 162 of file surfaceFieldValueTemplates.C.
References Foam::gMax(), Foam::gMin(), and Foam::mag().

|
protected |
Apply scalar -> scalar operation to the values. Tries to apply.
scalar -> scalar specific operations, otherwise calls processValuesTypeType.
Definition at line 437 of file surfaceFieldValue.C.
|
protected |
Apply vector -> scalar operation to the values. Tries to apply.
vector -> scalar specific operations, otherwise does nothing.
Definition at line 464 of file surfaceFieldValue.C.
References Foam::gSum(), and Foam::mag().

|
protected |
Apply a Type -> Type operation to the values.
Definition at line 193 of file surfaceFieldValueTemplates.C.
References Foam::fvc::average(), Foam::cmptMag(), Field< Type >::component(), Foam::component(), Foam::gMax(), Foam::gMin(), Foam::gSum(), Foam::mag(), Foam::max(), Foam::min(), Foam::protectedDivide(), Foam::setComponent(), Foam::sqr(), Foam::sqrt(), Foam::stabilise(), Foam::sum(), and Foam::sumMag().

|
protectedvirtual |
Output file header information.
Implements logFiles.
Definition at line 403 of file surfaceFieldValue.C.
References Foam::endl(), Foam::file, forAll, Foam::setw(), and Foam::tab.

|
protected |
Update the surface following mesh motion.
Definition at line 494 of file surfaceFieldValue.C.
References patches.
|
protected |
Update the surface following mesh change.
Definition at line 514 of file surfaceFieldValue.C.
References patches.
| TypeName | ( | "surfaceFieldValue" | ) |
Run-time type information.
| void writeValues | ( | const word & | fieldName, |
| const Field< Type > & | values, | ||
| const scalarField & | signs, | ||
| const scalarField & | weights, | ||
| const vectorField & | Sf | ||
| ) |
Templated helper function to output field values.
Definition at line 312 of file surfaceFieldValueTemplates.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::FOR_ALL_FIELD_TYPES(), and writeValuesFieldType.

| tmp<Field<Type> > filterField | ( | const SurfaceField< Type > & | field | ) | const |
Filter a surface field according to faceIds.
Filter a volume field according to faceIds.
|
virtual |
Read from dictionary.
Reimplemented from fieldValue.
Definition at line 598 of file surfaceFieldValue.C.
References dict, Foam::endl(), forAll, Foam::Info, wordRe::isPattern(), fvPatch::name(), Foam::name(), sampledSurface::New(), surfaceWriter::New(), Foam::nl, patches, fieldValue::read(), and Foam::type().
Referenced by surfaceFieldValue::surfaceFieldValue().


|
virtual |
Calculate and write.
Reimplemented from fieldValue.
Definition at line 701 of file surfaceFieldValue.C.
References DeclareValues, Foam::endl(), Foam::file, Foam::FOR_ALL_FIELD_TYPES(), forAll, Log, UPstream::master(), Foam::name(), patches, points, List< T >::size(), Foam::tab, validFieldType, ValuesParameter, fieldValue::write(), and writeValuesFieldType.

|
virtual |
Update for mesh point-motion.
Reimplemented from functionObject.
Definition at line 883 of file surfaceFieldValue.C.
References mesh, and functionObject::movePoints().

|
virtual |
Update topology using the given map.
Reimplemented from functionObject.
Definition at line 900 of file surfaceFieldValue.C.
References polyTopoChangeMap::mesh(), mesh, and functionObject::topoChange().

|
virtual |
Update from another mesh using the given map.
Reimplemented from functionObject.
Definition at line 917 of file surfaceFieldValue.C.
References functionObject::mapMesh(), polyMeshMap::mesh(), and mesh.

|
virtual |
Redistribute or update using the given distribution map.
Reimplemented from functionObject.
Definition at line 934 of file surfaceFieldValue.C.
References functionObject::distribute(), polyDistributionMap::mesh(), and mesh.

| Foam::tmp<Foam::Field<Type> > getFieldValues | ( | const word & | fieldName | ) | const |
Definition at line 60 of file surfaceFieldValueTemplates.C.
References Foam::abort(), f(), Foam::FatalError, FatalErrorInFunction, fld(), forAll, Foam::fvc::interpolate(), tmp< T >::ref(), List< T >::size(), and Foam::Zero.

| Foam::tmp<Foam::Field<Type> > filterField | ( | const VolField< Type > & | field | ) | const |
Definition at line 368 of file surfaceFieldValueTemplates.C.
References Foam::abort(), GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), Foam::FatalError, FatalErrorInFunction, forAll, IOobject::name(), Foam::name(), Foam::nl, patchi, tmp< T >::ref(), and Foam::type().

| Foam::tmp<Foam::Field<Type> > filterField | ( | const SurfaceField< Type > & | field | ) | const |
Definition at line 403 of file surfaceFieldValueTemplates.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), forAll, patchi, and tmp< T >::ref().

|
static |
Selection type names.
Definition at line 328 of file surfaceFieldValue.H.
|
static |
Operation type names.
Definition at line 351 of file surfaceFieldValue.H.
|
protected |
Surface writer.
Definition at line 393 of file surfaceFieldValue.H.
|
protected |
Selection type.
Definition at line 396 of file surfaceFieldValue.H.
Referenced by surfaceFieldValue::validField().
|
protected |
Name of face selection (patch, faceZone, etc.)
Definition at line 399 of file surfaceFieldValue.H.
|
protected |
Operation to apply to values.
Definition at line 402 of file surfaceFieldValue.H.
|
protected |
Weight field names - optional.
Definition at line 405 of file surfaceFieldValue.H.
|
protected |
Global number of faces.
Definition at line 408 of file surfaceFieldValue.H.
|
protected |
Area of the surface.
Definition at line 411 of file surfaceFieldValue.H.
|
protected |
Optionally write the number of faces in the surface.
Definition at line 414 of file surfaceFieldValue.H.
|
protected |
Optionally write the area of the surface.
Definition at line 417 of file surfaceFieldValue.H.
|
protected |
The face-zone.
Definition at line 423 of file surfaceFieldValue.H.
|
protected |
The name(s) of the patches.
Definition at line 429 of file surfaceFieldValue.H.
|
protected |
Local list of face IDs.
Definition at line 435 of file surfaceFieldValue.H.
|
protected |
Local list of patch ID per face.
Definition at line 438 of file surfaceFieldValue.H.
|
protected |
List of +1/-1 representing face flip map.
(1 use as is, -1 negate)
Definition at line 442 of file surfaceFieldValue.H.
|
protected |
Underlying sampledSurface.
Definition at line 448 of file surfaceFieldValue.H.