Topic: Spatial Localizer for Shell Elements with Faceted Models
Borek,
For the next step of developing my coupled model, I need to come up with a way to use a Spatial Localizer with a faceted shell model of a curved surface. I'm having difficulties figuring out a way to get the correct element for a point that is on the curved surface, but is not "in" any of the shell elements due to the faceting.
Originally I was thinking that I could use the giveElementCloseToPoint functions, but something is either wrong with my code, or the distance function sometimes has problems. If I understand how the function is computed, I am thinking the problem may be in the distance function.
An example that I think highlights the problem, is a small element that connects to a long skinny element. The center of the small element is closer than the center of the long skinny element for points near the edge of the long skinny element. However, these points actually belong to the long skinny element.
I have not been able to come up with a distance function that will do a better job for the faceted shell element model for a curved surface case.
My current idea is to use an artificially large "thickness" for the shell element in the element functions that check whether a point is "in" the element. Then use the giveElementContainingPoint Spatial Localizer function. This artificial "thickness" could be something like the average length of the element sides.
Any suggestions or thoughts would be much appreciated.
Regards,
Erik