Rationalised and standardised cell, face and point set selection controls
The keyword 'select' is now used to specify the cell, face or point set
selection method consistently across all classes requiring this functionality.
'select' replaces the inconsistently named 'regionType' and 'selectionMode'
keywords used previously but backwards-compatibility is provided for user
convenience. All configuration files and tutorials have been updated.
Examples of 'select' from the tutorial cases:
functionObjects:
cellZoneAverage
{
type volFieldValue;
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
writeInterval 1;
fields (p);
select cellZone;
cellZone injection;
operation volAverage;
writeFields false;
}
#includeFunc populationBalanceSizeDistribution
(
name=numberDensity,
populationBalance=aggregates,
select=cellZone,
cellZone=outlet,
functionType=numberDensity,
coordinateType=projectedAreaDiameter,
allCoordinates=yes,
normalise=yes,
logTransform=yes
)
fvModel:
cylinderHeat
{
type heatSource;
select all;
q 5e7;
}
fvConstraint:
momentumForce
{
type meanVelocityForce;
select all;
Ubar (0.1335 0 0);
}
This commit is contained in:
@ -21,7 +21,7 @@ inletMassFlowRate
|
||||
log true;
|
||||
surfaceFormat none;
|
||||
|
||||
regionType patch;
|
||||
select patch;
|
||||
name inlet;
|
||||
|
||||
operation sum;
|
||||
@ -44,7 +44,7 @@ outletMassFlowRate
|
||||
log true;
|
||||
surfaceFormat none;
|
||||
|
||||
regionType patch;
|
||||
select patch;
|
||||
name outlet;
|
||||
|
||||
operation sum;
|
||||
|
||||
@ -79,7 +79,7 @@ functions
|
||||
(
|
||||
name=probabilityDensity.injection,
|
||||
populationBalance=bubbles,
|
||||
regionType=cellZone,
|
||||
select=cellZone,
|
||||
cellZone=injection,
|
||||
functionType=volumeDensity,
|
||||
coordinateType=diameter,
|
||||
@ -90,7 +90,7 @@ functions
|
||||
(
|
||||
name=probabilityDensity.outlet,
|
||||
populationBalance=bubbles,
|
||||
regionType=cellZone,
|
||||
select=cellZone,
|
||||
cellZone=outlet,
|
||||
functionType=volumeDensity,
|
||||
coordinateType=diameter,
|
||||
|
||||
@ -59,7 +59,7 @@ functions
|
||||
(
|
||||
name=probabilityDensity.afterBend_1d,
|
||||
populationBalance=agglomerates,
|
||||
regionType=cellZone,
|
||||
select=cellZone,
|
||||
cellZone=afterBend_1d,
|
||||
functionType=volumeDensity,
|
||||
coordinateType=diameter,
|
||||
@ -70,7 +70,7 @@ functions
|
||||
(
|
||||
name=probabilityDensity.afterBend_5d,
|
||||
populationBalance=agglomerates,
|
||||
regionType=cellZone,
|
||||
select=cellZone,
|
||||
cellZone=afterBend_5d,
|
||||
functionType=volumeDensity,
|
||||
coordinateType=diameter,
|
||||
@ -81,7 +81,7 @@ functions
|
||||
(
|
||||
name=probabilityDensity.afterBend_9d,
|
||||
populationBalance=agglomerates,
|
||||
regionType=cellZone,
|
||||
select=cellZone,
|
||||
cellZone=afterBend_9d,
|
||||
functionType=volumeDensity,
|
||||
coordinateType=diameter,
|
||||
@ -92,7 +92,7 @@ functions
|
||||
(
|
||||
name=probabilityDensity.beforeBend_1d,
|
||||
populationBalance=agglomerates,
|
||||
regionType=cellZone,
|
||||
select=cellZone,
|
||||
cellZone=beforeBend_1d,
|
||||
functionType=volumeDensity,
|
||||
coordinateType=diameter,
|
||||
|
||||
@ -66,7 +66,7 @@ functions
|
||||
(
|
||||
name=numberDensity,
|
||||
populationBalance=aggregates,
|
||||
regionType=cellZone,
|
||||
select=cellZone,
|
||||
cellZone=outlet,
|
||||
functionType=numberDensity,
|
||||
coordinateType=projectedAreaDiameter,
|
||||
|
||||
@ -66,7 +66,7 @@ functions
|
||||
(
|
||||
name=numberDensity,
|
||||
populationBalance=aggregates,
|
||||
regionType=cellZone,
|
||||
select=cellZone,
|
||||
cellZone=outlet,
|
||||
functionType=numberDensity,
|
||||
coordinateType=projectedAreaDiameter,
|
||||
|
||||
@ -67,8 +67,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name outlet;
|
||||
select patch;
|
||||
patch outlet;
|
||||
operation sum;
|
||||
fields ( alphaRhoPhi.gas alphaRhoPhi.liquid);
|
||||
}
|
||||
@ -78,8 +78,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name inlet;
|
||||
select patch;
|
||||
patch inlet;
|
||||
operation sum;
|
||||
fields ( alphaRhoPhi.gas alphaRhoPhi.liquid);
|
||||
}
|
||||
@ -89,8 +89,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name outlet;
|
||||
select patch;
|
||||
patch outlet;
|
||||
operation sum;
|
||||
weightField alphaRhoPhi.gas;
|
||||
fields ( h.gas );
|
||||
@ -101,8 +101,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name outlet;
|
||||
select patch;
|
||||
patch outlet;
|
||||
operation sum;
|
||||
weightField alphaRhoPhi.liquid;
|
||||
fields ( h.liquid );
|
||||
@ -113,8 +113,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name inlet;
|
||||
select patch;
|
||||
patch inlet;
|
||||
operation sum;
|
||||
weightField alphaRhoPhi.gas;
|
||||
fields ( h.gas );
|
||||
@ -125,8 +125,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name inlet;
|
||||
select patch;
|
||||
patch inlet;
|
||||
operation sum;
|
||||
weightField alphaRhoPhi.liquid;
|
||||
fields ( h.liquid );
|
||||
|
||||
@ -71,8 +71,8 @@ functions
|
||||
log yes;
|
||||
functionType volumeConcentration;
|
||||
coordinateType diameter;
|
||||
regionType cellZone;
|
||||
name x349;
|
||||
select cellZone;
|
||||
cellZone x349;
|
||||
populationBalance bubbles;
|
||||
}
|
||||
volumeDensity_bulk.diameter.bubbles
|
||||
@ -85,8 +85,8 @@ functions
|
||||
log yes;
|
||||
functionType volumeConcentration;
|
||||
coordinateType diameter;
|
||||
regionType cellZone;
|
||||
name x349_bulk;
|
||||
select cellZone;
|
||||
cellZone x349_bulk;
|
||||
populationBalance bubbles;
|
||||
}
|
||||
volumeDensity_wall.diameter.bubbles
|
||||
@ -99,8 +99,8 @@ functions
|
||||
log yes;
|
||||
functionType volumeConcentration;
|
||||
coordinateType diameter;
|
||||
regionType cellZone;
|
||||
name x349_wall;
|
||||
select cellZone;
|
||||
cellZone x349_wall;
|
||||
populationBalance bubbles;
|
||||
}
|
||||
outflow
|
||||
@ -109,8 +109,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name outlet;
|
||||
select patch;
|
||||
patch outlet;
|
||||
operation sum;
|
||||
fields ( alphaRhoPhi.gas alphaRhoPhi.liquid );
|
||||
}
|
||||
@ -120,8 +120,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name inlet;
|
||||
select patch;
|
||||
patch inlet;
|
||||
operation sum;
|
||||
fields ( alphaRhoPhi.gas alphaRhoPhi.liquid );
|
||||
}
|
||||
@ -131,8 +131,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name outlet;
|
||||
select patch;
|
||||
patch outlet;
|
||||
operation sum;
|
||||
weightField alphaRhoPhi.gas;
|
||||
fields ( h.gas );
|
||||
@ -143,8 +143,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name outlet;
|
||||
select patch;
|
||||
patch outlet;
|
||||
operation sum;
|
||||
weightField alphaRhoPhi.liquid;
|
||||
fields ( h.liquid );
|
||||
@ -155,8 +155,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name inlet;
|
||||
select patch;
|
||||
patch inlet;
|
||||
operation sum;
|
||||
weightField alphaRhoPhi.gas;
|
||||
fields ( h.gas );
|
||||
@ -167,8 +167,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name inlet;
|
||||
select patch;
|
||||
patch inlet;
|
||||
operation sum;
|
||||
weightField alphaRhoPhi.liquid;
|
||||
fields ( h.liquid );
|
||||
|
||||
@ -71,8 +71,8 @@ functions
|
||||
log yes;
|
||||
functionType volumeConcentration;
|
||||
coordinateType diameter;
|
||||
regionType cellZone;
|
||||
name x349;
|
||||
select cellZone;
|
||||
cellZone x349;
|
||||
populationBalance bubbles;
|
||||
}
|
||||
volumeDensity_bulk.diameter.bubbles
|
||||
@ -85,8 +85,8 @@ functions
|
||||
log yes;
|
||||
functionType volumeConcentration;
|
||||
coordinateType diameter;
|
||||
regionType cellZone;
|
||||
name x349_bulk;
|
||||
select cellZone;
|
||||
cellZone x349_bulk;
|
||||
populationBalance bubbles;
|
||||
}
|
||||
volumeDensity_wall.diameter.bubbles
|
||||
@ -99,8 +99,8 @@ functions
|
||||
log yes;
|
||||
functionType volumeConcentration;
|
||||
coordinateType diameter;
|
||||
regionType cellZone;
|
||||
name x349_wall;
|
||||
select cellZone;
|
||||
cellZone x349_wall;
|
||||
populationBalance bubbles;
|
||||
}
|
||||
outflow
|
||||
@ -109,8 +109,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name outlet;
|
||||
select patch;
|
||||
patch outlet;
|
||||
operation sum;
|
||||
fields ( alphaRhoPhi.gas alphaRhoPhi.gas2 alphaRhoPhi.liquid );
|
||||
}
|
||||
@ -120,8 +120,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name inlet;
|
||||
select patch;
|
||||
patch inlet;
|
||||
operation sum;
|
||||
fields ( alphaRhoPhi.gas alphaRhoPhi.gas2 alphaRhoPhi.liquid );
|
||||
}
|
||||
@ -131,8 +131,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name outlet;
|
||||
select patch;
|
||||
patch outlet;
|
||||
operation sum;
|
||||
weightField alphaRhoPhi.gas;
|
||||
fields ( h.gas );
|
||||
@ -143,8 +143,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name outlet;
|
||||
select patch;
|
||||
patch outlet;
|
||||
operation sum;
|
||||
weightField alphaRhoPhi.gas2;
|
||||
fields ( h.gas2 );
|
||||
@ -155,8 +155,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name outlet;
|
||||
select patch;
|
||||
patch outlet;
|
||||
operation sum;
|
||||
weightField alphaRhoPhi.liquid;
|
||||
fields ( h.liquid );
|
||||
@ -167,8 +167,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name inlet;
|
||||
select patch;
|
||||
patch inlet;
|
||||
operation sum;
|
||||
weightField alphaRhoPhi.gas;
|
||||
fields ( h.gas );
|
||||
@ -179,8 +179,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name inlet;
|
||||
select patch;
|
||||
patch inlet;
|
||||
operation sum;
|
||||
weightField alphaRhoPhi.gas2;
|
||||
fields ( h.gas2 );
|
||||
@ -191,8 +191,8 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
log yes;
|
||||
writeFields false;
|
||||
regionType patch;
|
||||
name inlet;
|
||||
select patch;
|
||||
patch inlet;
|
||||
operation sum;
|
||||
weightField alphaRhoPhi.liquid;
|
||||
fields ( h.liquid );
|
||||
|
||||
Reference in New Issue
Block a user