mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
functionObjects: renamed faceSource -> surfaceRegion, cellSource -> volRegion
The use of the term 'source' in the context of post-processing is confusing and does not properly describe the process of region selection. The new names 'surfaceRegion' and 'volRegion' better describe the purpose of the functionObjects which is to provide field processing functionality limited to a specified region of space, either a surface or volume. The keyword 'source' is renamed 'regionType' which better describes the purpose which is to specify the method by which the surface or volume region is selected. The keyword to select the name of the surface or volume region is renamed from 'sourceName' to 'name' consistent with the other name-changes above.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
|
||||
inletMassFlowRate
|
||||
{
|
||||
type faceSource;
|
||||
type surfaceRegion;
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
fields
|
||||
@ -21,8 +21,8 @@ inletMassFlowRate
|
||||
log true;
|
||||
surfaceFormat null;
|
||||
|
||||
source patch;
|
||||
sourceName inlet;
|
||||
regionType patch;
|
||||
name inlet;
|
||||
|
||||
operation sum;
|
||||
|
||||
@ -31,7 +31,7 @@ inletMassFlowRate
|
||||
|
||||
outletMassFlowRate
|
||||
{
|
||||
type faceSource;
|
||||
type surfaceRegion;
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
fields
|
||||
@ -44,8 +44,8 @@ outletMassFlowRate
|
||||
log true;
|
||||
surfaceFormat null;
|
||||
|
||||
source patch;
|
||||
sourceName outlet;
|
||||
regionType patch;
|
||||
name outlet;
|
||||
|
||||
operation sum;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user