Next: elem
Up: Commands
Previous: del
Contents
div
'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 a single line or of lines included in a set (see qadd). The division controls the number of nodes that will be created if 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 asigned 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. Where 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 fullfilled then the division is halfed. 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. This surfaces are called top and bottom surfaces. All other surfaces of this body must have unique divisions on opposite edges.
Next: elem
Up: Commands
Previous: del
Contents
root
2007-02-10