SMS:Size Function: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
A size function is a multiple that guides the size of elements to be created in SMS.
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. Size functions can be based off of different criteria. For example, they may be based on either depth, slope, or curvature of the model.
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 [[SMS:Data Calculator|''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===
===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.
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:
:<math> \biggl( \Bigl( \frac {positive\ depth\ -\ minimum\ depth}{maximum\ depth\ -\ minimum\ depth} \Bigr)\ *\ (maximum\ size\ -\ minimum\ size)\ +\ minimum\ size \biggr) </math>


===Size Function Based on Slope===
===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.
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:
:<math>maximum\ size\ -\ \Bigl( \frac {slope\ -\ minimum\ slope}{maximum\ slope\ -\ minimum\ slope}\Bigr)\ *\ (maximum\ size\ -\ minimum\ size) </math>


==Related Topics==
==Related Topics==
* [[SMS:Mesh Generation|Mesh Generation]]
* [[SMS:Mesh Generation|Mesh Generation]]
* [[SMS:Arc Size Function|Arc Size Function]]




Line 18: Line 31:


[[Category:SMS 2D Mesh|S]]
[[Category:SMS 2D Mesh|S]]
[[Category:Equations]]

Latest revision as of 16:13, 24 February 2017

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