How to do local refinement of volumes after Coherence has been applied?
Hi, I'm struggling to understand how to locally refine a volume with gmsh. I see the documentation mentions specificying "Fields" but I'm not sure how that would apply to my case.
To give a little background, I have created dummy volumes within the larger volume with custom shapes in my script file. While creating these volumes, I specified the point refinement for the points that make up these volumes. When I mesh without "Coherence", these sub volumes are meshed properly, but they are disconnected from each other (and the larger mesh), and so I have to make them conform with "Coherence".
After using "Coherence", I see the mesh sizes transition properly in some areas, but not for some. In fact, regions of the subvolume now take on larger mesh sizes than was prescribed initially. In the worst cases (as in the script I attached), I get an error "about "invalid boundary mesh (overlapping facets) on surface..".
How can I fix this to have a conforming mesh while keeping the element sizes within those subregions as defined by the points that make them?
Here is the mesh script below: FDTR_mesh.geo