I would like to set up spatially-varying nudging using netCDF (ocean_nud.nc) and would like to ask you how I can set up outgoing nudging (passive. outflow) when I activate RudNud in ocean.in.
I checked d_nudgcoef.m and in d_nudgcoef.m,
Code: Select all
% In the North Atlantic DAMEE_4 application the nudging is done in the
% southern and northern domain edges over a 8-point linearly tapered
% nudging scales of 5 to 60 days.
inner = 1/60; % 60 days at interior limit
outer = 1/5; % 5 days at boundary
width = 8; % 8 points
My question is how I can set up outgoing nudging (passive). I created a nudging netcdf file, but I thought that's only for incoming nudging.
If I would like to set up 1 day incoming nudging at the open boundary and tapered in 6 grids to zero (in inverse time scale. i.e. no nudging beyond 6 grids) and outgoing nudging at 60 days, where can I specify outgoing nudging?
It used to be TNUDG, M3NUDG, OBCFAC to set up nudging. e.g. if I want to set up 180 days outgoing nudging (passive) and 1 day incoming nudging (active), I can choose TNUDG=M3NUDG=180 and OBCFAC=180.
Of course, I am trying to set up spatially-varying nudging so I wouldn't use them. I used to modify ana_nudgcoef.h to set up nudging analytically, but now I am trying to do that by creating ocean_nud.nc as recommended by Hernan (https://www.myroms.org/projects/src/ticket/627)
Thanks in advance.
-DJ