Next: 5.2.3 Particle Traversal Up: 5.2 Ray Tracing Previous: 5.2.1 Surface Representation

## 5.2.2 Tangential Disks

The LS method requires a surface velocity field which is commonly obtained by extrapolating the velocities computed on the surface (compare Section 3.2.4). If the active grid points are very close to the surface, which is the case for the sparse field method, it is possible to calculate the surface rates directly for those grid points [112,A13]. In this way the extrapolation procedure can be avoided and no extra memory is needed to store the velocities for the discretized surface.

As proposed in [A16,A20] tangential disks can be defined for all points on the surface, which are closest to any active grid points . Hence, for each active grid point a disk is defined which serves as a neighborhood for its corresponding closest surface point . The closest surface point , which is also the midpoint of the tangential disk , is approximated using (3.23). The orientation of the disk is given by the surface normal which is approximated by as defined in (3.22). Hence, the tangential disk is described by

 (5.18)

with denoting the radius. Disks have the advantage that intersection tests with rays are relatively simple. A ray with parameterization strikes the disk on the front side, if the following condition is fulfilled

 (5.19)

with and . In this case the corresponding particle contributes to the rates of grid point according to (5.15). To calculate the surface rates correctly for active grid points, whose corresponding tangential disks are partially behind the surface due to the curvature, it is necessary to prolong the calculation of the particle trajectory for a few grid spacings from the surface intersection point (see Figure 5.1). However, the first intersection point with the surface is stored and used as a starting point for reemitted particles.

The area of the disks is or in case of two dimensions, where the disks correspond to tangential segments, . Hence, the choice of the disk radius influences the statistical accuracy. Larger radii give better statistics at the expense of the spatial resolution which should be of same magnitude as the resolution of the surface. Hence the disk radius should be in the order of the grid spacing which was assumed to be unity.

In [A20] an upper limit for the radius was suggested. Within the sparse field method holds for all active grid points. Furthermore, the approximation for the gradient is almost always larger than 1, thus . This gives an upper limit for the distance to the approximated closest surface point according to (3.23). If the radius is chosen in such a manner that

 (5.20)

the disk is within the grid cells which are adjacent to the active grid point . In very rare cases, when is not fulfilled, it might be necessary to translate the disk towards , in order to fit it into the surrounding cells. Much smaller disk radii than the given upper limit lead to worse statistics without improving the spatial resolution. Therefore, it is recommended to use a disk radius of 0.8 grid spacings [A20].

This way the computational effort for ray-disk intersection tests is minimized. Within a grid cell only the corner grid points have to be checked, if they are active, and if their corresponding tangential disks are intersected. Hence, the same data structure can be used as the one needed for the multi-linear interpolation for the surface intersection test, which requires links to all its corners in order to access the corresponding LS values.

Next: 5.2.3 Particle Traversal Up: 5.2 Ray Tracing Previous: 5.2.1 Surface Representation

Otmar Ertl: Numerical Methods for Topography Simulation