Defining Element Filters
For Mesh and Volume plots, you can specify the elements to display under Element Filter. Without filtering, the plots display all elements. Using element filters, you can highlight elements based on, for example, their mesh quality, size, or location.
To define an element filter, select the Enable filter check box and select a Criterion: Logical expression (the default), Random, or Expression. For Mesh plots, Worst quality, Best quality, and Size are also available, which filters mesh elements with the worst element, best quality, or size, respectively. When you choose Size, the fraction that you specify is the fraction with the smallest elements. For example, a fraction of 0.1 plots the smallest 10% of the elements.
If Expression or Logical expression is selected, enter an Expression in the text field. For example, an expression can be abs(x-y) to plot a fraction of elements closest to the line y = x (that is, the fraction that you specify is the fraction where the expression evaluates to the smallest values). An example of a logical expression is (h>0.1)&&(h<0.4), which shows the elements with an element size between 0.1 and 0.4 (h is the predefined variable for the mesh element size). Another example is x>0, which plots elements in the right half-plane only. The expression can include unit syntax such as y<50[cm]. Click the Replace Expression () button to select a predefined quantity and replace the entire contents of the Expression field with the corresponding variable as the only expression.
If Random, Expression, Worst quality, Best quality, or Size is selected, specify the Fraction of elements (0–1) to show (the default is 1, which means that all elements are included).