**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_checkrestricts the analysis to this elset. Default is on ALL elements.
*elsetis the name of the output elset containing all elements with a quality worse than a threshold. Default is
BAD_QUALITY_ELEMENTS.*quality_thresholdmodifies this threshold (default is 100).
*histo_write_to_fileThis option prints the histogram of the mesh quality in a file.
*create_neighbor_elsetCreates an elset that contains neighbors of bad elements.
*neighbor_depthSpecifies the depth of the neighbouring elset to “bad” elements.
*elsets_volumeprints 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