CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM News & Announcements > OpenFOAM Announcements from Other Sources

multiSolver released

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By marupio
  • 1 Post By marupio
  • 1 Post By marupio

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2010, 09:30
Default multiSolver released
  #1
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
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?

  • Arbitrarily changing boundary conditions mid-run;
  • Modelling multi-step processes in a single application (e.g. injection & settling);
  • Modelling a problem characterized by 2 different timesteps (e.g. stirring & biochemical reactions).
See this page on the wiki for further details:

http://openfoamwiki.net/index.php/Contrib_multiSolver

Share and enjoy!
alexey2petrov likes this.
marupio is offline   Reply With Quote

Old   March 28, 2011, 17:04
Default Parallelization?
  #2
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Are parallel runs supported yet? I'm using OF-1.6-ext and this would be fantastic for my applications.

Dan
chegdan is offline   Reply With Quote

Old   March 28, 2011, 18:20
Default
  #3
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
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
marupio is offline   Reply With Quote

Old   March 28, 2011, 18:36
Default
  #4
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Quote:
Originally Posted by marupio View Post
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

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
chegdan is offline   Reply With Quote

Old   March 28, 2011, 22:08
Default
  #5
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
Grand! I've sent you a PM with some more information. I hope we can get this working!
marupio is offline   Reply With Quote

Old   April 6, 2011, 11:19
Default
  #6
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
multiSolver now fully supports parallel simulations.
marupio is offline   Reply With Quote

Old   May 20, 2011, 07:19
Default
  #7
New Member
 
Peter Canfield
Join Date: Mar 2009
Posts: 16
Rep Power: 17
canfield is on a distinguished road
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?
canfield is offline   Reply With Quote

Old   May 20, 2011, 10:17
Default
  #8
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
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?
marupio is offline   Reply With Quote

Old   May 20, 2011, 10:26
Default
  #9
New Member
 
Peter Canfield
Join Date: Mar 2009
Posts: 16
Rep Power: 17
canfield is on a distinguished road
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
canfield is offline   Reply With Quote

Old   May 20, 2011, 10:46
Default
  #10
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
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
marupio is offline   Reply With Quote

Old   May 20, 2011, 11:29
Default
  #11
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
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!
canfield likes this.
marupio is offline   Reply With Quote

Old   May 20, 2011, 11:38
Default
  #12
New Member
 
Peter Canfield
Join Date: Mar 2009
Posts: 16
Rep Power: 17
canfield is on a distinguished road
Nice job! works fine for the demo; I'll have a go at my case later on. Thanks.
canfield is offline   Reply With Quote

Old   June 3, 2011, 10:44
Default
  #13
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
The bug fix has been completed. Parallel decomposing should nolonger omit the initial directories!
Attesz likes this.
marupio 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
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


All times are GMT -4. The time now is 12:49.