|
[Sponsors] |
July 23, 2010, 09:30 |
multiSolver released
|
#1 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Hi Foamers,
I am pleased to announce the release of multiSolver, an extension to OpenFOAM that allows you to run numerous solvers in sequence on a single dataset. Why would you need that?
http://openfoamwiki.net/index.php/Contrib_multiSolver Share and enjoy! |
|
March 28, 2011, 17:04 |
Parallelization?
|
#2 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
Are parallel runs supported yet? I'm using OF-1.6-ext and this would be fantastic for my applications.
Dan |
|
March 28, 2011, 18:20 |
|
#3 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Hi Dan,
No, it isn't. I haven't worked with parallel very much, so I'm not familiar with the directory structure and how the processors communicate. I don't forsee it being challenging, but I don't have the time right now. I would be open to collaborating on its development, though! I expect to be putting mesh motion in this summer. I'll also have an updated version with minor changes before the 6th workshop. -Dave |
|
March 28, 2011, 18:36 |
|
#4 | |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
Quote:
I would be willing to collaborate on this one to get it working. I will take a look at the code and see if I can offer any help. It looks like a fantastic tool and could definitely be worth getting it to work in parallel. I'll get into it starting tomorrow. Dan |
||
March 28, 2011, 22:08 |
|
#5 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Grand! I've sent you a PM with some more information. I hope we can get this working!
|
|
April 6, 2011, 11:19 |
|
#6 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
multiSolver now fully supports parallel simulations.
|
|
May 20, 2011, 07:19 |
|
#7 |
New Member
Peter Canfield
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
Hello. First of all, great work with this solver!
I do seem to have hit an obstacle though. You say it supports parallel processing. I don't seem to be able to figure out how to get the solver to run. I have decomposed the case as explained on the WIKI page, but when I try to run the case using mpirun .... it won't run. It seems that there are no "0" directories in the processor directories. I guess I am just missing something trivial, but I haven't worked it our yet. Maybe you can give me a tip? |
|
May 20, 2011, 10:17 |
|
#8 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
It sounds like you aren't using a multiSolver-enabled solver. What solver are you using? The only publicly available one is multiSolverDemo, which came with the installation. The wiki page also shows how to easily create a multiSolver-enabled application.
If you are using the correct solver... then what errors are you getting? |
|
May 20, 2011, 10:26 |
|
#9 |
New Member
Peter Canfield
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
OK, here goes. I compiled my own multisolver called multiBubbleSolver. Incidentally, it works fine on a single processor. Then I decompose as per instructions on the wiki. then I input:
mpirun -np 4 multiBubbleSolver -parallel and I receive this: [1] --> FOAM FATAL ERROR: [1] Initial time directory missing for solver domain [interFoam1]. Expecting "/home/peter/OpenFOAM/peter-1.7.x/run/BUBBLES/processor1/multiSolver/interFoam1/initial/0" [1] [1] From function multiSolver::checkTimeDirectories [1] in file multiSolver/multiSolver.C at line 320. ...The rest of the errors seem to be caused by the missing directory. The same thing happens if I try using multiSolverDemo in parallel.The directory structure in the proc* folders is as follows ("0" directory missing): processor* -constant -system |
|
May 20, 2011, 10:46 |
|
#10 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Hi Peter, I've managed to duplicate the issue on my machine. I'll try to resolve it as quickly as I can, but I have to leave for work soon. I'll let you know...
-Dave |
|
May 20, 2011, 11:29 |
|
#11 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Hi Peter, I've got a work-around you can try for now... the bug fix should come within a few days. Edit the controlDict file (not the multiControlDict), and set:
startFrom: startTime; startTime: -1; Then try the long decompose command in the wiki. I have to head off to work now. Hope it works! |
|
May 20, 2011, 11:38 |
|
#12 |
New Member
Peter Canfield
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
Nice job! works fine for the demo; I'll have a go at my case later on. Thanks.
|
|
June 3, 2011, 10:44 |
|
#13 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
The bug fix has been completed. Parallel decomposing should nolonger omit the initial directories!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
IcofsiFoam not supported under released 141 package | pi06jl6 | OpenFOAM Running, Solving & CFD | 4 | June 26, 2008 14:59 |
coal combustion:heat released | Maria Luiza | CFX | 0 | July 5, 2006 14:03 |
OpenFOAM Version 1.3 Released | OpenFOAM discussion board administrator | OpenFOAM Announcements from ESI-OpenCFD | 0 | March 29, 2006 19:06 |
OpenFOAM Version 1.0.2 Released | Admin (Admin) | OpenFOAM Announcements from ESI-OpenCFD | 0 | January 12, 2005 07:33 |
partciles released in different instants | Jason | FLUENT | 2 | September 15, 2004 06:16 |