<p><imgsrc="i_blue.jpg"x-maintain-ratio="TRUE"width="30px"height="30px"border="0"class="img_whs1"> The pattern describes a mesh to generate: positions of
nodes within a geometrical domain and nodal connectivity of elements.
As well, a pattern specifies the so-called key-points, i.e. nodes that
will be located at geometrical vertices. Pattern description is stored
in <pattern_name>.smp file.</p>
<p> </p>
<p>The smp file contains 4 sections:</p>
<p> </p>
<pclass="whs2">1. The first line holds the number of nodes
(N).</p>
<pclass="whs2"> </p>
<pclass="whs2">2. The next N lines describe nodes coordinates.
Each line holds 2 coordinates of a node.</p>
<pclass="whs2"> </p>
<pclass="whs2">3. A key-points line: indices of nodes to
be mapped on geometrical vertices. An index n refers to a node described
on an n-th line of section 2. The first node index is zero.</p>
<pclass="whs2"> </p>
<pclass="whs2">4. The rest lines describe nodal connectivity
of elements, one line for an element. A line holds indices of nodes forming
an element. An index n refers to a node described on an n-th line of the
section 2. The first node index is zero. There must be 3 or 4 indices
on a line: only 2d elements are allowed.</p>
<pclass="whs2"> </p>
<p>The 2D pattern must contain at least one element and at least one key-point.
All key-points must lay on boundaries.</p>
<p> </p>
<p>An example of a simple smp file and a preview of a pattern described
<p>To apply a pattern to a geometrical object, you should specify:</p>
<pclass="whs2">- a face having the number of vertices equal
to the number of key-points in the pattern; the number of key-points on
internal boundaries of a pattern must also be equal to the number of vertices
on internal boundaries of a face;</p>
<pclass="whs2">- a vertex to which the first key-point should
be mapped,</p>
<pclass="whs2">- reverse or not the order of key-points.
(The order of vertices of a face is counterclockwise looking from outside).</p>
<p> </p>
<p>Then you either load a .smp pattern file previously created manually
by clicking on the <imgsrc="image108.gif"width="34px"height="34px"border="0"class="img_whs14"> button, or click on the <spanstyle="font-weight: bold;"><B>New</B></span>
button for automatic generation.</p>
<p>For an automatic generation you just specify a geometrical face having
a mesh built on it. Mesh nodes lying on face vertices become key-points.
Additionally, you may choose the way of getting nodes coordinates by <span
style="font-weight: bold;"><B>projecting nodes on the face</B></span> instead
of using "positions on face" generated by mesher (if there is
any). Faces having a seam edge can<61>t be used for automatic pattern creation.</p>
<p> </p>
<p>When creating a pattern from an existing mesh, there are two possible
cases:</p>
<p> </p>
<p>1. A sub-mesh on face is selected. A pattern is created from the 2d
elements bound to a face by mesher. Node coordinates are either "positions
on face" computed by mesher, or coordinates got by node projection
on a geometrical surface, according to your choice.</p>
<p>2. A mesh where the main shape is a face, is selected. A pattern is
created from all the 2d elements in a mesh. If all mesh elements are build
by mesher, the user can select the way of getting nodes coordinates, else