|March 22, 2008, 03:19||
Angle injection using Monte Carlo method
I have a problem & I should generate random angles in injetion area using gaussian distribution function & monte carlo method.
Average angle is 35 degree. Variance is 10 degree.Maximum limit angle is 47 degree. Minimum limit angle is 0 degree.
I have two question with this case. 1-Which function do I need in order to get random numbers as input and give a random angle as function output?Can someone give this relation up?
2-Is there a function in Fortran programing to implement random generation numbers between 0 & 1?
Thanks a lot for any help. Asghari
|Thread||Thread Starter||Forum||Replies||Last Post|
|Import netgen mesh to OpenFOAM||hsieh||Open Source Meshers: Gmsh, Netgen, CGNS, ...||32||September 13, 2011 05:50|
|Meshing for Monte Carlo Radiation||Zoran||CFX||6||November 30, 2007 11:03|
|Info Radiation Monte Carlo Model||Matteo||CFX||1||December 22, 2006 10:01|
|a question about Monte Carlo Method||Mindy||Main CFD Forum||0||September 16, 2002 21:30|
|help of Monte Carlo PDF method||Atsushi Yamada||Main CFD Forum||12||April 16, 2001 02:12|