[MITgcm-support] rhoConst and rhoNil

Andrew Eichmann afe at ocean.mit.edu
Tue Jun 14 13:12:13 EDT 2005


* Martin Losch <mlosch at awi-bremerhaven.de> wrote on Tue, Jun 14, 2005 at 05:31:17PM +0200

Thanks, Martin.

It appears that if rhoConst is left unset it is assigned the value of
rhoNil (in ini_parms).  Is there any reason not to leave rhoConst
unset?  To reduce previous boolean expression, is there any general 
reason to set rhoConst?

-A


> Andy,
> as far as I remember, rhoNil concerns only the equation of state (and 
> therein only the linear EOS), whereas rhoConst is the constant 
> reference density that the momentum equations are divided by. changing 
> rhoConst should not change the result (except for round off errors), 
> whereas changing rhoNil will.
> 
> Martin
> On Jun 14, 2005, at 4:58 PM, Andrew Eichmann wrote:
> 
> >
> >Anybody care to explain the relationship between rhoConst and rhoNil?
> >I understand rhoNil to be the reference density, presumably to
> >calculate/output the density anomaly....  This is for purposes of
> >documenting the rotating tank example, and it's not discussed in the
> >manual nor in any comments I could find.
> >
> >Thanks,
> >-- 
> >Andrew Eichmann
> >MIT-PAOC
> >Rm 54-1623
> >77 Massachusetts Ave.
> >Cambridge, MA 02139
> >_______________________________________________
> >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

-- 
Andrew Eichmann
MIT-PAOC
Rm 54-1623
77 Massachusetts Ave.
Cambridge, MA 02139



More information about the MITgcm-support mailing list