moose
moose copied to clipboard
Ray tracing fails on domain border with non planar faces when sampling a direction that comes out of the mesh (for example protruding)
Bug Description
When using quad elements with non planar faces, it is possible to sample from an angular quadrature a direction such that a ray starting on the protruding face with that element comes out of the element at birth. For example, sample on the centroid (protruding from the element) with a normal direction. Instead of grazing the element, it leaves it
Steps to Reproduce
Make a custom hexaheadral mesh with a non-planar face on the exterior of the domain use viewfactorraystudy in heat transfer module with a high angle count in the polar direction watch it fail
Impact
Breaks ongoing radiation heat transfer work