**elset_split#
Description#
This engine splits a given mesh based on different named elsets.
Normally one would use an automated mesher such as **metis_split to
do this, but the elset split ensures repeatability and fine control over
the process.
Note
Any elements in the mesh which are not assigned to a domain using the
*domain sub-option will be assigned to the 1st domain.
Syntax#
The command has the following syntax:
**elset_split
\(~\,\) *domain elset-name
\(~\,\) *domain_startswith stem
\(~\,\) *domain_starts_with stem
*domainenter new domain made up of the elements in the given elset name. Repeat the command for all domains.
*domain_starts_withis a shorthand to automatically enroll all domains whose name starts with the given stem.
Example#
The following example generate cube with a regular mesh (*ncut) and
a regular coloring in elements sets (*elset_cut) of basename
subdomain, and partition it on the basis of this coloring in order
to obtain cubic subdomains. This may be useful to drive extensivity
tests.
****mesher
***mesh cube.geo
**mesh_quad_cube
*ncut 60
*elset_cut 6
**elset_split
*domain_startswith subdomain
**dont_save_final_mesh
****return