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

Parallel Processing by region

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 30, 2015, 09:42
Default Parallel Processing by region
  #1
Member
 
Thomas Sprich
Join Date: Mar 2015
Posts: 76
Rep Power: 11
Swift is on a distinguished road
Greetings to the Forum,

I have adapted the propeller example to suite my test case which is a mixer in a tank. I have a stator domain (region0) and a rotor domain (region1). I am able to run the model on a single core as well as in parallel processing. I notice however, that the parallel case is taking longer to solve than when it solves on a single core. I suspect it has to do with the way the solution is divided between the processors. I edited the decomposeParDict from the propeller example as follows to reflect the new orientation of my case:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      decomposeParDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

numberOfSubdomains 3;



method          hierarchical;

hierarchicalCoeffs
{
    n               (1 1 3);
    delta           0.001;
    order           xyz;
}

/*numberOfSubdomains 3;

method          scotch;

distributed     no;

roots           ( );
*/
// ************************************************************************* //
You can see that this will divide the case in the z direction rather than the y direction like the propeller case.

I also tried the "scotch" method that is commented out in the code above.

I suspect the reason the parallel processing is taking longer is because of the way the solution is being divided up.

I would like to know if it is possible to to divide the solution such, that the stator region solves on one processor and the rotor region on the other. I realise that this would mean I only use two processors but I would like to see if this would improve the solution.

Thanks in advance for the help!

Thomas
Swift 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
Some questions about a multi region case run in parallel zfaraday OpenFOAM Running, Solving & CFD 5 February 23, 2017 11:25
problem for parallel processing minaret OpenFOAM Running, Solving & CFD 14 January 20, 2015 00:41
Fluent 15.0 Parallel and Batch Processing on a Supercomputer n_bowen FLUENT 0 August 26, 2014 14:46
Paradox in parallel processing Vagelis FLUENT 0 October 26, 2005 06:36
About parallel processing in Linux tuks CFX 10 August 8, 2005 09:22


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