Adaptive mesh does not work at the axisymmetric boundary
3 Attachment(s)
Hello,everyone! Recently, I am working on a jet simulation based on interFoam and I used adaptive mesh to refine the region near the interface. My geometry is an axisymmetric configuration with wedge boundary condition(see Fig1). During the simulation process, I found that the mesh near the symmetry axis whose boundary condition is empty didn't get refined(see Fig2). Fig 3 is the cellLevel field generated by the adaptive mesh code and you can see that the region near the symmetry axis is not in the refined area.
https://www.cfd-online.com/Forums/at...1&d=1601802011 Fig.1 the geometry of my cases https://www.cfd-online.com/Forums/at...1&d=1601802021 Fig.2 the refined mesh near the interface https://www.cfd-online.com/Forums/at...1&d=1601802027 Fig.3 the cellLevel near the interface This is my dynamicMeshDict: Code:
/*--------------------------------*- C++ -*----------------------------------*\ I hope someone can help me out and any suggestion is welcome. Thanks in advance! :) Kind regards, CloudBird |
I wouldn't expect it to refine there. Adaptive mesh refinement in OF relies on the assumption of hexahedral elements. Wedges are not hexahedra, thus they are left unchanged...
|
First, you can get rid of the pole patch either by removing it by hand if there are no faces or by collapsing the points first.
Second foam-extend actually provides adaptivity on polyhedral cells so the problem goes away. Hrv |
Quote:
|
Quote:
|
All times are GMT -4. The time now is 01:52. |