After work in the bathymetry, doing some improving and smoothing i got the model start to run in my area, (but not without blowing-up after several steps). I think that bathymetry is quite smooth and unrealistic points in deep water have disappeared. The bathymetry has no any min_depth added (to avoid zero values) and keep negatives values for land. i am using the option wet_dry in such case.
Code: Select all
#define WET_DRY /* use to activate wetting and drying*/
I tried with different values for dt, say 30,10,5,1. The model finally blow-up after several time steps, farther as dt is smaller of course. For instance, with 30s the model performs only 30 time step, with 10s around 82,...and 1194 steps with 1s for dt.
The initial conditions is the rest for momentum and free-surface. The boundary conditions for free-surface are imposed analytical by ana_fsobc.h as follow (linear wave with 12h period and 3m of amplitude in the open boundaries)
Code: Select all
# ifdef WEST_FSOBC
IF (WESTERN_EDGE) THEN
cff=3.0_r8*SIN(2.0_r8*pi*time(ng)/(12.0_r8*3600.0_r8))
DO j=JstrR,JendR
BOUNDARY(ng)%zeta_west(j)=cff
END DO
END IF
#endif
# ifdef NORTH_FSOBC
IF (NORTHERN_EDGE) THEN
cff=3.0_r8*sin(2.0_r8*pi*time(ng)/(12.0_r8*3600.0_r8))
DO i=IstrR,IendR
BOUNDARY(ng)%zeta_north(i)=cff
END DO
END IF
# endif
# ifdef SOUTH_FSOBC
IF (SOUTHERN_EDGE) THEN
cff=3.0_r8*sin(2.0_r8*pi*time(ng)/(12.0_r8*3600.0_r8))
DO i=IstrR,IendR
BOUNDARY(ng)%zeta_south(i)=cff
END DO
END IF
# endif
The problem came from the west boundary (left in the picture) a fast and high growth rate for variables is observed in the middle lower part of this boundary. find enclosed a picture (results.png). Also i attach a snapshot of bathymetric profiles (profiles.png) where can be noticed that bathymetry has not any shoal (the green one contains the river.)
I wonder what is the cause of the problem. If it is a bathymetry effect in the boundary, i would make another grid which west boundary start around 100m depth where would leave parallel to this boundary. Also seem to be a boundary problem so maybe the boundary conditions are no appropiated. In this hand i would ask some advise on how to treat the boundary conditions properly and if mines are correct.
many thanks in advance.