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

decomposePar for Conjugate Heat Transfer not working properly

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Bloerb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2018, 07:48
Default decomposePar for Conjugate Heat Transfer not working properly
  #1
New Member
 
Joćo Gil
Join Date: Aug 2017
Posts: 12
Rep Power: 9
bussaco8 is on a distinguished road
Hello all!
I have a case which uses chtMultiRegionSimpleFoam with a solid region and a fluid region. I am trying to decompose the case into 4 processors, using the following decomposeParDict file:


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

numberOfSubdomains 4;

method          simple;

simpleCoeffs
{
    n               (2 2 1);
    delta           0.001;
}

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

manualCoeffs
{
    dataFile        "";
}

distributed     no;

roots           ( );


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

When I run in the terminal
Code:
decomposePar -allRegions

It decomposes in only 2 processors and uses the scotch method instead, almost as it completely ignores my decomposeParDict.


However, if I run the decomposePar shown above in a one-region case, the execution runs well.


How can I fix this?


Thanks and best regards,
Joćo Gil
bussaco8 is offline   Reply With Quote

Old   May 30, 2018, 08:10
Default
  #2
Senior Member
 
Join Date: Sep 2013
Posts: 353
Rep Power: 21
Bloerb will become famous soon enough
Put the decomposeParDict into the region folders.
E.g
system/fluid/decomposeParDict
system/solid/decomposeParDict
bussaco8 likes this.
Bloerb is offline   Reply With Quote

Old   May 30, 2018, 09:55
Smile
  #3
New Member
 
Joćo Gil
Join Date: Aug 2017
Posts: 12
Rep Power: 9
bussaco8 is on a distinguished road
Yes, I did that and works now.
Also, it's better to use the scotch mode, using the decomposeParDict shown below.


Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      decomposeParDict;
}
numberOfSubdomains 4;
method          scotch;
scotchCoeffs
{
}
distributed     false;
roots           ( );

Anyway, thanks a lot for the help!
bussaco8 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
Thermal non-equilibrium porous media model with conjugate heat transfer Hexahedron FLUENT 9 February 22, 2023 03:55
Problem with total heat transfer rate aswathy_raghu FLUENT 9 April 21, 2022 11:36
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 06:15
Radiation heat transfer boundary condition natrask OpenFOAM Programming & Development 0 February 8, 2015 10:05
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28


All times are GMT -4. The time now is 23:53.