CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

set random seeding at run-time

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By anishtain4

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2016, 13:43
Default set random seeding at run-time
  #1
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18
anishtain4 is on a distinguished road
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?
jorkolino likes this.
anishtain4 is offline   Reply With Quote

Old   December 4, 2019, 06:24
Default
  #2
Member
 
George Pichurov
Join Date: Jul 2010
Posts: 52
Rep Power: 15
jorkolino is on a distinguished road
same question here. Can I seed through a dictionary argument?
jorkolino is offline   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
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


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