Lagrangian Particle Tracking
EFDC+ Explorer incorporates the pre-and post-processing of Lagrangian particle track (LPT). The use of LPT's can be helpful when modeling oil spill tracks, emergency response, water quality applications, and plume tracking. When the Lagrangian Particle Tracking module is turned on, a LMC on the menu displays a report, as shown in Figure 1. Here the user can see the total number of particles and the number of groups that have been set, as well as the time for the release of the drifters and the end time for the observation of the drifters. Models with as many as 1.5 million drifters have been simulated, though loading time can increase with a large number of drifters.

Figure 1. Lagrangian Particle Tracking report.
The EE pre-processor provides full control for initial particle seeding, LPT computational option selection, and plotting. EE allows for a range of display options for the tracks, animations to the screen and or AVI files, and the ability to export any or all of the particle tracks to ASCII files. The LPT sub-model has been implemented with the following major options:
- Particles are free to move in full 3D,
- Particles can be fixed at a user-specified depth, and
- A random walk component can be added to the two options above.
To set the values related to the drifters, the user should RMC on the LPT tab in the Model Control form to open LPT Options form, as shown in Lagrangian Particle Tracking#Figure 2. This displays the various options for setting the drifters as described in detail in the following sections

Figure 2. Lagrangian Particle Tracking form.
Note that the numerical solution is separately divided into the advective transport and random components. This approach allows the user to enable (i.e., turn on random walk) or disable (advective transport only) the random components for either the horizontal and/or the vertical directions.
The method used to solve the differential equations is the Runge-Kutta 4 method: This method has the approximation of O(∆t4). It has been determined that the Runge-Kutta 4 method is preferred due to its higher level of numerical accuracy. It has been shown that the computational burden of the Runge-Kutta 4 method is not significant within the overall model run times compared to other methods tested.
The following links show how to configure and view LTP:
LPT Main Options Tab
Section titled “LPT Main Options Tab”The LPT Main Options tab is shown in LPT Main Options Tab#Figure 1. Within the LPT Computational Method & Timing frame, switch on drifters with the Compute Drifters checkbox before LPT can be implemented. Here the user will set the global computational period starting and ending days for the particle tracking in Julian days for all groups. The frequency (in minutes) of writing the particle positions to the EE_Drifters file is specified here. This output frequency is for all groups and is independent of the normal EE output frequency.

Figure 1. LPT Options: Main Options.
The Vertical Movement Option frame provides the user the option of fixing the temporal position of the particles at their initial seeding depths. If this is unchecked, the particles will drift vertically as Fully 3D Lagrangian Neutrally Buoyant Particles. A sub-option is Adjust Particle Depth. This is the default option and adjusts particle depth with a change in water depth. In some cases, the user may wish to disallow this so that particles are not adjusted by the change in water depth, and so can turn off this adjustment by unchecking this box. If the Adjust Particle Depth is selected, the amount of adjustment in the vertical direction depends on the ratio of particle depth and water depth. The formula of the vertical adjustment is:
dzp= pdep/wdep*dH
In which dzp is the adjustment of vertical particle depth, pdep is particle depth, wdep is water depth and dH the discrepancy of water depth of the current and previous timestep.
Wind Drift Effects frame provides three options for wind impact on the particle movement:
No Wind Drift Effect: wind has no impact on the particles.
Same Drag Coeff. for Both Wind Components: the user should define coefficients A and B and then enter the values in the text boxes.
Separated Drag Coeff. for Each Wind Component: the user should define coefficients A and B and then enter the values in the text boxes.
Within the Initial Particle Vertical Position Input Option the user may specify whether the vertical positions provided are elevations or depths.
If the Random Walk checkbox is checked, the user has a number of options for the Random Walk Dimensional Options. The user may select the random walk-in only the vertical direction, in only the horizontal direction, or both vertical and horizontal directions at the same time. In addition, the user may specify the Random Walk Size Options by selecting to allow EFDC Diffusion calculations to be used for the AH and AV. Alternatively, there is the option for Specified Constant Diffusivities that should be inputted by the user.
Wall Slippage frame allows the user to set the wall slip factor. For most real-world cases, the wall slip should be 0.0. However, for flume and other test cases, it may be better to use 1.0 or full slip.
Seeding Utility: By Group Tab
Section titled “Seeding Utility: By Group Tab”The form provides various options for creating, selecting, and deleting LPT groups, is shown in Seeding Utility: By Group Tab#Figure 1. Any number of groups are allowed, with each group having its timing, the number of particles, and particle behavior. The number of particles can be added or removed from each group using the form.

