View Issue Details

IDProjectCategoryView StatusLast Update
0004166OpenFOAMBugpublic2024-10-24 14:21
Reporterheatthinker Assigned Tohenry  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version12 
Summary0004166: refineMeshDict does not update cellZones
DescriptionWhen a refineMeshDict is run on a mesh with different cellZones. The cellZones file is not updated/changed. This results in cells that have no cellZone anymore.

I would have expected the refineMesh functionObject to put the split cells into the same cellZone tha the original cell was. This makes directional refinement impossible to achieve with just a refineMeshDict on a mesh with different cellZones.

Steps To ReproduceI provided a test cast, where a blockMesh with different cellZones is created. Afterward, a cellSet is defined with the topoSet utility. Then in the final step a refineMeshDict is called and the cellSet is refined. When inspecting the cellZones in Paraview only 4 of the newly created cells have a cellZone. I am guessing they have the same ID as the original cells.

Run:
blockMesh
topoSet
refineMesh - overwrite
TagsNo tags attached.

Activities

heatthinker

2024-10-24 12:07

reporter  

mesh_template.zip (13,031 bytes)

henry

2024-10-24 13:28

manager   ~0013435

> refineMeshDict does not update cellZones

This doesn't make any sense, refineMeshDict is just an input dictionary, it doesn't do anything on its own.

> would have expected the refineMesh functionObject

There is no refineMesh functionObject supplied with OpenFOAM.

heatthinker

2024-10-24 14:16

reporter   ~0013436

Thank you for your reply. I still don't know if this is a bug or the intended outcome.

Could you clarify that for me,

henry

2024-10-24 14:21

manager   ~0013437

This report does not make sense

Issue History

Date Modified Username Field Change
2024-10-24 12:07 heatthinker New Issue
2024-10-24 12:07 heatthinker File Added: mesh_template.zip
2024-10-24 13:28 henry Note Added: 0013435
2024-10-24 14:16 heatthinker Note Added: 0013436
2024-10-24 14:21 henry Assigned To => henry
2024-10-24 14:21 henry Status new => closed
2024-10-24 14:21 henry Resolution open => no change required
2024-10-24 14:21 henry Note Added: 0013437