Hi Chi-Tuan
Thank you very much for your response.
Because of the large files, I uploaded the entire case files into a google drive folder:
drive.google.com/drive/folders/1g8WTUf1h...7-kz6EVO?usp=sharing
would be awesome if you can take a quick look at them.
I meshed the domain following some rules that I made up: the mesh is finer at steeper slopes, at shallower waters, closer to the open boundaries and nearer the zone I'm interested in (although the weight to the steep slope rule is not as high as I wanted because I was going to end up with too many nodes).
The smallest distance between nodes is 10 m and the longest is 200 m.
The bathymetry near the boundary has a special treatment. I smoothed it a bit and truncated it to have depths of at least 10 m. I smoothed the transition from the boundaries to the 'real' bathymetry in 500 m.
I started with a very simple steering file, but as I wasn't getting good results I started adding keywords that I thought might help with precision and / or stability as I was reading more in depth the user manual and the forum.
I have also tried not to use Thompson (OPTION FOR LIQUID BOUNDARIES : 2;2;2;2;2;2 and 1;1;1;1;1;1) and the different options for the velocity profile (VELOCITY PROFILES: 1;1;1;1;1;1 or 4;4;4;4;4;4 or 5;5;5;5;5;5) with no success.
I tried different turbulence models, including constant viscosity (TURBULENCE MODEL : 1) and realized that this option is not the one that is making my model unstable at the boundaries.
I was trying to avoid TYPE OF ADVECTION = 1 because it is not conservative (or less conservative than other methods) and also I did try it with no success.
I'm feeling like I'm running out of options, but I'll keep trying. I'll incorporate your suggestions.
Thank you!!
PD: I'm attaching some figures showing the issue.