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

Parallel computation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 25, 2008, 21:19
Default Hallo, I'm going to run a cas
  #1
New Member
 
Mattia
Join Date: Mar 2009
Posts: 26
Rep Power: 17
morfeus80 is on a distinguished road
Hallo,
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
  #2
Senior Member
 
Michael Jaworski
Join Date: Mar 2009
Location: Champaign, IL, USA
Posts: 126
Rep Power: 17
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, 08:20
Default Reference pressure for e.g. bu
  #3
Member
 
Niklas Wikstrom
Join Date: Mar 2009
Posts: 86
Rep Power: 17
wikstrom is on a distinguished road
Reference pressure for e.g. buoyantSimpleFoam:

Hi,

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(??).

cheers
Niklas
wikstrom 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
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 12:08
about parallel computation akang CFX 5 June 22, 2005 11:51
MPI and parallel computation Wang Main CFD Forum 4 April 3, 2005 07:40
MPI and parallel computation Wang Main CFD Forum 7 April 15, 2004 12:25


All times are GMT -4. The time now is 14:08.