How to generate a random number between 0 and 1 in openFOAM?
Hello everyone
I am using OF21 and I do not know how to generate a random number between 0 and 1. I tried to use Code:
sample01() https://www.openfoam.com/documentati...8C_source.html Thanks, Farzad |
Check this answer: https://www.cfd-online.com/Forums/op...tml#post789813
|
All times are GMT -4. The time now is 12:50. |