View Issue Details

IDProjectCategoryView StatusLast Update
0003966OpenFOAMBugpublic2023-03-24 22:54
Reportergviciconte Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionsuspended 
PlatformUnixOSOtherOS Version(please specify)
Product Version10 
Summary0003966: unrefineLevel does not have any effect in the mesh refiner
DescriptionThe dictionary entry "unrefineLevel" use to be used in the dynamicMeshDict for mesh refinement and in OpenFOAM 8 , for example use to be used to decide to unrefine/not unrefine by selectUnrefinePoints
https://github.com/OpenFOAM/OpenFOAM-8/blob/master/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C#L834

In OpenFOAM 10, selectUnrefinePoints does not have the same check on the "unrefineLevel" and having this value set or not does not have any influence on the mesh refining process
https://github.com/OpenFOAM/OpenFOAM-10/blob/master/src/fvMeshTopoChangers/refiner/fvMeshTopoChangersRefiner.C#L1125

In the damBreak cases attached, the effect of the value of unrefineLevel is noticeable in OF8 (visual comparison in he figures attached) but nowhere to be seen in OF10.
Steps To ReproduceYou can run the four cases attached and compare the results
TagsNo tags attached.

Activities

gviciconte

2023-03-22 10:09

reporter   ~0012969

unrefine_level_OF10.png (166,413 bytes)   
unrefine_level_OF10.png (166,413 bytes)   
unrefine_level_OF8.png (173,107 bytes)   
unrefine_level_OF8.png (173,107 bytes)   

henry

2023-03-22 14:00

manager   ~0012970

Further research and development work is needed on mesh refinement/unrefinement, the current approach is not very general or robust and I have removed some of the options which did not work properly. Can you provide funding for us to continue this work?

henry

2023-03-24 22:54

manager   ~0012974

Pending funding

Issue History

Date Modified Username Field Change
2023-03-22 10:03 gviciconte New Issue
2023-03-22 10:09 gviciconte Note Added: 0012969
2023-03-22 10:09 gviciconte File Added: oftest_dynamicMeshRefiner.zip
2023-03-22 10:09 gviciconte File Added: unrefine_level_OF10.png
2023-03-22 10:09 gviciconte File Added: unrefine_level_OF8.png
2023-03-22 14:00 henry Note Added: 0012970
2023-03-24 22:54 henry Assigned To => henry
2023-03-24 22:54 henry Status new => closed
2023-03-24 22:54 henry Resolution open => suspended
2023-03-24 22:54 henry Note Added: 0012974