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

define cutting plane - parallel running

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 24, 2009, 05:50
Question define cutting plane - parallel running
  #1
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 17
Schag is on a distinguished road
Hi,

I'm looking for a solution to define a cutting plane for parallel running.
My domain is a U pipe, with an inlet lenght different from the outlet one.
Looks like that:

inlet...... xxxxxx
.................... x
.................... x
outlet xxxxxxxxx


The problem is that methods simple/metis/herarchical do not cut it at the middle of the U turn, so the interface is not optimal. I could eventually use a manual method, but don't have an example of implementation. Is there another solution?

Regards

Julien
Schag is offline   Reply With Quote

Old   July 24, 2009, 06:21
Default
  #2
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
Julien,

how many processors?

It's important to have an equal amount of cells on each processor. The size of the processorProcessor patch is secondary.

Henrik
henrik is offline   Reply With Quote

Old   July 24, 2009, 08:44
Default
  #3
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 17
Schag is on a distinguished road
Only 2 processors for the moment, about 160k cells each...and 1200 faces for interface.
I have no temporal gain compared to monocore simulation...
Schag is offline   Reply With Quote

Old   July 24, 2009, 09:03
Default
  #4
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
Dear Julien,

did you start your simulation in parallel?

Code:
mpirun -np 2 julienFoam -parallel
Henrik
henrik is offline   Reply With Quote

Old   July 24, 2009, 09:42
Default
  #5
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 17
Schag is on a distinguished road
yes, I did that correctly I think, I used that command line, and my 2 processors are busy.

I have a gain in executionTime, but not in clockTime (and the computer isn't doing anything else at the same time).

I though, maybe my computer is not adapted to that kind of parallel using. (AMD Athlon(tm) Dual Core Processor, Debian 64bit)
Schag is offline   Reply With Quote

Old   July 24, 2009, 11:26
Default
  #6
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
henrik is on a distinguished road
Julien,

your hardware is fine.

Quote:
I have a gain in executionTime, but not in clockTime (and the computer isn't doing anything else at the same time).
I am confused about this. Please post the log of last few iterations.

Please check in top that the two processes together consume about the same memory than the single processor process.

Which parallel comms library are you using?

Quote:
echo $WM_MPLIB.
Try a different one. LAM rather than OPENMPI or vice versa. You probably need to compile Pstream.

Incidentely, is this a binary installation? If yes, it might be worth a try recompiling everything.

Henrik
henrik is offline   Reply With Quote

Reply

Tags
cutting plane, parallel


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
RSH problem for parallel running in CFX Nicola CFX 5 June 18, 2012 19:31
[Gmsh] boundaries with gmshToFoam‏ ouafa OpenFOAM Meshing & Mesh Conversion 7 May 21, 2010 13:43
Running in parallel s.sivakumar OpenFOAM Running, Solving & CFD 3 July 4, 2009 01:37
Getting error while running on parallel Mode velan OpenFOAM Running, Solving & CFD 8 May 10, 2009 04:26
Problems on running cfx in parallel Nan CFX 1 March 29, 2006 05:10


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