[MITgcm-support] how to solve linearized equations?

Martin Losch mlosch at awi-bremerhaven.de
Mon Oct 10 02:25:43 EDT 2005


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




More information about the MITgcm-support mailing list