Figure 1: LPT Options: Seeding Utility: By Group
The Group Options frame allows the user to define a series of particle groups with a user-defined ID, set with the New button. For each group, the release and end day, as well as for settling velocity, may be defined by the user. The settling velocity is always downward. When the Clear Group button is pressed all the user-defined particle groups will be erased. The Clear All button will remove all of the seeds for all of the groups.
When the seeding options have been selected by the user, the Create Particles button should be pressed, which will save the selection. Another drifter may then be defined and Create Particles selected until all the drifters have been defined. It should be noted that if the user changes the spacing and vertical depth settings described below, they will need to create the particles again.
The user may view the location of the drifters by selecting OK and then add LPT/Oil Spill layer in 2DH View window. Selecting Show Initial Condition option in Layer Properties form will display the initial position of the particle seeds.
The timing of the particle computations is set by the Julian dates shown in the Start and Stop fields for each group. EFDC will only conduct lagrangian particle calculations for the particles in this group within the date range. The computations are also controlled by the global start and stop dates shown on the LPT Main Options tab.
The Fix Depositing Particles check box is provided for cases where the user wishes to cause particles to remain deposited on the bed after coming into contact with the bed. The default option is for this to be unchecked, and particles are free to move after touching the bed.
Horizontal Placement options under Seeding Options frame allows the user to select either:
Uniform Spacing
Section titled “Uniform Spacing”This option places the initial position of the particles within a user-specified region defined by the XMin, XMax, YMin and YMax at user-specified intervals using the Delta X and Delta Y parameters. For example, if the user-specified a region of 586800 by 587500 in the X and 4509700 by 4510200 in the Y with a spacing of 10 in the X and 10 in the Y would generate 3621 particles after the user clicks the Create Particles button. However, the maximum number of particles is set in the "Number of Particles to Seed in next Create" field. If the user specifies 1000 particles, only 1000 particles would be added, so the region would only be partially filled. However, if the user specifies 10000 particles as the maximum, only 3621 particles would be created, as limited by the seeding region and spacing.
Random Placement
Section titled “Random Placement”This option places the initial position of the particles within a user-specified region defined by the XMin, XMax, YMin and YMax to randomly place the particles. The number of particles created is controlled by the "Number of Particles to Seed in next Create" field.
Region Control File For Horizontal Placement
Section titled “Region Control File For Horizontal Placement”The Region Control File is an option that allows the user to specify a file (polygon files) containing one or more regions. If the Use Region Control File checkbox is selected then EE will look for the file is supplied in the Regional Control File for Horizontal Placement frame and the Set to Model Extents option is disabled. When the user clicks the Create Particles button, particles will be generated within the regions contained in the file. If the Uniform Spacing option is used, EE will generate a grid pattern at the spacing of the Delta X and Delta Y spacing but controlled by the region(s) contained in the file. If the Random Placement option is selected then the location will be assigned randomly within the region(s) in the file.
Vertical (Depth) Options
Section titled “Vertical (Depth) Options”Seeding Utility: By Group Tab#Figure 2 shows the Vertical (Depth) Options frame which allows the user to select from one of three options: Random Depth, Fixed Elevation, and Fixed Depth. For the latter two options, the user should enter the elevation or depth as appropriate. Random Depth will randomly place the particle at a depth within the initial condition water depth. If an oil spill is being modeled then Vertical Depth Options are disabled as the oil spill can only be set at the water surface.

Figure 2: LPT Options: Seeding Utility: By Group - Vertical (Depth) Options
Varying the Particle Release Timing
Section titled “Varying the Particle Release Timing”By default, EE will configure all of the particles to be released at the Start time for the group, that is when the Single Release Date for Entire Group checkbox has been selected. However, EE also allows the timed release of particles. Turning off the Single Release Date for Entire Group checkbox allows the user to select the Distribute Release Dates button, which distributes the release times for the particles defined in the current group. Pressing the button displays a form with options for setting the starting and ending date. By default, these values are the same as those specified as the start and stop dates for the group. However, adjusting the start and stop time will update these distributed release times. Pressing OK will distribute between the range entered. Even though the distributed dates are not displayed, EFDC will use values the user previously selected. Pressing the Distribute Release Dates button again will reset the distributed release dates to the default start and stop dates for the group.
Oil Spill Modeling with LPT
Section titled “Oil Spill Modeling with LPT”EEMS allows the user to simulate the oil spill based on drifters. Oil is maintained at the surface layer, moved along with the hydrodynamic impacts similar to Lagrangian particles, and broken down by evaporation and biodegradation.
The Seeding Options | Group Options frame is shown in Oil Spill Modeling with LPT#Figure 1 below for oil spill. As there are many types of oils and different weathering of these types of oils, a group should be defined which has its chemical property and volume per seed. When Oil Spill Options are enabled all the seeding options defined will apply to the group currently selected for the Group ID and the Properties button for oil spill will be enabled. In addition, below the Properties button, the volume and mass of oil for that group are displayed. As oil is always maintained at the water surface the Vertical (Depth) Options and Settling Velocity settings are disabled for oil spill groups.

Figure 1. LPT: Seeding Utility by Group.
Clicking the Properties button will display the oil parameters settings, as shown in Oil Spill Modeling with LPT#Figure 2. Each oil group requires a separate ID along with the density and the volume of oil per drifter. Biodegradation and vapor pressure are entered to provide the properties for all the drifters in the current group. Though the temperature is optional, it is recommended that heat transfer be included, as the oil spill evaporation process depends on the temperature of the ambient environment. Winds also impact evaporation, and it is expected that winds will be included in any realistic oil spill model.

