**check_quality#

Description#

This command checks the quality of a mesh, prints an histogram of element qualities and builds an elset with the “bad” elements.

Currently, this mesher computes a quality for linear tetrahedrons (c3d4).

Syntax#

**check_quality \(~\,\) *elset_to_check elset \(~\,\) *elset bad-quality-elements \(~\,\) [ *quality_threshold threshold ] \(~\,\) [ *histo_write_to_file ] \(~\,\) [ *create_neighbor_elset ] \(~\,\) [ *neighbor_depth depth ] \(~\,\) [ *elsets_volume ]

*elset_to_check

restricts the analysis to this elset. Default is on ALL elements.

*elset

is the name of the output elset containing all elements with a quality worse than a threshold. Default is BAD_QUALITY_ELEMENTS.

*quality_threshold

modifies this threshold (default is 100).

*histo_write_to_file

This option prints the histogram of the mesh quality in a file.

*create_neighbor_elset

Creates an elset that contains neighbors of bad elements.

*neighbor_depth

Specifies the depth of the neighbouring elset to “bad” elements.

*elsets_volume

prints the volume of elsets (For now, only the volume of some elements is computed).

Example#

The following is from the example mesher Mesher_test/INP/mesh_quality.inp:

****mesher
  ***mesh
   **open mesh_quality_input.geof
   **quad_to_lin
   **yams_ghs3d
    *optim_style 1
   **check_quality
    *quality_threshold 4
****return