In my *.h I have:
Code: Select all
#undef SOLVE3D
#define UV_COR
#define UV_ADV
#define UV_VIS2
#define UV_QDRAG
#define NONLINEAR
#define ANA_GRID
#define ANA_INITIAL
#define ANA_SMFLUX
#define ANA_DIAG
#define AVERAGES
#define OBC_WEST
#define OBC_EAST
#define ANA_SPONGE
#define SPONGE
#define OUT_DOUBLE
Code: Select all
width=20.0_r8
MIXING(ng)%visc2_r(IstrT:IstrT+INT(width),JstrT:JendT)=100.0_r8
MIXING(ng)%visc2_p(IstrT:IstrT+INT(width),JstrT:JendT)=100.0_r8
MIXING(ng)%visc2_r(IendT-INT(width):IendT,JstrT:JendT)=100.0_r8
MIXING(ng)%visc2_p(IendT-INT(width):IendT,JstrT:JendT)=100.0_r8
And in the *.in:
Code: Select all
LBC(isFsur) == Cha Clo Cha Clo ! free-surface
LBC(isUbar) == Rad Clo Rad Clo ! 2D U-momentum
LBC(isVbar) == Rad Clo Rad Clo ! 2D V-momentum
VISC2 == 0.0d0 ! m2/s
VISC4 == 0.0d0 ! m4/s
LuvSponge == T ! horizontal momentum
LtracerSponge == F F ! temperature, salinity, inert
X_SPONGE == 200.0d+3
V_SPONGE == 100.0
Thanks!