OOF: Finite Element Analysis of Microstructures




Next: /select/elements/gray Up: /select/elements Previous: /select/elements/random   Contents
Subsections
/select/elements/swisscheese
Select non overlapping circles of elements.
Sometimes a particular set of swisscheese parameters will
make proper selection time-consuming, if not impossible.
The function does a quick job and then leaves details about how
well it performed in the message subwindow.
swisscheese arguments
Spatial arguments are in physical units (i.e. the same as width and height).- ncircles
- The number of circles which OOF will attempt to select. The actual number may fall short. Default: 1.
- Ravg
- The average radius of the circles. Default: 0.
- Rdev
- The deviation about the average radius. The actual radius
is
, where
is a random number chosen from a Gaussian distribution with mean 0 and deviation 1.
- separation
- The minimum distance separating the edges any two circles. Default: 0.
- maxtries
- The number of times to try to select a circle if selection becomes difficult. No attempt is made to place the circles intelligently. A circle is placed at random, and if it overlaps or comes within separation of another circle, it is rejected. After it is rejected maxtries times, the algorithm gives up and goes on to the next circle. Default: 100.




Next: /select/elements/gray Up: /select/elements Previous: /select/elements/random   Contents /* Send mail to the OOF Team *//* Go to the OOF Home Page */