haloToCell

Description

A topoSetCellSource to select cells attached to the outside of this cellSet, and add into/remove from this cellSet.

Operands

Operand Type Location
input cellSet $FOAM_CASE/constant/polyMesh/sets/<set>
output cellSet $FOAM_CASE/constant/polyMesh/sets/<set>

Description

Example of the haloToCell topoSet by using actions sub-dictionary in system/topoSetDict file:

{
    // Mandatory (inherited) entries
    name        <name>;
    type        cellSet;
    action      <action>;

    // Mandatory entries
    source      haloToCell;

    // Optional entries
    steps       1;
}

where the entries mean:

Property Description Type Required Default
name Name of cellSet word yes -
type Type name: cellSet word yes -
action Action applied on cells - see below word yes -
source Source name: haloToCell word yes -
steps Number of grow/shrink steps to use label no 1

Options for the action entry:

add      | Add selected cells into this cellSet
subtract | Remove selected cells from this cellSet

Notes on entries

  • action=new is not available for haloToCell.
  • When removing halo cells, this strips off any cells on the boundary of the cellSet.

Further information

Tutorial:

Source code:

History

  • Introduced in version 1912

Would you like to suggest an improvement to this page? Create an issue

Copyright © 2020 OpenCFD Ltd.

Licensed under the Creative Commons License BY-NC-ND Creative Commons License