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

Coupled problem running in parallel

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

LinkBack Thread Tools Display Modes
Old   June 24, 2005, 01:17
Default I wrote a new solver to deal w
Senior Member
Xiaofeng Liu
Join Date: Mar 2009
Location: State College, PA, USA
Posts: 118
Rep Power: 10
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

liu is offline   Reply With Quote

Old   June 24, 2005, 05:57
Default Your problem will be the commu
Super Moderator
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 18
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


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
RSH problem for parallel running in CFX Nicola CFX 5 June 18, 2012 18:31
Problem in running Parallel mamaly60 OpenFOAM Running, Solving & CFD 1 April 19, 2010 11:11
InterFoam problem running parallel vatant OpenFOAM Running, Solving & CFD 0 April 28, 2006 19:22
problem running parallel-help needed Shankar FLUENT 0 December 16, 2002 14:45

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