Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 5773

Randomise theta and phi angles of column geometry?

$
0
0

Hi. I plan to design a model geometry composed of an array of simple columns (or simply vector lines, whichever is simpler) where each column has a randomized tilt.

Questions:

  1. Is there a log/immediate window where I can test operators? The description in the help for the random (normal and uniform) operators are very limited with no description of what the variables do and I initially had some trouble getting them to work properly for building geometry.
  2. What is the best documentation/tutorial/sample model on how to build custom functions? I will want theta to be randomized from a normal distribution around 2, with the additional condition that it can never be less than two.

Mvh Milum


Viewing all articles
Browse latest Browse all 5773

Trending Articles