Figure 2. Oil Parameters Setting.
It should be noted that EFDC will cause the drifter to disappear when the oil per drifter is less than 1.0 mm3. The user may manually choose to hide concentrations of oil higher than this by using the crop below in 2DH View. For post-processing of the oil simulation, 2DH View provides several options for displaying the oil. Oil thickness, mass, and volume may also be displayed.
When configuring an oil spill model, it should be noted that the use of the Vertical Movement Option is ignored for groups that are designated as simulating oil. If the oil density is less than that of water, then the particles are always in the surface layer. If the oil is heavier than water, then the fully 3D option is enabled.
For the oil evaporation process simulation, the theory of surface evaporation presented in the paper of Warren Stiver and Donald Mackay (1984) is used.
EFDC+ allows for effects of biodegradation of the oil based on a user-defined biodegradation rate with a simple first-order decay approach based on Stewart (1993). A rate of 0.011 per day leads to an approximately two-month half-life for oil. If the temperature of an oil drifter is provided by the user, then this is used as the reference rate for optimal biodegradation.
To simulate a conservative oil, the user would set the degradation rate and the vapor pressure as zero.
View LPT in 2DH View
Section titled “View LPT in 2DH View”To view particles in the 2DH View, click add a new layer to add the LPT / Oilspill layer (View LPT in 2DH View#Figure 1). More detail on adding a new layer is described in Add a New Model Layer.
To demonstrate how particles can be viewed, we will use the demo model downloaded from the EEMS website as an example. This model consists of a rectangular domain with a flat bottom, an open boundary to the east, and a flow boundary along the southwest edge. U component masks were inserted to demonstrate the functionality of the LPT computations when masks are used (View LPT in 2DH View#Figure 2).

Figure 1. Add LPT layer.

Figure 2. Harbor_U grid showing the masks, boundaries, and initial particle locations.
The model represents the vertical component as a depth-averaged system with one sigma layer. The depths of the five drifters are initialized at specified depths.
The results of the simulations are presented in View LPT in 2DH View#Figure 3, showing the trajectories of the five drifters over 12 hours.
View LPT in 2DH View#Figure 4 shows the particle tracks colored by elevation and with random walk applied. Even though there was no vertical component, the tidal range is seen to result in changing particle elevations.

Figure 3. Harbor_U: Trajectories of 5 drifters over 12 hours (no random walk).

Figure 4. Harbor_U: Trajectories of 5 drifters over 12 hours (random walk).
Options from RMC on the LPT layer
Section titled “Options from RMC on the LPT layer”A number of options from RMC on the selected LPT layer in the Layer Control is shown in View LPT in 2DH View#Figure 5. These options are described below.

Figure 5. LPT layer: RMC's options.
Properties: Set the display properties for the particles such as color, shape, and when they begin and stop appearing.
View LPT in 2DH View#Figure 6 shows properties settings for the general options, and View LPT in 2DH View#Figure 7 shows properties settings for the particles group options.

Figure 6. LPT Properties: General Options.

Figure 7. LPT Properties: Particle Group Options.
Zoom to Layer: Zoom the view to the selected layer
Export to: This option exports the position of drifters at a specific snapshot. After selecting this option, the Save Drifter Positions form is used to select a folder to store the drifters file (file extension is *.txt). By default, the file will be saved in the #analysis folder. Enter the filename, and click the Save button (View LPT in 2DH View#Figure 8). Go to the #analysis of the model and open the drifters' text file to see the file format (View LPT in 2DH View#Figure 9).

Figure 8. Save Drifter Positions form.

Figure 9. Drifters file format.
Export All Drifters to: This option allows exporting the position of all drifters with the entire timing of model output. After selecting this option, the Save Drifter Positions form is used to select a folder to store the drifters file (file extension is *.txt). By default, the file will be saved in the #analysis folder. Enter the filename, and click the Save button (View LPT in 2DH View#Figure 10). Go to the #analysis of the model and open the drifters' text file to see the file format (View LPT in 2DH View#Figure 11), in which Julian time (Day) is the time column; X1 and Y1 are the coordinates of drifter 1, and Z1 is the depth of drifter 1, and so on.

Figure 10. Export all drifters.

Figure 11. Drifters file format.
Edit: After selecting this option, the 2DH View Option will be displayed, as shown in View LPT in 2DH View#Figure 12.

Figure 12. 2DH View Option.
Remove: Delete the LPT layer from the Layer Control
To export the selected drifter, select the Particles layer, enable the cursor then click on a specific drifter on the 2DH View. The particle ID will be shown in the yellow box. RMC on that drifter then select Export Selected Drifter as shown in View LPT in 2DH View#Figure 13. Select that option, and the Save Drifter Positions form can be used to select a folder to store the drifters file (file extension is *.txt). By default, the file will be saved in the #analysis folder. Enter the filename, and click the Save button (View LPT in 2DH View#Figure 14). Go to the #analysis of the model and open the drifters' text file to see the file format (View LPT in 2DH View#Figure 15). The file format is similar to the file format shown in View LPT in 2DH View#Figure 11, the difference is this file is for one selected drifter.

Figure 13. 2DH View Option.

Figure 14. Export all drifters.

Figure 15. Drifters file format.