# Lagrangian Tracking Module¶

Lagrangian tracking module is implemented using the individual-based particle-tracking method which treats particles as if they exactly follow the fluid dynamics. In the current version, the Lagrangian evolution of the position of a particle is expressed as

where \({\bf x}\) is the particle’s position and \({\bf u}_\alpha\) is the fluid velocity at the reference level. The accuracy of the calculated particle trajectory depends on both the magnitude of the time-step and the order-accuracy of the velocity field. The time step used to update the particle position is the same as the time step used in solving the Boussinesq equation, which is assumed to be small. The first order discrete form of the above equation is used in the model.

The particle position \((x,y)\) is specified at the central point of a cell, the same as other model variables such as :math: u,v,eta etc. The orgin (0,0) is at the central point of the bottom-left (south-west) corner cell. A linear interpolation is used to get the instantaneous velocity at the particle position. In particular, an interpolation value is obtained from the values at three nearest points. The areas of four triangles constructed by the four points (3 nearest points and the particle point itself) can be calculated using

where \(S_{\alpha \beta \gamma}\) represents the area of the triangle \((\alpha \beta \gamma)\), counter-clockwise. The interpolation value is evaluated using

where :math: F_1, F_2, F_3 and :math: F_A represent values at points (1,2,3) and the partical point A, respectively.

To set up particle tracking in the model, see Lagrangian Tracer Setup

- Animation: Tsunami waves debris tracking (path)