surfaceFieldValue Class Reference

Provides a 'face regionType' variant of the fieldValues function object. More...

Inheritance diagram for surfaceFieldValue:
Collaboration diagram for surfaceFieldValue:

Public Types

enum  regionTypes { faceZone, patch, sampledSurface }
 region type enumeration More...
 
enum  operationType {
  none, sum, weightedSum, sumMag,
  sumDirection, sumDirectionBalance, average, weightedAverage,
  areaAverage, weightedAreaAverage, areaIntegrate, weightedAreaIntegrate,
  min, max, CoV, 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...
 
const regionTypesregionType () const
 Return the region type. More...
 
const labelListfaceId () const
 Return the local list of face IDs. More...
 
const labelListfacePatch () const
 Return the local list of patch ID per face. More...
 
const labelListfaceSign () const
 Return the list of +1/-1 representing face flip map. More...
 
fileName outputDir () const
 Return the output directory. More...
 
template<class Type >
bool writeValues (const word &fieldName, const scalarField &weightField, const bool orient)
 Templated helper function to output field values. More...
 
template<class Type >
tmp< Field< Type > > filterField (const GeometricField< Type, fvsPatchField, surfaceMesh > &field, const bool applyOrientation) const
 Filter a surface field according to faceIds. More...
 
template<class Type >
tmp< Field< Type > > filterField (const GeometricField< Type, fvPatchField, volMesh > &field, const bool applyOrientation) 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...
 
template<>
Foam::scalar processValues (const Field< scalar > &values, const vectorField &Sf, const scalarField &weightField) const
 
template<>
Foam::vector processValues (const Field< vector > &values, const vectorField &Sf, const scalarField &weightField) const
 
template<>
scalar processValues (const Field< scalar > &values, const vectorField &Sf, const scalarField &weightField) const
 Specialisation for scalar. More...
 
template<>
vector processValues (const Field< vector > &values, const vectorField &Sf, const scalarField &weightField) const
 Specialisation for vector. More...
 
template<class Type >
Foam::tmp< Foam::Field< Type > > getFieldValues (const word &fieldName, const bool mustGet, const bool applyOrientation) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > filterField (const GeometricField< Type, fvPatchField, volMesh > &field, const bool applyOrientation) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > filterField (const GeometricField< Type, fvsPatchField, surfaceMesh > &field, const bool applyOrientation) 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 dictionarydict () const
 Return the reference to the construction dictionary. More...
 
const wordregionName () const
 Return the region name. More...
 
const wordListfields () const
 Return the list of field names. More...
 
const SwitchwriteFields () const
 Return the output field values flag. More...
 
const dictionaryresultDict () 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, const dictionary &dict)
 Construct from the region objectRegistry and dictionary. More...
 
 fvMeshFunctionObject (const fvMeshFunctionObject &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~fvMeshFunctionObject ()
 Destructor. 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, const dictionary &dict)
 Construct from the region objectRegistry and dictionary. 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 functionObject
 ClassName ("functionObject")
 
virtual const wordtype () 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)
 Construct from components. More...
 
