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

Coupled problem running in parallel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2005, 02:17
Default I wrote a new solver to deal w
  #1
liu
Senior Member
 
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 17
liu is on a distinguished road
I wrote a new solver to deal with coupled problem. There are two meshes to represent the two domains which is coupled through one common boundary patch. In one processor, it's running ok now except the speed.
I want to move to supercomputers. Can some one give me some suggestions? I am reading the code which is regarding to the parallel part in the original code. But some hint will be very helpful.

After I finish this, I am happy to release the new solver code.
__________________
Xiaofeng Liu, Ph.D., P.E.,
Assistant Professor
Department of Civil and Environmental Engineering
Penn State University
223B Sackett Building
University Park, PA 16802


Web: http://water.engr.psu.edu/liu/
liu is offline   Reply With Quote

Old   June 24, 2005, 06:57
Default Your problem will be the commu
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Your problem will be the communication across your coupled patch. The easiest solution is to make your parallel decomposition such that the whole coupled patch remains on one processor. In that way you don't have to change your code at all (probably)

Have a look a the 'manual' option to decomposePar. It reads a labelList from the constant/ (or system/ ?) directory and uses that to decompose the case. The labelList gives for every cell the processor it should go to.

You'll have to write some code to write this file so the cells around your patch are on the same processor.

2] Alternatively you can do the communication across your patch yourself. Find some examples in the utilities that use OPstream and IPstream.

3] For both method it helps if you fully work out what exactly has to be communicated between processors.

(all this is not trivial)
mattijs 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
RSH problem for parallel running in CFX Nicola CFX 5 June 18, 2012 19:31
Problem in running Parallel mamaly60 OpenFOAM Running, Solving & CFD 1 April 19, 2010 12:11
PROBLEM IN SOLVER RUNNING PARALLEL Íñigo CFX 3 February 4, 2007 06:08
InterFoam problem running parallel vatant OpenFOAM Running, Solving & CFD 0 April 28, 2006 20:22
problem running parallel-help needed Shankar FLUENT 0 December 16, 2002 14:45


All times are GMT -4. The time now is 09:34.