CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   BUG: decomposePar changing BCs (https://www.cfd-online.com/Forums/openfoam/231740-bug-decomposepar-changing-bcs.html)

shock77 November 16, 2020 14:28

BUG: decomposePar changing BCs
 
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;
    }

To:


Code:

    outlet
    {
        type            waveTransmissive;
        gamma          1;
        fieldInf        101325;
        lInf            1;
        value          nonuniform 0();
    }

If I use gamma 7/5 I get gamma 7 in the end.


Can anyone tell me how to solve this problem? I use openfoam4.1.

olesen November 18, 2020 16:32

That is a fairly old version.
You need to see if this problem still exists in a newer version (eg OpenFOAM-v2006) if does then go to the issue tracker to describe the problem and provide a small test case.

shock77 November 18, 2020 17:16

I am using the version of openfoam.org.


I have tried the same with openfoam 5 and openfoam7. The issue remains the same.

olesen November 23, 2020 13:49

Quote:

Originally Posted by shock77 (Post 788148)
I am using the version of openfoam.org.
I have tried the same with openfoam 5 and openfoam7. The issue remains the same.

It would nonetheless be very nice if you could open an issue on the openfoam.com issue tracker with a small test case. If the problem does not occur in OpenFOAM-v2006 that would be good. If it does occur, it would be good to fix it. Just put some text in the issue like "error occurs in openfoam 7, don't know if it occurs in OpenFOAM-v2006 but @mark said that I should report with a small test case". Can see how it goes from there.

Cheers

shock77 November 24, 2020 03:39

Hi oelsen,


I reported the bug on https://bugs.openfoam.org/rules.php.


As it seems the bug occurs only on my computer, what is really odd, since it occurs with different versions of openfoam. What also is important, is that you have to use 1.4 and not 7/5, because otherwise its not recognizes as 1.4.


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