autoPtr< functionObjectclone () const
 Return clone. More...
 
 functionObject (const functionObject &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~functionObject ()
 Destructor. More...
 
const wordname () 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 bool setTimeStep ()
 Called by Time::setDeltaT(). Allows the functionObject to override. More...
 
virtual scalar timeToNextWrite ()
 Called by Time::adjustTimeStep(). Allows the functionObject to. More...
 
virtual void updateMesh (const mapPolyMesh &mpm)
 Update for changes of mesh. More...
 
virtual void movePoints (const polyMesh &mesh)
 Update for changes of mesh. 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 wordListnames () const
 Return const access to the names. More...
 
PtrList< OFstream > & files ()
 Return access to the files. More...
 
OFstreamfile ()
 Return access to the file (if only 1) More...
 
OFstreamfile (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< regionTypes, 3 > regionTypeNames_
 region type names More...
 
static const NamedEnum< operationType, 17 > 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

void initialise (const dictionary &dict)
 Initialise, e.g. face addressing. More...
 
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 bool mustGet=false, const bool applyOrientation=false) const
 Return field values by looking up field name. More...
 
template<class Type >
Type processSameTypeValues (const Field< Type > &values, const vectorField &Sf, const scalarField &weightField) const
 Apply the 'operation' to the values. Operation has to. More...
 
template<class Type >
Type processValues (const Field< Type > &values, const vectorField &Sf, const scalarField &weightField) const
 Apply the 'operation' to the values. Wrapper around. More...
 
virtual void writeFileHeader (const label i)
 Output file header information. More...
 
- Protected Member Functions inherited from fieldValue
template<class Type >
void combineFields (Field< Type > &field)
 Combine fields from all processor domains into single field. More...
 
template<class Type >
void combineFields (tmp< Field< Type >> &)
 Combine fields from all processor domains into single field. More...
 
- Protected Member Functions inherited from regionFunctionObject
template<class ObjectType >
bool foundObject (const word &fieldName) const
 Find field in the objectRegistry. 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 >
bool store (const tmp< ObjectType > &tfield)
 Store the given field in the objectRegistry. More...
 
template<class ObjectType >
bool 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< surfaceWritersurfaceWriterPtr_
 Surface writer. More...
 
regionTypes regionType_
 region type More...
 
operationType operation_
 Operation to apply to values. More...
 
word weightFieldName_
 Weight field name - optional. More...
 
bool orientWeightField_
 Flag to indicate if flipMap should be applied to the weight field. More...
 
label orientedFieldsStart_
 Start index of fields that require application of flipMap. More...
 
scalar scaleFactor_
 Scale factor - optional. More...
 
scalar totalArea_
 Total area of the surfaceFieldValue. More...
 
bool writeArea_
 Optionally write the area of the surfaceFieldValue. More...
 
label nFaces_
 Global number of faces. 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< sampledSurfacesurfacePtr_
 Underlying sampledSurface. More...
 
- Protected Attributes inherited from fieldValue
dictionary dict_
 Construction dictionary. More...
 
word regionName_
 Name of region (patch, zone, etc.) 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 fvMeshmesh_
 Reference to the fvMesh. More...
 
- Protected Attributes inherited from regionFunctionObject
const Timetime_
 Reference to the Time. More...
 
const objectRegistryobr_
 Reference to the region objectRegistry. More...
 
- Protected Attributes inherited from logFiles
wordList names_
 File names. More...
 
PtrList< OFstreamfilePtrs_
 File pointer. More...
 
- Protected Attributes inherited from writeFile
const objectRegistryfileObr_
 Reference to the region objectRegistry. More...
 
const word prefix_
 Prefix. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from fieldValue
static autoPtr< fieldValueNew (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< functionObjectNew (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 write log to Info. More...
 

Detailed Description

Provides a 'face regionType' variant of the fieldValues function object.

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 integrations.

For example, to calculate the volumetric or mass flux across a patch, apply the 'sum' operator to the flux field (typically phi)

Examples of function object specification:

movingWallPatch
{
    type            surfaceFieldValue;
    libs            ("libfieldFunctionObjects.so");

    log             true;
    writeControl    writeTime;
    writeFields     true;

    regionType      patch;
    name            movingWall;

    operation       areaAverage;

    fields
    (
        p
        phi
        U
    );
}

surfaceFieldValue1
{
    type            surfaceFieldValue;
    libs            ("libfieldFunctionObjects.so");

    log             true;
    writeControl    writeTime;
    writeFields     true;

    surfaceFormat   none;
    regionType      faceZone;
    name            f0;

    operation       sum;

    weightField     alpha1;

    fields
    (
        p
        phi
        U
    );
}
Usage
Property Description Required Default value
type type name: surfaceFieldValue yes
log write data to standard output no no
writeFields Write the region field values yes
writeArea Write the area of the surfaceFieldValue no
surfaceFormat output value format no
regionType face regionType: see below yes
name name of face regionType if required no
operation operation to perform yes
weightField name of field to apply weighting no
orientedWeightField name of oriented field to apply weighting no
scaleFactor scale factor no 1
fields list of fields to operate on yes
orientedFields list of oriented fields to operate on no

Where regionType is defined by

faceZone : requires a 'name' entry to specify the faceZone
patch : requires a 'name' entry to specify the patch
sampledSurface : requires a 'sampledSurfaceDict' sub-dictionary

The operation is one of:

none : no operation
sum : sum
weightedSum : weighted sum
sumMag : sum of component magnitudes
sumDirection : sum values which are positive in given direction
sumDirectionBalance : sum of balance of values in given direction
average : ensemble average
weightedAverage : weighted average
areaAverage : area weighted average
weightedAreaAverage : weighted area average
areaIntegrate : area integral
weightedAreaIntegrate : weighted area integral
min : minimum
max : maximum
CoV : coefficient of variation: standard deviation/mean
areaNormalAverage : area weighted average in face normal direction
areaNormalIntegrate : area weighted integral in face normal directon
Note
  • The values reported by the areaNormalAverage and areaNormalIntegrate operations are written as the first component of a field with the same rank as the input field.
  • faces on empty patches get ignored
  • if the field is a volField the faceZone can only consist of boundary faces
  • the `oriented' entries relate to mesh-oriented fields, such as the flux, phi. These fields will be oriented according to the face normals.
  • using sampledSurface:
    • not available for surface fields
    • if interpolate=true they use interpolationCellPoint otherwise they use cell values
    • each triangle in sampledSurface is logically only in one cell so interpolation will be wrong when triangles are larger than cells. This can only happen for sampling on a triSurfaceMesh
    • take care when using isoSurfaces - these might have duplicate triangles and so integration might be wrong
See also
Foam::fieldValues Foam::functionObject
Source files

Definition at line 334 of file surfaceFieldValue.H.

Member Enumeration Documentation

◆ regionTypes

enum regionTypes
strong

region type enumeration

Enumerator
faceZone 
patch 
sampledSurface 

Definition at line 344 of file surfaceFieldValue.H.

◆ operationType

enum operationType
strong

Operation type enumeration.

Enumerator
none 
sum 
weightedSum 
sumMag 
sumDirection 
sumDirectionBalance 
average 
weightedAverage 
areaAverage 
weightedAreaAverage 
areaIntegrate 
weightedAreaIntegrate 
min 
max 
CoV 
areaNormalAverage 
areaNormalIntegrate 

Definition at line 356 of file surfaceFieldValue.H.

Constructor & Destructor Documentation

◆ surfaceFieldValue() [1/2]

surfaceFieldValue ( const word name,
const Time runTime,
const dictionary dict 
)

Construct from name, Time and dictionary.

Definition at line 647 of file surfaceFieldValue.C.

References Foam::read().

Referenced by surfaceFieldValue::processValues().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ surfaceFieldValue() [2/2]

surfaceFieldValue ( const word name,
const objectRegistry obr,
const dictionary dict 
)

Construct from name, objectRegistry and dictionary.

Definition at line 671 of file surfaceFieldValue.C.

References Foam::read().

Here is the call graph for this function:

◆ ~surfaceFieldValue()

~surfaceFieldValue ( )
virtual

Destructor.

Definition at line 697 of file surfaceFieldValue.C.

References surfaceFieldValue::read().

Here is the call graph for this function:

Member Function Documentation

◆ initialise()

void initialise ( const dictionary dict)
protected

◆ validField()

bool validField ( const word fieldName) const
protected

Return true if the field name is valid.

Definition at line 37 of file surfaceFieldValueTemplates.C.

References surfaceFieldValue::getFieldValues(), and sf().

Here is the call graph for this function:

◆ getFieldValues() [1/2]

tmp<Field<Type> > getFieldValues ( const word fieldName,
const bool  mustGet = false,
const bool  applyOrientation = false 
) const
protected

Return field values by looking up field name.

Referenced by surfaceFieldValue::validField().

Here is the caller graph for this function:

◆ processSameTypeValues()

Type processSameTypeValues ( const Field< Type > &  values,
const vectorField Sf,
const scalarField weightField 
) const
protected

◆ processValues() [1/5]

Type processValues ( const Field< Type > &  values,
const vectorField Sf,
const scalarField weightField 
) const
protected

Apply the 'operation' to the values. Wrapper around.

processSameTypeValues. See also template specialisation below.

Definition at line 297 of file surfaceFieldValueTemplates.C.

References surfaceFieldValue::writeValues().

Referenced by surfaceFieldValue::processSameTypeValues(), surfaceFieldValue::processValues(), and surfaceFieldValue::writeFileHeader().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeFileHeader()

void writeFileHeader ( const label  i)
protectedvirtual

Output file header information.

Implements logFiles.

Definition at line 535 of file surfaceFieldValue.C.

References Foam::endl(), Foam::file, forAll, surfaceFieldValue::processValues(), and Foam::tab.

Referenced by surfaceFieldValue::initialise().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TypeName()

TypeName ( "surfaceFieldValue"  )

Run-time type information.

◆ regionType()

Return the region type.

Definition at line 32 of file surfaceFieldValueI.H.

References surfaceFieldValue::regionType_.

◆ faceId()

const Foam::labelList & faceId ( ) const
inline

Return the local list of face IDs.

Definition at line 39 of file surfaceFieldValueI.H.

References surfaceFieldValue::faceId_.

◆ facePatch()

const Foam::labelList & facePatch ( ) const
inline

Return the local list of patch ID per face.

Definition at line 46 of file surfaceFieldValueI.H.

References surfaceFieldValue::facePatchId_.

◆ faceSign()

const Foam::labelList & faceSign ( ) const
inline

Return the list of +1/-1 representing face flip map.

Definition at line 53 of file surfaceFieldValueI.H.

References surfaceFieldValue::faceSign_.

◆ outputDir()

Foam::fileName outputDir ( ) const
inline

Return the output directory.

Definition at line 60 of file surfaceFieldValueI.H.

References writeFile::baseFileDir(), functionObject::name(), regionFunctionObject::obr_, objectRegistry::time(), and Time::timeName().

Here is the call graph for this function:

◆ writeValues()

bool writeValues ( const word fieldName,
const scalarField weightField,
const bool  orient 
)

Templated helper function to output field values.

Definition at line 312 of file surfaceFieldValueTemplates.C.

References Foam::endl(), Foam::file, surfaceFieldValue::filterField(), Log, points, and Foam::tab.

Referenced by surfaceFieldValue::processValues().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ filterField() [1/4]

tmp<Field<Type> > filterField ( const GeometricField< Type, fvsPatchField, surfaceMesh > &  field,
const bool  applyOrientation 
) const

Filter a surface field according to faceIds.

Referenced by surfaceFieldValue::filterField(), and surfaceFieldValue::writeValues().

Here is the caller graph for this function:

◆ filterField() [2/4]

tmp<Field<Type> > filterField ( const GeometricField< Type, fvPatchField, volMesh > &  field,
const bool  applyOrientation 
) const

Filter a volume field according to faceIds.

◆ read()

bool read ( const dictionary dict)
virtual

Read from dictionary.

Reimplemented from fieldValue.

Definition at line 704 of file surfaceFieldValue.C.

References fieldValue::read().

Referenced by surfaceFieldValue::~surfaceFieldValue().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write()

bool write ( )
virtual

Calculate and write.

Reimplemented from fieldValue.

Definition at line 715 of file surfaceFieldValue.C.

References Foam::endl(), Foam::file, forAll, Log, UPstream::master(), points, Foam::tab, WarningInFunction, and fieldValue::write().

Here is the call graph for this function:

◆ processValues() [2/5]

Foam::scalar processValues ( const Field< scalar > &  values,
const vectorField Sf,
const scalarField weightField 
) const

Definition at line 569 of file surfaceFieldValue.C.

References Foam::mag(), n, Foam::neg(), Foam::pos0(), surfaceFieldValue::processValues(), and Foam::sum().

Here is the call graph for this function:

◆ processValues() [3/5]

Foam::vector processValues ( const Field< vector > &  values,
const vectorField Sf,
const scalarField weightField 
) const

Definition at line 601 of file surfaceFieldValue.C.

References Foam::mag(), n, Foam::pos0(), Foam::sum(), and surfaceFieldValue::surfaceFieldValue().

Here is the call graph for this function:

◆ processValues() [4/5]

scalar processValues ( const Field< scalar > &  values,
const vectorField Sf,
const scalarField weightField 
) const

Specialisation for scalar.

◆ processValues() [5/5]

vector processValues ( const Field< vector > &  values,
const vectorField Sf,
const scalarField weightField 
) const

Specialisation for vector.

◆ getFieldValues() [2/2]

Foam::tmp<Foam::Field<Type> > getFieldValues ( const word fieldName,
const bool  mustGet,
const bool  applyOrientation 
) const

◆ filterField() [3/4]

Foam::tmp<Foam::Field<Type> > filterField ( const GeometricField< Type, fvPatchField, volMesh > &  field,
const bool  applyOrientation 
) const

◆ filterField() [4/4]

Foam::tmp<Foam::Field<Type> > filterField ( const GeometricField< Type, fvsPatchField, surfaceMesh > &  field,
const bool  applyOrientation 
) const

Definition at line 440 of file surfaceFieldValueTemplates.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, patchi, and tmp< T >::ref().

Here is the call graph for this function:

Member Data Documentation

◆ regionTypeNames_

region type names

Definition at line 352 of file surfaceFieldValue.H.

Referenced by NamedEnum< compressibleField, 8 >::names().

◆ operationTypeNames_

Operation type names.

Definition at line 378 of file surfaceFieldValue.H.

Referenced by NamedEnum< compressibleField, 8 >::names().

◆ surfaceWriterPtr_

autoPtr<surfaceWriter> surfaceWriterPtr_
protected

Surface writer.

Definition at line 417 of file surfaceFieldValue.H.

◆ regionType_

regionTypes regionType_
protected

region type

Definition at line 420 of file surfaceFieldValue.H.

Referenced by surfaceFieldValue::regionType().

◆ operation_

operationType operation_
protected

Operation to apply to values.

Definition at line 423 of file surfaceFieldValue.H.

◆ weightFieldName_

word weightFieldName_
protected

Weight field name - optional.

Definition at line 426 of file surfaceFieldValue.H.

◆ orientWeightField_

bool orientWeightField_
protected

Flag to indicate if flipMap should be applied to the weight field.

Definition at line 429 of file surfaceFieldValue.H.

◆ orientedFieldsStart_

label orientedFieldsStart_
protected

Start index of fields that require application of flipMap.

Definition at line 432 of file surfaceFieldValue.H.

◆ scaleFactor_

scalar scaleFactor_
protected

Scale factor - optional.

Definition at line 435 of file surfaceFieldValue.H.

◆ totalArea_

scalar totalArea_
protected

Total area of the surfaceFieldValue.

Definition at line 438 of file surfaceFieldValue.H.

◆ writeArea_

bool writeArea_
protected

Optionally write the area of the surfaceFieldValue.

Definition at line 441 of file surfaceFieldValue.H.

◆ nFaces_

label nFaces_
protected

Global number of faces.

Definition at line 444 of file surfaceFieldValue.H.

◆ faceId_

labelList faceId_
protected

Local list of face IDs.

Definition at line 450 of file surfaceFieldValue.H.

Referenced by surfaceFieldValue::faceId().

◆ facePatchId_

labelList facePatchId_
protected

Local list of patch ID per face.

Definition at line 453 of file surfaceFieldValue.H.

Referenced by surfaceFieldValue::facePatch().

◆ faceSign_

labelList faceSign_
protected

List of +1/-1 representing face flip map.

(1 use as is, -1 negate)

Definition at line 457 of file surfaceFieldValue.H.

Referenced by surfaceFieldValue::faceSign().

◆ surfacePtr_

autoPtr<sampledSurface> surfacePtr_
protected

Underlying sampledSurface.

Definition at line 463 of file surfaceFieldValue.H.


The documentation for this class was generated from the following files: