|
[Sponsors] |
June 14, 2010, 16:45 |
random number generator in CFX
|
#1 |
New Member
Bo Yan
Join Date: Jun 2010
Posts: 2
Rep Power: 0 |
Hi CFX users,
I'm trying to give a white noise to a fluid flow inlet velocity profile, I'm wondering if you guys have wrote any fortran subroutine that generates random number every time step. If someone can show me how to do that, that would be really appreciated. |
|
June 15, 2010, 07:41 |
|
#2 |
Senior Member
Robert
Join Date: Jun 2010
Posts: 117
Rep Power: 16 |
The SLATEC Fortran library has a random number generator in it called rrand.f, which I have attached.
I am not sure how good it is but it may serve your purposes. |
|
June 15, 2010, 10:03 |
|
#3 |
New Member
Bo Yan
Join Date: Jun 2010
Posts: 2
Rep Power: 0 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Random number generator | ASaidZ | FLUENT | 3 | February 3, 2014 20:06 |
courant number for transient flow on CFX ? | amine | CFX | 13 | August 20, 2013 19:02 |
air bubble is disappear increasing time using vof | xujjun | CFX | 9 | June 9, 2009 07:59 |
CFX Solver Memory Error | mike | CFX | 1 | March 19, 2008 07:22 |
Is there a 'best' uniform random number generator? | LEAF | Main CFD Forum | 2 | April 20, 2006 08:23 |