Obtaining two regions from background mesh
Hello everyone. I am working on a complex geometry so I need to use STL file to generate mesh. What I am doing is, I create a bounding box using blockMesh. Then, I run snappyHexMesh to obtain background mesh and this creates new boundary for me. Using this boundary, I need to split STL file as solid region and the rest of the mesh as fluid region. I run setSet to create zone from boundary:
Code:
setSet Code:
splitMeshRegions -cellZones Code:
For the cellZonesOnly option all cells have to be in a cellZone. http://i.imgur.com/D7YJa7v.jpg Thank you so much. |
Hi,
If I understood what you want to do, I would suggest you play around with sHM. Therefore you can split your regions. I do believe topoSet would put you into trouble and make you waste a lot of time. I think this thread is about what you want. http://www.cfd-online.com/Forums/ope...ous-media.html Regards, Roberto |
Dear Roberto,
Thank you so much for your reply. I am able to obtain a mesh using sHM like the post you posted but my problem is, If I use sHM I get the solid region as a boundary. However, I want to name my STL file as cellZone; not as boundary. Is this possible with sHM? |
Hi,
Have you tried the option "cellZoneInside inside;" and the associated ones as stated in slide 31 here: http://openfoamwiki.net/images/f/f0/...SlidesOFW7.pdf Does it do what you want? Cheers, Antimony |
Hello again, thanks for the tips. I guess I was able to split mesh into two regions but I am not sure if I did it correctly or not. I used
Quote:
Quote:
If I run chtMultiRegionSolver, the h equation at fluid region decreases and goes to minus values, which is of course wrong. If I solve solid region only, everything is okay. If I run only fluid region using chtMultiRegionSolver, it doesn't work again. So, what might be problem? Can you help me? If I use Quote:
|
All times are GMT -4. The time now is 02:24. |