27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
|
|
.. _perturb :
|
||
|
|
|
||
|
|
 _place_holder;
|
||
|
|
|
||
|
|
> **_PERTURB_**
|
||
|
|
|
||
|
|
This command moves node coordinates in the following manner.
|
||
|
|
|
||
|
|
Three pairs random numbers between 0 and 1 are obtained. These pairs refer to
|
||
|
|
the x, y and z coordinates of the nodes respectively. The first random number
|
||
|
|
of each pair is multiplied by the factor given in thecommand. The second
|
||
|
|
random number is used to determine if the calculated offset is to be added or
|
||
|
|
subtracted from the coordinate. No checking is done to see if elements are
|
||
|
|
inverted by this perturbation. _place_holder; It is assumed that the mesh
|
||
|
|
is not yet connected.
|
||
|
|
|
||
|
|
 _place_holder; FORMAT:
|
||
|
|
**perturb/pset,get,psetnam**e/xfactor,yfactor,zfactor
|
||
|
|
|
||
|
|
 _place_holder; EXAMPLES
|
||
|
|
**perturb/**1,0,0/0.5,0,0 _place_holder; _place_holder; add offsets to
|
||
|
|
only the xcoordinates of all nodes
|
||
|
|
|
||
|
|
**perturb/pset,get,mypset**/0.001,0.001,0.001 _place_holder; add small offsets to all coordinates of the nodes in the **pset** named **mypset.**
|
||
|
|
 _place_holder; [](../new_html/demos/pset/test/html/main_pset.html)
|
||
|
|
|