CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

splitMeshRegions not working porperly

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By fracasce

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 13, 2017, 11:47
Default splitMeshRegions not working porperly
  #1
New Member
 
Franco
Join Date: Sep 2015
Location: Montreal
Posts: 26
Rep Power: 10
fracasce is on a distinguished road
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
Attached Images
File Type: png inlet_inletw_faces.png (28.2 KB, 51 views)
Attached Files
File Type: zip 12_7_17N.zip (103.2 KB, 5 views)
fracasce is offline   Reply With Quote

Old   June 4, 2018, 08:53
Default
  #2
Senior Member
 
Muhammad Waqas
Join Date: Jul 2014
Location: Germany
Posts: 122
Rep Power: 12
mwaqas is on a distinguished road
Send a message via Skype™ to mwaqas
Hi Franco,


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


Regards
mwaqas is offline   Reply With Quote

Old   June 4, 2018, 11:16
Default
  #3
New Member
 
Franco
Join Date: Sep 2015
Location: Montreal
Posts: 26
Rep Power: 10
fracasce is on a distinguished road
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 likes this.
fracasce is offline   Reply With Quote

Old   June 5, 2018, 03:30
Default
  #4
Senior Member
 
Muhammad Waqas
Join Date: Jul 2014
Location: Germany
Posts: 122
Rep Power: 12
mwaqas is on a distinguished road
Send a message via Skype™ to mwaqas
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
mwaqas is offline   Reply With Quote

Reply

Tags
chtmulitregionfoam, shm, splitmeshregions


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SplitMeshRegions not working with Ggi interface tiat OpenFOAM Running, Solving & CFD 0 February 17, 2017 04:02
Is the subsetMotionSolver working in parallel? Arnoldinho OpenFOAM Running, Solving & CFD 7 April 27, 2016 04:38
DPM parallel is not working but serial is working johnwinter FLUENT 1 March 27, 2012 02:01
Working directory mgonzalo FLUENT 1 November 11, 2011 10:05
viewing cfx post while working on cfx solver manager HMR CFX 5 March 9, 2011 22:33


All times are GMT -4. The time now is 00:56.