[MITgcm-support] how to solve linearized equations?

Jean-Michel Campin jmc at ocean.mit.edu
Mon Oct 10 18:48:24 EDT 2005


Hi Samar,

It's just a comment about SINGLE_LAYER: 
I generaly don't use it since the significant load of computation 
can be avoided by setting few flags (e.g.: tempStepping=.FALSE.).
I might be wrong, but I think it was added mainly to get
a smaller code for the adjoint.

Jean-Michel

On Mon, Oct 10, 2005 at 08:25:43AM +0200, Martin Losch wrote:
> Samar,
> 
> what you describe is how I usually do it (nonlinFreeSurf=0 is only 
> necessary if you compile with NONLIN_FRSURF defined, which is undefined 
> by default). Defining SINGLE_LAYER removes most of the thermodynamics.F 
> code.
> 
> Martin
> 
> On Oct 10, 2005, at 5:21 AM, Samar Khatiwala wrote:
> 
> >Hello
> >
> >I would like to use the MIT model to solve the LINEAR shallow water 
> >equations.
> >I intend to #define SINGLE_LAYER in CPP_OPTIONS.h.
> >
> >Looking at the code, it seems setting momAdvection=.FALSE. will result 
> >in
> >terms like u.grad u being dropped. Setting nonlinFreeSurf=0 will do the
> >same for continuity.
> >
> >Can someone please confirm this or tell me how this can be achieved?
> >Is there anything else I should watch out for?
> >
> >Thanks, Samar
> >
> >_______________________________________________
> >MITgcm-support mailing list
> >MITgcm-support at mitgcm.org
> >http://mitgcm.org/mailman/listinfo/mitgcm-support
> 
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support



More information about the MITgcm-support mailing list