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

[Other] Some cellSets generated while some cellSet now size 0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2023, 13:36
Default Some cellSets generated while some cellSet now size 0
  #1
New Member
 
Join Date: Sep 2022
Posts: 5
Rep Power: 3
Eubo is on a distinguished road
Hi,

Case: I am running a case of buoyantBoussinesqPimpleFoam. It comprises of cuboids in a grid (as shown in the image) Each cuboid has a volumetric heat source on one of it's face, being defined in topoSetDict. I am creating the mesh using blockMesh and later snappyHexMesh

Problem: After running topoSet, all cellSets are created. BUT only partial cellSets have a finite sizes while others have size 0. Through checkMesh The volume bounding box of these cellSets are (1e+150 1e+150 1e+150) (-1e+150 -1e+150 -1e+150).

Mehodology:
>blockMesh >topoSet >surfaceFeatureExtract >snappyHexMesh >checkMesh >buoyantBoussinesqPimpleFoam

Apart from the fact that some cellSets have no size and therefore no heat release, everything else in the simulation was running smoothly. checkMesh was ok and the case hasn't diverged as yet.

Previous debugging attempts: Based on other threads in the forum, I have tried to:
- check the units across dictionaries. Everything is in meters
- added the term 'sourceInfo'. It was working without it too and did not change anything on adding
- verified domain size. The cellSets are within the domain bounds

Questions:
1. Why do some cellSets have size 0. Is it a problem in my topoSetDict?
2. Is it possible to see the sets when I open the mesh in Paraview? how?


topoSet.txt

checkmesh.txt

topoSetDict.txt
Eubo is offline   Reply With Quote

Old   February 19, 2023, 23:41
Default
  #2
New Member
 
Join Date: Sep 2022
Posts: 5
Rep Power: 3
Eubo is on a distinguished road
I was able to solve the issue. I'll describe it here, in case someone faces the same problem in future

Reason behind the issue: blockMesh was creating coarse grid (that was supposed to be later refined by snappyHexMesh), due to which some of my cellZones became smaller than the grid mesh and were not generated at all. Eg. Blockmesh grid was 6*6m, while cellZone depth was 2m.

Solution: Commands run in the following order blockMesh>surfaceFeatureExtract>snappyHexMesh>topo Set. Now, the grid created by snappyhexMesh is much smaller and cellZones of 2m are able to generate.

Hope this helps!
Eubo is offline   Reply With Quote

Reply


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
[snappyHexMesh] Cellset now size 0 bruce21 OpenFOAM Meshing & Mesh Conversion 2 February 15, 2023 13:07
[mesh manipulation] How to write cellSet for different regions in constant/polyMesh/sets Struggle_Achieve OpenFOAM Meshing & Mesh Conversion 3 June 17, 2019 09:29
Hydrocyclone simulation and catalogue size problem alexandre.david CFX 8 May 15, 2015 08:40
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, cfdproject OpenFOAM Meshing & Mesh Conversion 0 April 14, 2009 15:45


All times are GMT -4. The time now is 04:30.