I am running telemac3d v7p2r2, and get errors in output when coupling with WAQTEL. If anyone can suggest alternatives to try in the telemac or waqtel steering files to help solve or diagnose this problem, this would be much appreciated.
I am running with initial conditions and boundary forcing provided from a regional ocean model, as shown in fortran and steering files attached. Everything is stable until I try to introduce atmospheric forcing through WAQTEL. After ~ 6h the model output becomes NaN. I have attached a sample output file for reference to show these errors. Aside from exceeding iterations, there is no obvious cause of errors (the model in fact keeps running, but with useless output!). Coupling is required to provide the surface heat fluxes and therefore maintain the stratification during the simulation, so we need to resolve this problem.
I have tried running for a different month, and with a different surface forcing source, but still get the same error. So the problem doesn't seem to be caused by an error in the met forcing file itself (e.g. no spike in wind speed or temperature).
I have tried changing the turbulence scheme. This reduces the "exceeding iterations" errors, but still get NaN after ~ 6h.
The problems I've experienced sounded similar to those described
here. Following the suggestions here I then changed the advection schemes (from 1 to 14 for velocity and k-epsilon), and also the option for each scheme to 4. However, this showed no improvement.
As the model includes tidal flats, we use
ATMOSPHERE-WATER EXCHANGE MODEL= 1
(since option 2 is said to be unstable for versions < v8p0). Following the note of a bug in calcs3d_thermics
here I updated this routine in the fortran file. Again this showed no real improvement.
The latest version of the model steering files are attached. As mentioned earlier, the model is stable until we introduce WAQTEL, so I suspect the problem is somehow down to the treatment of this coupling.
Any advice you can give would be appreciated. Thank you.