CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Angle injection using Monte Carlo method

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2008, 03:19
Default Angle injection using Monte Carlo method
  #1
Asghari
Guest
 
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

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 06: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 22:30
help of Monte Carlo PDF method Atsushi Yamada Main CFD Forum 12 April 16, 2001 03:12


All times are GMT -4. The time now is 16:13.