[MITgcm-support] How to calculate the phiHyd (hydrostatic pressure potential anomaly) with model output ?
Martin Losch
Martin.Losch at awi.de
Mon Oct 10 04:51:07 EDT 2022
Hi,
there are couple of constant “rho”s in the code, e.g. rhoConst, rhoNil, rhoConstFresh, which all have a default, which can be changed. I usually check, which value the model actually uses (because I always forget, how the defaults are determined), in the stanard output (or in an MPI run in STDOUT.0000).
For the EOS calculation, checkout how “find_rho_2d” (in find_rho.F) does it: it uses “rhoNil” to scale the density (this should be “\rho_c”, while rhoConst = “\rho_0”). I am not sure if the 1D field rhoRef is used in this context.
Hope this helps,
Martin
> On 7. Oct 2022, at 08:39, Mike Fan <ifanliming at outlook.com> wrote:
>
> Hello all,
>
> I want to use the model output (temp & salt & eta) to calculate the phiHyd, Through reading the guidebook, I learned that phiHyd is called hydrostatic pressure potential anomaly, using the equation like 4.2. Baroclinic Ocean Gyre ― MITgcm checkpoint68k-6-g80404458a documentation <https://mitgcm.readthedocs.io/en/latest/examples/baroclinic_gyre/baroclinic_gyre.html#output-files>.
>
> In my model, setting a linaer EOS, implicitFreeSurface=’true’, and rhoConst=999.8. Here is my question, there is a rho_0, how the model calculates it?
>
> What I have done. I set rho_0=rhoref (got from RhoRef.data & RhoRef.meta), but the result is not the same as the phiHyd (got from phiHyd.00000******.t0**.nc).
>
>
> Leming
> <屏幕截图 2022-09-29 095309.jpg><屏幕截图 2022-10-07 090528.jpg>_______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org <mailto:MITgcm-support at mitgcm.org>
> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support <http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20221010/51fb44bd/attachment.html>
More information about the MITgcm-support
mailing list