CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Decomposing mesh (https://www.cfd-online.com/Forums/openfoam-pre-processing/198372-decomposing-mesh.html)

Phibo February 5, 2018 03:50

Decomposing mesh
 
Hello Foamers,

when I decompose my geometry meshed with SHM into 2 regions with the scotch method, there is something left out in the pressure boundary condition. I defined an outlet with totalPressure BC and specified gamma for the fluid. However, after decomposing the gamma is set to the default value 1. The same problem appears when I use mapFields and the patch only exists in the target geometry.
Has anyone an idea what I might be doing wrong? Any help would be much appreciated. I am working with OF 4.1.

Thanks!

Phibo February 5, 2018 07:24

Found the solution! In order to specify a gamma > 1 you have to handle the fluid as supersonic compressible and therefore also specify psi (or thermo:psi) in the totalPressure BC as its default value is "none".


All times are GMT -4. The time now is 14:51.