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

Mutli region meshing, where are the patches stored?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By engg_student

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2022, 18:44
Default Mutli region meshing, where are the patches stored?
  #1
New Member
 
Kishan Shukla
Join Date: Jan 2022
Posts: 5
Rep Power: 4
engg_student is on a distinguished road
[New to OpenFoam] I am trying to simulate a concentric tube heat exchanger. I have created the mesh using snappyHexMesh and then used topoSet to divide the mesh into 3 regions (InnerFluid, Pipe and OuterFluid). I don't know why after splitting mesh regions it created patch InnerFluid_to_OuterFluid, but I am sure it has created the patch as it showed on terminal output and on paraview as well.
Now when I run chtMultiRegionFoam, I get following error:
Quote:
--> FOAM FATAL IO ERROR:
Cannot find patchField entry for InnerFluid_to_OuterFluid
Where does splitMeshRRegions store the patches? I have checked constant/polyMesh/boundary it is not there. I think the patch data is stored in cellToRegion file (which is automatically created when splitting mesh)
Any help would be really appreciated
Thank You!
PS: I am attaching snappyHexMeshDict, blockMeshDict, topoSetDict if you need any other file please let me know
Attached Files
File Type: zip dict-files.zip (3.5 KB, 1 views)
engg_student is offline   Reply With Quote

Old   January 17, 2022, 04:42
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
splitMeshRegions splits the mesh and creates news mesh regions stored in constant. So you have to look in constant/InnerFluid/polyMesh/boundary to check for the patches. (or processor*/constant/... if running in parallel)

When splitting the mesh, splitMeshRegions creates interfaces between each region using this syntax "InnerFluid_to_OuterFluid" and in the OuterFluid region you will find the corresponding patch: "OuterFluid_to_InnerFluid"

Yann
Yann is offline   Reply With Quote

Old   January 17, 2022, 05:30
Default
  #3
New Member
 
Kishan Shukla
Join Date: Jan 2022
Posts: 5
Rep Power: 4
engg_student is on a distinguished road
Thanks Yann for your response!
I have figured out the issue. My mesh was not refined enough and therefore some holes were created in the pipe hence leading to formation of OuterFluid_to_InnerFluid patches (which shouldn't have formed in the first place). By refining my issue is resolved (it is not creating OuterFluid_to_InnerFluid patches). Still don't know why it couldn't find the patch it created
Yann likes this.
engg_student is offline   Reply With Quote

Reply

Tags
multiregion meshing, snappyhexmesh, splitmeshregions, toposetdict


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
[Gmsh] gmshToFoam generates patches with 0 faces and 0 points Simurgh OpenFOAM Meshing & Mesh Conversion 4 August 25, 2023 08:58
[Gmsh] 3D coil mesh: can't create the volume? RomainBou OpenFOAM Meshing & Mesh Conversion 3 July 18, 2016 06:09
Possible bug with stitchMesh and cyclics in OpenFoam Jack001 OpenFOAM Pre-Processing 0 May 21, 2016 09:00
Region Based meshing and part based meshing sidharth9426 STAR-CCM+ 0 February 21, 2016 10:19
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


All times are GMT -4. The time now is 11:26.