Files
OpenFOAM-12/src/meshTools
Will Bainbridge 1440b668f1 topoSet: Added patchDistanceToCell cell source
This source choses cells below a certain distance to a patch or a set of
multiple patches:

Example Usage in system/topoSetDict:

    actions
    (
        {
            name    c0;
            type    cellSet;
            action  new;
            source  patchDistanceToCell;
            sourceInfo
            {
                patch ".*Wall";
                distance 0.1;
            }
        }
    );

Example usage in system/setFieldsDict:

    defaultFieldValues
    (
        volScalarFieldValue alpha.water 0
    );

    regions
    (
        patchDistanceToCell
        {
            patches (".*Wall" atmosphere);
            distance 0.1;
            fieldValues
            (
                volScalarFieldValue alpha.water 1
            );
        }
    );
2021-02-12 15:31:05 +00:00
..