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

Multi-region mesh for CHT problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 30, 2024, 10:46
Default Multi-region mesh for CHT problem
  #1
New Member
 
Daniil Kalaev
Join Date: Jul 2024
Posts: 1
Rep Power: 0
Danilo_King is on a distinguished road
Greetings to everyone! My first post here.
I'm relatively new to OpenFOAM and I have to use it for my thesis.
I'm running multiple simple topology optimization cases from which I extract the resulting fluid domain (example in the attached image) that I need to use for further testing with a CHT solver. During the meshing the challenge is that within the boundaries of the fluid region I need the rest to be filled with the solid region cells (like making it a full block again).
So far I tried creating a blockMesh of the same size as the boundaries of the fluid region assigning it to solid
Code:
  blocks(hex (0 1 2 3 4 5 6 7) solid (100 100 36) simpleGrading (1 1 1));
and then in snappyHexMeshDict set the cellZone for my fluid domain
Code:
refinementSurfaces
    {
        solid_to_fluid
        {
            level           ( 0 0 );
            faceZone        solid_to_fluid;
            cellZone        fluid;
            mode            inside;
        }
    }
and another approach where instead of the blockMesh of the same size, I use an extra STL of the same size superimposed with my fluid domain STL.

Both methodologies give me the desired result visually with both regions separated, but I keep getting errors from paraview that the mesh is missing cells and I'm unable to proceed further, which makes me doubt the correctness of my approach so I am asking for help the almighty forum.

I also attached the snappyHexMeshDict and the blockMeshDict.

blockMeshDict.txt

snappyHexMeshDict.txt

IMG_6561.jpg
Danilo_King is offline   Reply With Quote

Reply

Tags
cht, mesh 3d, meshing advice, openfoam


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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
Problem simulating the temperature rise in a composite material (chtMultiRegionFoam) Adam_K OpenFOAM Running, Solving & CFD 2 March 27, 2019 07:51
[snappyHexMesh] SHM problem : KVLCC2 with appendage mesh sc.park OpenFOAM Meshing & Mesh Conversion 1 March 13, 2016 14:28
[Other] Material properties in multi region foam and refining mesh for each region mukut OpenFOAM Meshing & Mesh Conversion 2 October 7, 2013 03:08
[ICEM] Problem making structural mesh on a surface froztbear ANSYS Meshing & Geometry 1 November 10, 2011 09:52


All times are GMT -4. The time now is 03:43.