CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Cellset now size 0

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2022, 13:22
Question Cellset now size 0
New Member
Sudharsan Bharatwaj
Join Date: Dec 2021
Posts: 7
Rep Power: 2
bruce21 is on a distinguished road
I am new to using OpenFOAM. I set up an actuator disk simulation by defining a specific set of cells as actuation sources using topoSet. But I have a silly problem coming up with topoSet and snappyHexMesh. I used snappyHexMesh to produce refinement regions inside the domain.

The problem I encounter with this is that, when the refinement levels inside the region 'turbine' is set to 2,5, or 6, topoSet is able to create a cellset called 'actuatordiskcellset' with finite number of cells. But for refinement levels 3 and 4, I am getting a message telling that the number of cells inside the cellset is 0. I tried changing the coordinates inside 'locationInMesh' of snappy very slightly and still didn't succeed. Please let me know if you have any suggestions on how to tackle this problem. I have attached the messages put out in terminal for the cases where refinement levels are 2 and 3 respectively. I have also attached the snappydict and topodict files for your reference.

I also noticed that the size of cellzone is in the order of 1e150 (attached a screenshot) and the volume is mentioned as zero. I thought this might help comprehend the problem in a greater detail.
Attached Images
File Type: jpg refinement_3.jpg (72.6 KB, 5 views)
File Type: jpg refinement_2.jpg (72.8 KB, 4 views)
File Type: jpg Screenshot from 2022-01-24 17-55-07.jpg (72.2 KB, 4 views)
Attached Files
File Type: pdf snappyHexMeshDict.pdf (12.1 KB, 4 views)
File Type: pdf topoSetDict.pdf (1.7 KB, 2 views)
bruce21 is offline   Reply With Quote

Old   January 27, 2022, 05:07
Senior Member
Join Date: Dec 2017
Posts: 478
Rep Power: 9
AtoHM is on a distinguished road
Hm. My first thought is, that depending on the level, the cell centroids are positioned differently and I assume it selects cells based on the centroid location. Your region appears to be pretty narrow, perhaps it just does not wrap around any cell centroids for these levels but for the working ones it does?
Visualize the ones that work and maybe that tells you more.
AtoHM is offline   Reply With Quote


cellzoneset, snappy hex mesh, toposetdict, toposetsource

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[blockMesh] edges not aligned with or perpendicular to non-empty directions ynos OpenFOAM Meshing & Mesh Conversion 6 March 26, 2020 16:02
Issues with poor performance in faster CPU gian93 Hardware 9 October 29, 2018 14:34
Particle size and Mesh Size; Particle tracking; Suman Sapkota CFX 11 August 12, 2018 20:39
[ICEM] Help with fixing imported IGES model siw ANSYS Meshing & Geometry 24 August 24, 2010 12:22
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55

All times are GMT -4. The time now is 01:54.