[MITgcm-support] Curvilinear grid generation

Yilang Xu yxu at whoi.edu
Tue Apr 16 04:50:54 EDT 2024


Hi Dimitris,

Thank you for the reply. I am using a rectangular grid, which is for a regional modeling near Antarctica.

Cheers,
Yilang

From: MITgcm-support <mitgcm-support-bounces at mitgcm.org> on behalf of Menemenlis, Dimitris (US 329B) <dimitris.menemenlis at jpl.nasa.gov>
Date: Tuesday, April 16, 2024 at 00:52
To: mitgcm-support at mitgcm.org <mitgcm-support at mitgcm.org>
Subject: Re: [MITgcm-support] Curvilinear grid generation
What is the desired characteristics of your grid?  Would a latitude/longitude or a rectangular grid suffice for your application?


On Apr 15, 2024, at 8:18 AM, Yilang Xu <yxu at whoi.edu> wrote:

Dear MITgcm community,

I am wondering if there is any standard way or package to generate curvilinear grid.
I set  usingCurvilinearGrid=.TRUE., in data, and #define OLD_GRID_IO in CPP_OPTIONS.h.

Currently I have LATC.bin, LONC.bin, LATG.bin, LONG.bin, etc. I also generate some dummy variables such as DXF=DXG=DXV=DXC, DYF=DYG=DYU=DYC, RA=RAZ=RAW=RAS, in order to get the model running at first and then I could correct them later.
The model output shows that there is mismatch in the grid. For example, noise exists around the ice shelf, where freshwater flux should not happen.

I would assume many people used curvilinear grid in the past, and I am wondering if there is any existing method to accurately generate the required grid variables. I appreciate any suggestions on this issue.

Thank you very much.

Cheers,
Yilang
_______________________________________________
MITgcm-support mailing list
MITgcm-support at mitgcm.org
https://urldefense.us/v3/__http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!PvBDto6Hs4WbVuu7!Las8ExWvHmBKqrCL0q3Cacy8vbuvOBxElg0U3GWhDuUXsBd0CdTS9CwNE8QuXToyaW-C-VJjKVtDbnsc1Y0ZK3QP$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20240416/d9a4a40e/attachment-0001.html>


More information about the MITgcm-support mailing list