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

decomposePar changes fixedGradient BC

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2022, 01:21
Default decomposePar changes fixedGradient BC
  #1
New Member
 
chen
Join Date: May 2022
Posts: 4
Rep Power: 2
vb276 is on a distinguished road
Hello,
I am trying to simulate a pipe flow ,and boundary condition for temperature at outer is
fixedGradient
gradient uniform -100,
but after decomposePar ,the BC change to
fixedGradient
gradient nonuniform List<scalar>
before decomposePar
Code:
[boundaryField
{
    inter
    {
        type            zeroGradient;
    }

    outer
    {
        type            fixedGradient;
        gradient           uniform -100;       
    }   
    inlet1
    {
        type            cyclic;
    }
    outlet1
    {
        type            cyclic;
    }
    left
    {
        type            cyclic;
    }
    right
    {
        type            cyclic;
    }
}]
after decomposePar[boundaryField
{
    inter
    {
        type            zeroGradient;
    }
    outer
    {
        type            fixedGradient;
        gradient        nonuniform List<scalar> 0();
    }
    inlet1
    {
        type            cyclic;
    }
    outlet1
    {
        type            cyclic;
    }
    left
    {
        type            cyclic;
    }
    right
    {
        type            cyclic;
    }
    procBoundary0to1
    {
        type            processor;
        value           uniform 300;
    }
    procBoundary0to2
    {
        type            processor;
        value           uniform 300;
    }
}
]
is there anyone who know the reason?
vb276 is offline   Reply With Quote

Old   August 28, 2022, 11:08
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 649
Rep Power: 20
jherb is on a distinguished road
nonuniform List<scalar> 0(); means that there are 0 faces of this patch calculated on the processor you looked at. If you look at this field file in the other processor directories you will find one/more which contain the correct value, because on this/these processor(s) the boundary is really used.
jherb is offline   Reply With Quote

Reply

Tags
fixedgradient parallel

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Threaded decomposepar sqek OpenFOAM Pre-Processing 0 October 8, 2021 14:31
fixedGradient BC type with the channelOodles solver Bedotto OpenFOAM Running, Solving & CFD 5 April 15, 2019 10:49
decomposePar problem: Cell 0contains face labels out of range (Again)) limonegiallo OpenFOAM Pre-Processing 4 August 28, 2017 06:18
decomposePar 4-core warning/error? Boloar OpenFOAM Bugs 23 April 8, 2014 09:57
decomposePar gives errors of_user_ OpenFOAM 1 July 4, 2011 06:27


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