asgn

   'asgn' 'n'|'e'|'p'|'l'|'c'|'s'|'b'|'S'|'L'|'se'|->
          'sh'|'alpha'|'beta'|'nadapt' <value>| ->
          'bg' 'on'|'off' ->
          'graph' 'on'|'off'|<nr>| ->
          'max'|'maxr'|'maxc' [<col>]|'minc' [<col>] ->
          'mem' 'free|'keep'| ->
          'netgen'|'tetgen'| ->
          'thrds' <value>|'rbe' [<value>|'mpc']| ->
          'usr' <text>
This keyword is used to manipulate the behaviour of successive commands or certain values.

It can be used to define the first node or element number which will be used for the next mesh generation. And it is used to redefine the leading character of new entities. The default is D for points p, L for lines l, C for combined lines (lcmb) c, A for surfaces s, B for Bodies b, Q for nurb lines (nurl) L, N for nurb surfaces (nurs) S, A for sets se and H for Shapes sh. For example

asgn p U

will assign the character U as the leading character to all newly created names of points. The automatically created names of geometric entities use 4 characters. If all possible names with the chosen leading letter are in use then the next alphabetical letter is chosen as a leading letter, so after PZZZ follows Q000. After the last letter the amount of characters per name is increased. The maximum number is 8. Each entity has its own name space. Different entities might use the same name. Remark: Currently nurbs-lines are automatically create splines sharing the same name. Nurbs-lines can not be used for other purposes than to be displayed and so far they can not be written to a file.

Meta informations stored in the frd database can be extended:

asgn usr ADDDISP DS:1

will assign or change the User Header Record “ADDDISP DS:1”. Actually this type of record is automatically generated if the user adds displacements to the node coordinates (see “Toggle Add-Displacement)” and “User Header Record)”). The first word in the text is used as a key and the rest is the message. So

asgn usr ADDDISP NONE

will change this User Header Record to the new message “NONE”.

The node related data will be readed if the user selects a certain dataset. The already stored data are kept by default. With the command

asgn mem free

the current data are freed before the selected data are stored. With

asgn mem keep

the current data are kept. This is useful on computers with limited memory.

The method how the the color fringe plot scale is presented can be chosen with either

asgn max

asgn maxr

or

asgn maxc m

and

asgn minc m

were 'm' is the color of the suppressed values, here magenta (see maxc).

The command is also used to control the behaviour of the surface mesh generator for unstructured triangles. This mesher [15] uses the tree parameters alpha, beta, nadapt for mesh-control. Current default is 0.4 for alpha and beta and 4 for nadapt.

The surface mesh generator is able to use multiple cores (threads). Per default the mesher uses only one thread because only in this case the mesh numbering is reproducable. But since the surface meshing of a CAD geometry can be very time consumable a certain number of threads is used when the model is opened in the auto mode (cgx -a file). The actual number of threads is listed with the command “prnt info”. This value can be changed in the cgx.h file (NTHREADS). When using

asgn thrds 8

the next mesh generation will use 8 threads and when saving the geometry this command is stored as well. The user might use this command to store his personal number of threads in the “.cgx” file in his home directory.

Currently two different tet mesher are available [4] [5]. They can be chosen with

asgn tetgen

or

asgn netgen

In case Nastran input should be generated it is possible to switch from MPCs to RBEs when using the send command in combination with the areampc option. The value after “rbe” represents the thermal expansion coefficient of this elements:

asgn rbe 0.5e-6

It should be noted that coincident nodes are connected by MPCs either way.

The presentation of the 2D plots generated by 'graph' can be switched of or on and the next running number of the files written with 'graph' can be defined:

asgn graph off

asgn graph on

asgn graph 11

Finally to speed up the execution of batch files in normal operation (with the grapical window visible) the internal operations necessary for graphical output can be switched off or on during reading of command lines from a file with:

asgn bg off

asgn bg on