# SMS:Size Function

A size function is a multiple that guides the size of elements to be created in SMS.

A size function determines the element size based off of a dataset that will be created by SMS. Each point is assigned a size value. This size value is the approximate size of the elements to be created in the region where the point is located. The mesh will be denser where the size values are smaller.

Using the *Data Calculator* allows created size function datasets in SMS. The size function dataset can then be used to redistribute vertices along an arc or used as the bathymetry for polygons.

Size functions can be based off of different criteria. For example, they may be based on either depth, slope, or curvature of the model.

### Size Function Based on Depth

Many coastal models utilize a size function based on depth. As the depth gets shallower, the elements should get smaller. The model will become finer near areas of interest and coarser at deep water areas that are less significant.

A size function based on depth uses the following equation:

### Size Function Based on Slope

Size functions based on slope are helpful when analyzing slope data because as the rate of change of the gradient increases, the smaller the mesh element becomes. Size functions based on slope are mostly applied to riverine models.

A size function based on slope uses the following equation:

## 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 |