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/)
-   -   splitMeshRegions not working porperly (https://www.cfd-online.com/Forums/openfoam-pre-processing/190430-splitmeshregions-not-working-porperly.html)

fracasce July 13, 2017 11:47

splitMeshRegions not working porperly
 
2 Attachment(s)
Hello OpenFOAMers!

I'm having hard times using the splitMeshRegions utility. In my case, I'd like to simulate the flow of a fluid in a pipe (the used solver is chtMultRegionSimpleFoam). In order to do so, the mesh has been generated following the instructions provided in the following post:

https://www.cfd-online.com/Forums/op...tml#post341623

SHM, setSet and subsetMesh seem to work fine. In SHM, the boundary faces (inlet, outlet, inletw, outletw and extWalls) have been refined. splitMeshRegions is working fine too. However, I'm noticing that in the boundary file (in constant/Liquid), there is not only the inlet face (which belongs to the Liquid region), but also the inletw face (which belongs to the Pipe region). Something similar happens to the outlet boundary faces.

This is quite strange; however, by checking the Liquid region on paraview, I realized that the inletw face stands for a very little group of faces (the red ones in the images, while the white ones are those of the inlet face). It seems to me that splitMeshRegions has attached some faces of the inletw faces, belonging to the Pipe region, to the Liquid one.

Have you ever encountered this problem? If so, it is possible to force splitMeshRegions to attach the faces to the proper regions (in my case, the inlet and outlet faces belong to the Liquid region, while the inletw and outletw belong to the Pipe region)?

Also, in the Pipe region, an oldInternalFaces patch has been created. Should I mind it?

Thanks!

Franco

mwaqas June 4, 2018 08:53

Hi Franco,


I am facing the same problem. Have you succeeded to resolve this problem ?


Regards

fracasce June 4, 2018 11:16

Hi,

The only way I found to fix the problem was to create a background mesh that matches the geometry than needs to be splitted (this is the case for all the tutorials in chtMultiregion*). I know that this is not the best answer if your geometry is complex, but I was not able to find any other solutions to this problem.

Hope it helps,

Franco

mwaqas June 5, 2018 03:30

Hi,



Thank you Franco for your reply. In that way, I won't be able to have coarse mesh where fine mesh is not needed.
I am playing with some parameters of SHMDict. Hope so, I will find something else as well :).


Regards


All times are GMT -4. The time now is 23:57.