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

Problem with IcoFoam in parallel

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 18, 2008, 03:39
Default Hi All, I am running an inc
  #1
Senior Member
 
Senthil Kabilan
Join Date: Mar 2009
Posts: 113
Rep Power: 8
skabilan is on a distinguished road
Hi All,

I am running an incompressible transient case using icoFoam on 16 processors (Itanium 2, mpirun). The code stalls for a while (roughly 15 -20 mins) when it gets to solving the pressure equations.

GAMG: Solving for p, Initial residual = 0.0754381, Final residual = 0.00116701, No Iterations 2
time step continuity errors : sum local = 8.18748e-17, global = -3.0093e-18, cumulative = -1.55931e-16
GAMG: Solving for p, Initial residual = 0.0136584, Final residual = 0.00132829, No Iterations 1
time step continuity errors : sum local = 9.01088e-17, global = 2.14171e-19, cumulative = -1.55717e-16

Basically it takes less time to solve the same problem on one processor than in parallel.Can anyone help me with this?
Let me know if you need further information regarding the case.

Thanks in advance.

Warm Regards,
Senthil
skabilan is offline   Reply With Quote

Old   March 18, 2008, 04:08
Default Choose other solver on the pre
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
Choose other solver on the pressure equation - this one obviously does not work.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   March 20, 2008, 14:35
Default Hi Hrv, I tried all the oth
  #3
Senior Member
 
Senthil Kabilan
Join Date: Mar 2009
Posts: 113
Rep Power: 8
skabilan is on a distinguished road
Hi Hrv,

I tried all the other available solvers for the pressure equation but have the same problem. The fastest is with GAMG on four processors.

Any suggestions or thoughts?

Regards,
Senthil
skabilan is offline   Reply With Quote

Old   March 20, 2008, 17:55
Default Even better: a paper with some
  #4
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
Even better: a paper with some results:

CG-AMG paper

You can get one of the test cases

Droplet splash test case

and all the solvers are checked into the SVN version. Why don't you try to reporoduce the results from the paper and tell me what you see.

Please let me know,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   March 26, 2008, 12:43
Default Hi Hrv, I have emailed you
  #5
Senior Member
 
Senthil Kabilan
Join Date: Mar 2009
Posts: 113
Rep Power: 8
skabilan is on a distinguished road
Hi Hrv,

I have emailed you the results of the droplet splash test on our Altix Itanium machine for 1,2 and 4 processors. Sorry, it was an excel sheet and I did not know how to upload the file on to the forum.

Regards,
Senthil
skabilan is offline   Reply With Quote

Old   March 26, 2008, 13:09
Default http://www.cfd-online.com/cgi-
  #6
Senior Member
 
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 8
johndeas is on a distinguished road
http://www.cfd-online.com/cgi-bin/Op...?pg=formatting

look for the attach{} keyword

JD
johndeas is offline   Reply With Quote

Old   March 26, 2008, 14:08
Default Hi Hrv, Here is the attachm
  #7
Senior Member
 
Senthil Kabilan
Join Date: Mar 2009
Posts: 113
Rep Power: 8
skabilan is on a distinguished road
Hi Hrv,

Here is the attachment. Droplet_splash.txt

Warm Regards,
Senthil

JD: Thanks for the link
skabilan is offline   Reply With Quote

Old   March 26, 2008, 15:22
Default Hello, I would like to ask
  #8
kar
Senior Member
 
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 8
kar is on a distinguished road
Hello,

I would like to ask a question about parallel: when I do mpirun --hostfile <machines> -np <nprocs> .., what is the correspondence of <machines> file entries and processor numbers? Thanks!

K.
kar is offline   Reply With Quote

Old   March 27, 2008, 05:45
Default Running the case droppletSpals
  #9
Senior Member
 
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 8
johndeas is on a distinguished road
Running the case droppletSpalsh directly, strictly following README guidance I also get this error:

--> FOAM FATAL IO ERROR : Unknown symmetric matrix solver CG

Valid symmetric matrix solvers are :

4
(
ICCG
smoothSolver
PCG
GAMG
)


file: /home/flurec/commun/vk/08-03/27-dropletSplash/./system/fvSolution::pcorr a
t line 27.

From function lduMatrix::solver::New
in file matrices/lduMatrix/lduMatrix/lduMatrixSolver.C at line 78.

What is going on ?
johndeas is offline   Reply With Quote

Old   March 27, 2008, 05:53
Default --> FOAM FATAL IO ERROR : Unkn
  #10
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
dmoroian is on a distinguished road
Quote:
--> FOAM FATAL IO ERROR : Unknown symmetric matrix solver CG
Are you using the development version 1.4.1-dev?

Dragos
dmoroian is offline   Reply With Quote

Old   March 27, 2008, 05:57
Default Try this: - go to OpenFOAM-
  #11
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
Try this:

- go to OpenFOAM-1.4.1-dev/src and tell me if there is a library called lduSolvers. If so, do

wmake libso lduSolvers

and make sure the library is compiled.

- go to OpenFOAM-1.4.1-dev/applications/solvers/multiphase/interFoam and look at the file Make/options. It should contain a line under EXE_LIBS saying -llduSolvers

if so, type wmake and make sure the executable is built.

- if you are not running OpenFOAM-1.4.1-dev, you will fail somewhere along the way. If you want to have a go with the legacy solvers, go to the test case and look for the file dropletSplash/fvSolution.oldSolvers and use that for system/fvSolution

Hope this helps,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   March 27, 2008, 07:22
Default I was using the released versi
  #12
Senior Member
 
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 8
johndeas is on a distinguished road
I was using the released version (and currently checking out the svn...). Sorry for the noise, and thanks for your comments.
johndeas is offline   Reply With Quote

Old   April 1, 2008, 05:55
Default Thank you Hrvoje. After my
  #13
Senior Member
 
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 8
johndeas is on a distinguished road
Thank you Hrvoje.

After my dev version of svn worked, I had to add the -lldusolver to a customized solver. I would'nt have find hit quickly without your post.
johndeas is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IcoFoam in parallel Issue with speed up hjasak OpenFOAM Running, Solving & CFD 19 October 11, 2011 17:07
Problem with icoFoam nadine OpenFOAM Running, Solving & CFD 1 August 28, 2008 04:49
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
A fundamental problem about the UcorrectBoundaryConditions in icoFoam dbxmcf OpenFOAM Running, Solving & CFD 0 February 26, 2007 23:16
Problem in tesing the icoFoam solver liuzhw OpenFOAM Running, Solving & CFD 0 November 2, 2005 23:33


All times are GMT -4. The time now is 18:45.