# SMS:Mesh Quality

From XMS Wiki

Jump to navigationJump to search
In the *Mesh* tab of the *Display Options* dialog. selecting the **Options...** button next to the *Mesh Quality* toggle will bring up the *Element Quality Checks* dialog. Several rules of mesh element construction, if adhered to, will help in creation of a well-behaved finite element network. Violations of the following mesh quality checks should be avoided. Violations of these mesh quality checks can be displayed in SMS (see Mesh Display Options):

*Minimum / Maximum interior angle*– For triangular elements, if the angle is between 10 and 150 degrees, computation problems will usually be avoided. Care must also be taken when curved edges are defined (non-linear midside nodes) to prevent overlap of element sides.*Concave quadrilaterals*– For quadrilateral elements, if the angle is between 30 and 150 degrees, computation problems will usually be avoided. Care must also be taken when curved edges are defined (non-linear midside nodes) to prevent overlap of element sides.*Maximum slope*– Rapid changes in slope can cause computational instabilities.*Element area change*– Nodes need to be more plentiful and elements smaller in areas where the solution variables (u,v, and h) change rapidly. Such areas may be located near channel or floodplain constrictions, in channel bends, or at sudden changes in bed slope. The network should be dense in the critical areas of interest. The density of a network can vary through the solution domain. Areas that are of little interest and have stable flow characteristics should not be as dense as critical areas. The size of elements needs to change gradually when moving from an area described by small elements to an area modeled with large elements, or vice versa. A rule of thumb is to keep the areas of neighboring elements within a factor of two, meaning an element is twice as big or half as big as its adjacent elements. That said, the actual check calculates length times height to determine if the area of change is too sudden. If one of the elements is a quadrilateral and the other is a triangle, the area of the quadrilateral is cut in half and the ratio between the two areas must be in the allowable range.*Connecting elements*– Avoid creating "pinwheels" by limiting the number of elements connecting at a node to fewer than eight.*Ambiguous gradient*– All triangular elements are planar by their definition. However, quadrilateral elements may vary significantly from a plane. It is a good idea to construct elements as close to a plane as possible. This precludes the existence of elements whose slope, or direction of drainage is ambiguous.*Display Legend*– Checking this box will display the legend in the Graphics Window.

Options...– Brings up theLegend Optionsdialog.

## Related Topics

SMS – Surface-water Modeling System | ||
---|---|---|

Modules: | 1D Grid • Cartesian Grid • Curvilinear Grid • GIS • Map • Mesh • Particle • Quadtree • Raster • Scatter • UGrid | |

General Models: | 3D Structure • FVCOM • Generic • PTM | |

Coastal Models: | ADCIRC • BOUSS-2D • CGWAVE • CMS-Flow • CMS-Wave • GenCade • STWAVE • WAM | |

Riverine/Estuarine Models: | AdH • HEC-RAS • HYDRO AS-2D • RMA2 • RMA4 • SRH-2D • TUFLOW • TUFLOW FV | |

Aquaveo • SMS Tutorials • SMS Workflows |