CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Parallel computation

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

LinkBack Thread Tools Display Modes
Old   January 25, 2008, 21:19
Default Hallo, I'm going to run a cas
New Member
Join Date: Mar 2009
Posts: 26
Rep Power: 10
morfeus80 is on a distinguished road
I'm going to run a case with a dual core processor: have I to make the partition of the grid and start a parallel process or not? If I have to do, what commands have I to type to run the case?
morfeus80 is offline   Reply With Quote

Old   January 25, 2008, 23:30
Default Hi Mattia, My understandin
Senior Member
Michael Jaworski
Join Date: Mar 2009
Location: Champaign, IL, USA
Posts: 126
Rep Power: 10
mike_jaworski is on a distinguished road
Hi Mattia,
My understanding is that if you want to use both cores of your processor you will have to split the mesh and run it with the mpirun command. There are explicit directions on doing this in the user guide for the third tutorial case called "DamBreak" which uses interFoam. It's very straight forward to run if you don't have to mess with connecting to other machines and the steps in the tutorial are fairly explicit.

Good luck!
Mike J.
mike_jaworski is offline   Reply With Quote

Old   May 8, 2008, 07:20
Default Reference pressure for e.g. bu
Niklas Wikstrom
Join Date: Mar 2009
Posts: 85
Rep Power: 10
wikstrom is on a distinguished road
Reference pressure for e.g. buoyantSimpleFoam:


How is the reference pressure cell selection handled in parallel runs?

I use OpenFOAM-1.4.1 from the svn-repository (proposedly including bugfixes).

The following description is based on problems with buoyantSimpleFoam. As example the tutorial case 'hotRoom' is used.

1) Serial case runs fine. The pressure solution (iteration numbers and residuals) is clearly effected by the choice of pdRefCell.

2) Parallel case runs fine, as long as pdRefCell is a number smaller than the number of cells per process.

3) Using a larger pdCellRef cause floating point exception. Which might be understandable IF the pdRefCell is not translated during a parallel run.

So, how should the reference pressure be handled for parallel runs? For now it seems like it has to be positioned inside the processor0 domain(??).

wikstrom is offline   Reply With Quote


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
Parallel computation Jonas Pedro Caumo CFX 6 December 19, 2006 15:51
Computation in parallel zou_mo OpenFOAM Running, Solving & CFD 2 June 29, 2005 11:08
about parallel computation akang CFX 5 June 22, 2005 10:51
MPI and parallel computation Wang Main CFD Forum 4 April 3, 2005 06:40
MPI and parallel computation Wang Main CFD Forum 7 April 15, 2004 11:25

All times are GMT -4. The time now is 13:24.