I am using a finite difference Navier Stokes code that supports both cartesian and cylindrical coordinates. There is a task where we have a geometry given by a STL file (in cartesian coordinates) and we need to find intersections of rays that we shoot along the grid coordinates. Is there an algorithm to find intersection of ray with triangle in cylindrical coordinates? For example a ray along the azimuthal direction, where the radius is constant but the azimuthal coordinate changes.
Asked
Active
Viewed 25 times