You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current framework for mesh adaption based on a continuous mesh model relies on Gmsh to perform the domain remeshing step. However, some discrepancies have been observed between versions during these steps. Primarily, the current code has been tested with v4.6.0, although this behavior also varied between users, e.g. Mine vs. Dougs. This problem becomes more severe in the case of goal-oriented adaption where the new mesh is generated as an iterative update. Therefore, if the series of adaptations leads to non-suitable intermediary mesh, it may not be able to find a reasonable update (leading to an error).
This primarily affects the following set of tests:
2D_GMSH_ADJOINT_SSHOCK_P1
2D_GMSH_ADJOINT_SSHOCK_P2
2D_GMSH_ADJOINT_BOUNDARYLAYER_P2
2D_GMSH_ADJOINT_BOUNDARYLAYER_P3
Additionally, in some rare cases during these iterations, the Blossom-Quad recombination step may not fully merge the mesh to form an all-quad mesh. The remaining triangular elements prevent Deal.II from reading the mesh and hence the iterations from continuing. In some cases, these issue have been relieved by slightly perturbing the otherwise failing step size. However, this is a highly version/user dependent fix. An example of this can seen in
set complexity_scale = 2.01 # perturbed to prevent triangles appearing
This issue could be addressed by including a subdivision step in the Gmsh call with the .geo command
Mesh.SubdivisionAlgorithm = 1;
as also used in some related deal.II library function. This could be applied either as the default or a backup when the remeshing would otherwise fail. However, this comes with the tradeoff that the mesh size field resolution can only be controlled on a coarser H=2h grid. Other adjustments would also be needed to src/grid_refinement/field.cpp to generate this grid.
Appearance of triangles may impact all tests involving Gmsh in a loop (some duplication from above):
2D_GMSH_ANISO_SSHOCK_P1
2D_GMSH_ANISO_SSHOCK_P2
2D_GMSH_ANISO_BOUNDARYLAYER_P2
2D_GMSH_ANISO_BOUNDARYLAYER_P3
2D_GMSH_ADJOINT_SSHOCK_P1
2D_GMSH_ADJOINT_SSHOCK_P2
2D_GMSH_ADJOINT_BOUNDARYLAYER_P2
2D_GMSH_ADJOINT_BOUNDARYLAYER_P3
Resolving this issue could potentially be linked with changes to adopt Gmsh header files as in Issue #56.
The text was updated successfully, but these errors were encountered:
The current framework for mesh adaption based on a continuous mesh model relies on Gmsh to perform the domain remeshing step. However, some discrepancies have been observed between versions during these steps. Primarily, the current code has been tested with v4.6.0, although this behavior also varied between users, e.g. Mine vs. Dougs. This problem becomes more severe in the case of goal-oriented adaption where the new mesh is generated as an iterative update. Therefore, if the series of adaptations leads to non-suitable intermediary mesh, it may not be able to find a reasonable update (leading to an error).
This primarily affects the following set of tests:
Additionally, in some rare cases during these iterations, the Blossom-Quad recombination step may not fully merge the mesh to form an all-quad mesh. The remaining triangular elements prevent Deal.II from reading the mesh and hence the iterations from continuing. In some cases, these issue have been relieved by slightly perturbing the otherwise failing step size. However, this is a highly version/user dependent fix. An example of this can seen in
PHiLiP/tests/integration_tests_control_files/grid_refinement/2d_gmsh_aniso_boundarylayer_p3.prm
Line 104 in 8503a9b
This issue could be addressed by including a subdivision step in the Gmsh call with the
.geo
commandas also used in some related deal.II library function. This could be applied either as the default or a backup when the remeshing would otherwise fail. However, this comes with the tradeoff that the mesh size field resolution can only be controlled on a coarser H=2h grid. Other adjustments would also be needed to
src/grid_refinement/field.cpp
to generate this grid.Appearance of triangles may impact all tests involving Gmsh in a loop (some duplication from above):
Resolving this issue could potentially be linked with changes to adopt Gmsh header files as in Issue #56.
The text was updated successfully, but these errors were encountered: