ControlMeshQuality
ControlMeshQuality
Introduction This document deals with how to install a macro, and how to use the
ControlMeshQuality macro. It will include the following topics:
• Macro definition: ControlMeshQuality
• Install a macro
Goal of This macro intends to run a check mesh command in order to be able to extract
the easily the resulting quality percentage, and also the number of nodes, of line
macro elements, face elements and volume elements. The interface is asking a
question. You can enter any character as answer.
At the end of the macro, the main figures are easily available. For instance, we
have run the following code in 3 projects: 2D, Skew and 3D.
1
Macros
Goal of the
macro
(continued)
Figure 3: results in 2D
2
Macros
Goal of the
macro
(following)
Figure 5: results in 3D
Note: the commands in the macro also show how to “catch” what is send to
the log file.
3
Macros
Install a macro
Calling a macro In order to use a macro, you have to follow the next steps:
Step Actions
1 Open Flux
2 Click on [Extension] [Macros] [Load a macro], and select the
right macro
4
Macros
Macro description
Output:
• Percentages are available in
variables (cf example include in
macro)
• Number of nodes, line elements,
face elements and volume
elements
Sorties:
• Les pourcentages sont
disponibles dans des variables
• Le nombre de nœuds, d’éléments
linéiques, surfaciques et
volumiques