Tidal Forcing from Database in OceanMesh2D
When you need to add tides to your simulation
In ADCIRC, confusingly, tidal forcing is separated from elevation boundary conditions and put into the .15 control file. Tidal constituents are understood to be the low frequency waves in the ocean caused by highly periodic forcings. Of these, eight are considered major. The following is written for OM2D 5.0.
Step-by-step guide
This will assume you have some working knowledge of the object-oriented design of OM2D. A crash course can be found in Locally Refined Mesh from Raw Data in OceanMesh2D.
- Download TPXO9 from OSU TPXO Tide Models - TPXO Global Tidal Solutions. It's currently restricted to research purposes only, so you have to register ahead of time.
- Unzip and place the tpx files in /datasets
- Load your .14 into your msh object using the msh() constructor. You can also add in your .15 file if you want to modify an already build control file.
- The primary option fname is for your mesh data. This could also be a .grd file, or the like.
- Use the Make_f15() utility to create a new msh object with your tidal forcings. The tool automatically calculates based on your start time.
- Write the .15 file out. Confusingly, write() does not obey the name-value scheme of the rest of OM2D. Reference the manual to be sure.
Or, you can just cheat and copy paste this.
Remember to run adcprep on your 15 file after if you're doing a parallel run!
Related articles
Welcome to the University Wiki Service! Please use your IID (yourEID@eid.utexas.edu) when prompted for your email address during login or click here to enter your EID. If you are experiencing any issues loading content on pages, please try these steps to clear your browser cache.