fvCellSet: The selectionMode entry is now optional

Description
    General cell set selection class for models that apply to sub-sets
    of the mesh.

    Currently supports cell selection from a set of points, a specified cellSet
    or cellZone or all of the cells.  The selection method can either be
    specified explicitly using the \c selectionMode entry or inferred from the
    presence of either a \c cellSet, \c cellZone or \c points entry.  The \c
    selectionMode entry is required to select \c all cells.

Usage
    Examples:
    \verbatim
        // Apply everywhere
        selectionMode   all;

        // Apply within a given cellSet
        selectionMode   cellSet; // Optional
        cellSet         rotor;

        // Apply within a given cellZone
        selectionMode   cellZone; // Optional
        cellSet         rotor;

        // Apply in cells containing a list of points
        selectionMode   points; // Optional
        points
        (
            (2.25 0.5 0)
            (2.75 0.5 0)
        );
    \endverbatim

All tutorials updated and simplified.
This commit is contained in:
Henry Weller
2022-08-12 18:44:52 +01:00
parent 2da5edec29
commit 7fdde885fe
22 changed files with 83 additions and 139 deletions

View File

@ -18,7 +18,6 @@ ignition
{
type fixedTemperatureConstraint;
selectionMode cellSet;
cellSet ignition;
mode uniform;

View File

@ -20,7 +20,6 @@ porosity1
explicitPorositySourceCoeffs
{
selectionMode cellZone;
cellZone porosity;
type DarcyForchheimer;

View File

@ -20,7 +20,6 @@ porosity
explicitPorositySourceCoeffs
{
selectionMode cellZone;
cellZone porosity;
type fixedCoeff;

View File

@ -26,7 +26,6 @@ fixedTemperature
{
type fixedTemperatureConstraint;
selectionMode cellZone;
cellZone porosity;
mode uniform;
@ -38,7 +37,6 @@ porosityTurbulence
{
type fixedValueConstraint;
selectionMode cellZone;
cellZone porosity;
fieldValues

View File

@ -20,7 +20,6 @@ porosity1
explicitPorositySourceCoeffs
{
selectionMode cellZone;
cellZone porosity;
type DarcyForchheimer;

View File

@ -20,7 +20,6 @@ porosity1
explicitPorositySourceCoeffs
{
selectionMode cellZone;
cellZone stator;
type DarcyForchheimer;

View File

@ -20,7 +20,6 @@ porosity
explicitPorositySourceCoeffs
{
selectionMode cellZone;
cellZone porousBlockage;
type DarcyForchheimer;

View File

@ -17,7 +17,6 @@ disk
{
type rotorDisk;
selectionMode cellZone;
cellZone rotatingZone;
nBlades 3; // Number of blades

View File

@ -18,7 +18,6 @@ disk1
{
type actuationDiskSource;
selectionMode cellSet;
cellSet actuationDisk1;
diskDir (1 0 0); // Orientation of the disk
@ -32,7 +31,6 @@ disk2
{
type actuationDiskSource;
selectionMode cellSet;
cellSet actuationDisk2;
diskDir (1 0 0); // Orientation of the disk

View File

@ -31,7 +31,6 @@ filter1
explicitPorositySourceCoeffs
{
selectionMode cellZone;
cellZone filter;
type DarcyForchheimer;
@ -57,7 +56,6 @@ massSource
{
type massSource;
selectionMode points;
points
(
(2.75 0.5 0)

View File

@ -21,7 +21,6 @@ source1
timeStart 0.1;
duration 0.4;
selectionMode cellSet;
cellSet ignitionCells;
mode uniform;