5. Examples#
5.1. Duplication of meshes#
Let ma_1 be a mesh that already contains the meshes:
and the group of elements:
Each stitch is based on the following knots:
M2: N3 N4 N5 M3: N4 N5 N6
my_2 = CREA_MAILLAGE (MAILLAGE = my_1, CREA_MAILLE = _F (NOM = ground, GROUP_MA = “shell”, PREF_MAILLE = “A”, PREF_NUME = 100,), )
After calling command CREA_MAILLAGE, the new mesh then contains:
mesh groups:
shell (initial)
ground = (meshes: A100 A101)
the stitches are based on the following knots:
M1: N1 N2 N3
M2: N3 N4 N5
M3: N4 N5 N6
A100: N1 N2 N3
A101: N3 N4 N5
5.2. Transforming triangles with 6 knots into triangles with 7 knots#
MODI_MAILLE = _F (GROUP_MA = “triangle”, OPTION = “TRIA6_7”, PREF_NOEUD = “NMI”, PREF_NUME = 10,), )
Suppose that in ma_1 the GROUP_MA triangle is composed of two meshes M1, M2 with the following nodes:
M1: N1 N2 N3 N3 N4 N5 N6
M2: N1 N2 N7 N7 N4 N8 N9
In the mesh ma_2, the two meshes M 1, M 2 will have the following nodes:
M1: N1 N2 N3 N3 N4 N4 N5 N6 NMI10
M2: N1 N2 N7 N7 N4 N8 N9 NMI11
5.3. Transforming quadrangles with 4 knots into triangles with 3 knots#
This example is from test SSLV04E:
The geometry, representing a quarter of a disk, is meshed in a quadrangle. We want one eighth of the disk to be meshed in a triangle.
ma = CREA_MAILLAGE (MAILLAGE = m0,
MODI_MAILLE = _F (GROUP_MA = “S2”, OPTION = “QUAD_TRIA3”, PREF_MAILLE = “MS”, PREF_NUME = 1,), )
5.4. Example of using DECOUPE_LAC#
This example comes from the zzzz383 test cases.

Initial mesh
Mesh with patch