|
[Sponsors] |
July 26, 2016, 13:43 |
set random seeding at run-time
|
#1 |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 |
I'm using turbulentInlet boundary condition which adds random perturbations to the flow.
The seeding for the ranGen_ is hard coded to be zero, so there's no way to change it with an optional input dictionary member. However I need to have multiple runs simultaneously and I don't want them all look similar, so is there anyway that I change a global seeding or something? Or should I just modify the boundary condition? |
|
December 4, 2019, 06:24 |
|
#2 |
Member
George Pichurov
Join Date: Jul 2010
Posts: 52
Rep Power: 15 |
same question here. Can I seed through a dictionary argument?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient run continues from last time (when startover is desired) | bongbang | CFX | 2 | March 22, 2015 23:05 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 13:58 |
[snappyHexMesh] determining displacement for added points | CFDnewbie147 | OpenFOAM Meshing & Mesh Conversion | 1 | October 22, 2013 09:53 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 18:07 |