# Partitioning

Partitioning is a method of dividing 2D domains into smaller 2D domains at logical places, such as at the edges of surfaces associated with the mesh, or where the angle between elements exceeds a certain value, or where the domain changes from flat to curved.

Partitioning allows you to prepare your model for morphing more quickly and easily since it divides your model into sections where parametric changes can be applied.

Partitioning can be applied directly to 2D domains and indirectly to 3D domains. 3D domains are created with 2D domains on their faces.

There are two algorithms you can use to partition, element-based and node-based. These can be set individually for quad/mixed meshes and for tria/tetra meshes. In general, the element-based algorithm works better for quad/mixed meshes and second order meshes, while the node-based algorithm works better for tria/tetra meshes.

There are also several parameters that govern the creation of domains for either algorithm. They are found in the of the Domains panel, Partitioning subpanel.

If you have selected use geometry, all elements whose nodes are associated to surfaces in the model will be partitioned along the edges of the surfaces. All other elements will be partitioned using one of the partitioning algorithms. If you have also selected add to geometry, then any partitions created outside of the surfaces will be added to the partitions created using the surfaces if the partitioning algorithm does not find a break along the edges or the surfaces. This option is helpful when surface data is incomplete of some of the nodes have been moved away from their surfaces.

Partitioning can be angle-based or curvature-based. In either case, the domain angle controls the break angle along which a partitioning break is made. If the angle between the normal vectors between two elements is greater than this value, a new domain is created with an edge running between the two elements. When using curvature-based partitioning, the curve tolerance controls the angle of which values less than it are considered straight for curvature measuring purposes. If the angle between the normal vectors between two elements is less than this value, they are considered flat, otherwise they are considered to be curved. If the curvature changes from straight to curved, changes direction, or changes curvature by more than the curvature tolerance, a new domain is created with an edge running between the two elements. Note that in order for a new partition to be created, a break due to angle or curvature must be found along its entire edge.

For the node based method, domain angle and curve tolerance have a roughly similar meaning as the element based method. The node based method tends to create fewer partitions than the element based method, although exact performance for each method depends heavily on the features in your model. For instance, the node based method seems to work better on first order tria and tetra meshes while the element based method seems to work better on mixed quad and tria meshes.