div next up previous contents
Next: ds Up: Commands Previous: del   Contents


   'div'  <line> [<division>]|
   'div'  <set>  [<division>]|
                 ['mult'|'div' <factor-div> <factor-bias>]|
                 ['auto' <node-dist> <angle>]
This keyword is used to define the division of line(s). The div keyword also works on a set of lines (see qadd). The division controls the number of nodes created when the geometry is meshed (see elty and mesh). For example,

div all 4

attaches the division of 4 to all lines. With the keyword mult or div in combination with a value, it is possible to multiply or divide already assigned divisions:

div all mult 2.

Or in case you need a starting-point for the individual divisions you can use the option auto with the optional parameters node-dist and angle. Node-dist is the maximum allowed distance between nodes and angle is the maximum allowed angle defined by three sequential nodes. If one parameter is not fulfilled then the division is halved. Default values are defined in the file cgx.h

div all auto

Some rules must be fulfilled before a geometry is meshable. For linear elements (ie. qu4 or he8), the sum of all divisions of each surface must be even. In case of quadratic elements (ie. qu8 or he20) this sum must be divisible by 4 without residue. Opposite edges of a given surface might have different divisions. For example on the left side of a given surface the division is 8 and on the right side it is only 4. But only two opposite surfaces of a body can use this feature. These surfaces are called top and bottom surfaces. All other surfaces of this body must have unique divisions on opposite edges.

next up previous contents
Next: ds Up: Commands Previous: del   Contents
root 2012-10-04