CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

Angle injection using Monte Carlo method

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 22, 2008, 03:19
Default Angle injection using Monte Carlo method
Posts: n/a
Hi all;

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
  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
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

All times are GMT -4. The time now is 09:32.