Dynamic (Adaptive) Mesh Refinement after using extrudeMesh
Dear Foamers and esi-team,
adaptive/ dynamic meshing presented e.g. here http://www.openfoam.com/version-v1606+/meshing.php is a fantastic utility - thanks a lot! The problem is that it does not work after 'extrudeMesh' was used: All cells containing hanging nodes (cells between two different cell levels) will become protected ('protectedCells') from refinement. Here https://www.cfd-online.com/Forums/openfoam-meshing/115246-extrudemesh.html#post647491 you can find more detailed information on the problem and a minimal-working-example which illustrates the problem. The minimal-working-example is based on the motorBike tutorial case for the 'interDyMFoam' solver.
Question: Is it possible to change the 'extrudeMesh' utility so that the characteristics of the mesh which guarantee dynamic refinement can be preserved? Therefore, the cell/pointLevel fields need to be kept in some way and maybe the switch 'mergePatchFaces' from the snappyHexMeshDict file needs to be adapted for the use in extrudeMeshDict.
Best Regards, Dag Feder