I can't understand this weird result I got. I use the TPXO7.1 tide harmonics as the boundary condition(using the method as OSU Tidal Prediction Software Example from https://www.myroms.org/wiki/index.php/Tidal_Forcing),and I extract the bathymetry from the TPXO grid_tpxo7.1.nc(a little smoothing was done by smooth_bath.m in ROMS matlab dir).The difference after-before smoothing.
Although I know TPXO tide data has assimilated some obs),I would expect my result should agree with TPXO,since I use its OBC and Bathymethy.
However,they are very different as follows.
beyond the color range is set to Nan;I choose M2 S2 O1 K1 as tide forcing.
The cpp is as follows (which is 2D case)
here is the parameters:
5.0000E+02 visc2 Horizontal, harmonic mixing coefficient (m2/s)
3.0000E-03 rdrg2 Quadratic bottom drag coefficient.
and I also did it in 3D, using a similar bathymetry(not the above).The result is just slightly better,but far from good.
Anyone can tell me why this happens? Thanks