|
[Sponsors] |
July 4, 2022, 00:21 |
decomposePar changes fixedGradient BC
|
#1 |
New Member
chen
Join Date: May 2022
Posts: 4
Rep Power: 3 |
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; } } ] |
|
August 28, 2022, 10:08 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21 |
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.
|
|
February 17, 2023, 02:55 |
|
#3 |
New Member
ali
Join Date: May 2022
Posts: 1
Rep Power: 0 |
I agree with jherb, there are several processors folder, because outer is not distributed to the folder you check
If possible you can decrease the parallel number, and check each processor folder, there should be one folder with the right boundary conditions you need. outer { type fixedGradient; gradient uniform -100; } |
|
February 26, 2023, 23:46 |
|
#4 |
New Member
Sulivar
Join Date: Feb 2023
Posts: 1
Rep Power: 0 |
Based on the preliminary research, the working hypothesis is that the master reads the field (but directly from the case, and not from its 'processor0' directory) and then sends the relevant subset to all of the slaves. It would appear that the dictionary that was sent to the slave processors has no entries.
__________ World's Hardest Game |
|
Tags |
fixedgradient parallel |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Threaded decomposepar | sqek | OpenFOAM Pre-Processing | 0 | October 8, 2021 13:31 |
fixedGradient BC type with the channelOodles solver | Bedotto | OpenFOAM Running, Solving & CFD | 5 | April 15, 2019 09:49 |
decomposePar problem: Cell 0contains face labels out of range (Again)) | limonegiallo | OpenFOAM Pre-Processing | 4 | August 28, 2017 05:18 |
decomposePar 4-core warning/error? | Boloar | OpenFOAM Bugs | 23 | April 8, 2014 08:57 |
decomposePar gives errors | of_user_ | OpenFOAM | 1 | July 4, 2011 05:27 |