[MITgcm-support] Adding 3D diffusivity field to model input

Jody Klymak jklymak at uvic.ca
Fri Oct 6 15:26:29 EDT 2017


Hi Robert,

I’m pretty sure there is a CFL criterion for vertical diffusivity; basically dt < dz^2/K .  Are you sure that is being satisfied everywhere, in particular in any partial near-bottom cells you have?  Its unusual for it to be violated, but if dz is very small or your imposed K very large.

Have you tried inputting a constant low K to make sure its being input properly?

Cheers,   Jody



> On 6 Oct 2017, at  11:47 AM, Robert Nazarian <rn2 at Princeton.EDU> wrote:
> 
> Hi,
> 
> I'm attempting to insert a 3D matrix of vertical diapycnal diffusivities that are constant in time (with no wave forcing) and comparing it with a simulation where the diapycnal diffusivities are not included (but the wave forcing is included). To modify the existing simulation, I've turned off the wave forcing and, based on documentation, made two changes to account for a 3D difussivity input. First, I’ve added #define ALLOW_3D_DIFFKR in CPP_OPTIONS.h. Second, I’ve added diffKrFile=‘FileName’ under &PARM05 in data. This file is formatted in the same manner as my initial T and S fields, so I know that the formatting is not the issue. The values of vertical diapycnal diffusivities in this 3D matrix are all greater than or equal to 0. I've run the model for just a few time steps and time 0 is fine, however, the first time step yields NaN velocity and temperature values, so something is clearly wrong. Any advice on what I’m missing in my setup would be much appreciated.
> 
> Thanks so much, 
> Rob
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support

--
Jody Klymak    
http://web.uvic.ca/~jklymak/





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20171006/666c3b95/attachment.html>


More information about the MITgcm-support mailing list