OOF2: The Manual

Name

OOF.ElementSelection.Select_by_Aspect_Ratio — Select elements with a minimum ratio of longest to shortest adjacent edges.

Synopsis

OOF.ElementSelection.Select_by_Aspect_Ratio(skeleton, threshold, only_quads, only_refineable)

Details

  • Parent Menu: OOF.ElementSelection
  • Callback: function modify in module ooflib.engine.skeletonselectionmod
  • Parameters:

    skeleton
    Type: The path to an existing Skeleton object.
    threshold
    Select Elements with an aspect ratio greater than this. Type: A positive real number.
    only_quads
    Select only quads, or both quads and triangles? Type: Boolean: True or False.
    only_refineable
    Only select quads with opposing long edges. Type: Boolean: True or False.

Description

Select_by_Aspect_Ratio selects all Elements which have aspect ratios greater than the given threshold. See CheckAspectRatio for the definition of aspect ratio.

If only_quads is True, then triangular elements will not be selected. If only_refineable is True, only quads that whose longest edges are not adjacent to one another will be selected. These two settings allow Select_by_Aspect_Ratio to select only the elements that would be refined with CheckAspectRatio.

See Also