ADCIRC+SWAN supplementary scripts and example of spatial and temporal controls. With these controls, the user can specify exactly when and where SWAN will perform its computations during a coupled ADCIRC+SWAN simulation. Instead of having to run SWAN on the full mesh and for the entire timeframe, the user can limit SWAN to a spatial region near landfall and a temporal duration at the height of the storm. These controls have the potential to speed-up the overall simulation, without much sacrifice in accuracy.
This control has been added to give flexibility to the user to simulate SWAN for a unique timeframe within the ADCIRC+SWAN simulation. Previously, it was required that SWAN would compute for the entire timeframe of the simulation, which was inefficient if the storm was far offshore and the waves were small. Now, the user can control SWAN to compute only for a portion of the simulation, thus allowing for an efficiency gain when SWAN is idle.
There are two changes that need to be made to use the temporal controls.
- On the ADCIRC input side - the namelist
SWANTimeControlmust be used and theRunStartDateTimemust be set with the start of the current ADCIRC simulation at the end of the ADCIRC model control file (fort.15).
&SWANTimeControl RunStartDateTime='20180907.000000' /- On the SWAN input side - the
COMPUTE' time in the SWAN input file (fort.26`) can be altered to the desired time range.
- For example, to run a simulation for only four days, change the COMPUTE time.
TEST 1,0
COMPUTE 20180912.000000 1200 SEC 20180916.000000
STOPThis will result in SWAN running for four days, regardless of the ADCIRC timeframe, thus leading to faster wall clock run times of simulations.
This control has been added to give flexibility to the user to simulate SWAN for a unique spatial domain within the ADCIRC computational mesh. Previously, it was required that SWAN would compute on the full ADCIRC mesh, which again was inefficient in regions far from the storm. Now, the user can specify a region for the SWAN computations, such as a portion of the coastal ocean near landfall, thus allowing for an efficency gain in the regions where SWAN is idle.
The supplementary scripts are necessary to use the spatial controls, and more detail is provided on each script. This workflow supports running SWAN over a selective spatial domain using internal source spectra to account for offshore swell enegery, with flexibility depending on whether the boundary spectra already exist or must be generated.
For questions or modifications, please contact:
Nicole Arrigo
North Carolina State University - Coastal & Computational Hydraulics Team
Email: nkarrigo@ncsu.edu