|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 7 ![]() |
Hi,
I have noticed that decomposePar changes the boundary conditions, which is very annoying if you want to use many cores. For e.g. it changed: Code:
outlet { type waveTransmissive; field p; psi thermo:psi; fieldInf 101325; gamma 1.4; lInf 1; value uniform 101325; } Code:
outlet { type waveTransmissive; gamma 1; fieldInf 101325; lInf 1; value nonuniform 0(); } Can anyone tell me how to solve this problem? I use openfoam4.1. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,906
Rep Power: 33 ![]() |
Inmteresting - apologies for this.
I have checked the mapper constructors for all components, but I cannot see that gamma is not copied. In fact, it looks to me that the code is right. Can you please give me more details: code version, a case I could look at (ideally, a tutorial) etc? Hrv P.S. Feel free to E-mail me directly.
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 7 ![]() |
Thank you for your kind help.
I have attached an edited tutorial case (forward step) from rhoCentralFoam. I have added the inlet and outlet boundary conditions in a way I am using them. The rest is untouched. I have also added a decomposeParDict. In the folder of the processors you can see the changes of the boundary conditions. I have noticed it only by accident. I have also noticed, that the operation renumberMesh leads to the same phenomenon. I am using openfoam4.1. I have downloaded it from openfoam.org. I have tried it with openfoam5 and openfoam7. The error still remains. I can only upload up to 0.2 MB, so I have uploaded it on this website: https://gofile.io/d/Cg6TvL Thanks again for the help! |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 7 ![]() |
Did you find some time to have a look at it?
Or would you rather have it sent via e-mail? I just dont know how to attach a file with the forum's e-mail function. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bug in Workbench CFX | Pierre1 | CFX | 6 | August 2, 2017 00:18 |
checkMesh and decomposePar crashes with salome IDEAS mesh | pajofego | OpenFOAM | 0 | June 23, 2011 08:43 |
Bug in decomposePar and reconstructPar | jutta | OpenFOAM Bugs | 1 | March 26, 2010 04:51 |
Bug or a feature of OF15 | rafal | OpenFOAM Bugs | 5 | July 25, 2008 05:25 |
BCs for Pressure Correction Equation (SIMPLE) | Bharath Somayaji | Main CFD Forum | 1 | March 1, 2006 06:12 |