<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
What is the desired characteristics of your grid? Would a latitude/longitude or a rectangular grid suffice for your application?
<div dir="ltr"><br>
<blockquote type="cite">On Apr 15, 2024, at 8:18 AM, Yilang Xu <yxu@whoi.edu> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style>@font-face { font-family: "Cambria Math"; }
@font-face { font-family: DengXian; }
@font-face { font-family: Aptos; }
@font-face { font-family: "@DengXian"; }
p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif; }
span.EmailStyle17 { font-family: Aptos, sans-serif; color: windowtext; }
.MsoChpDefault { }
@page WordSection1 { size: 8.5in 11in; margin: 1in; }
div.WordSection1 { page: WordSection1; }</style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Dear MITgcm community, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I am wondering if there is any standard way or package to generate curvilinear grid.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I set usingCurvilinearGrid=.TRUE., in data, and #define OLD_GRID_IO in CPP_OPTIONS.h.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">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. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">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.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">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.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thank you very much.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Yilang <o:p></o:p></span></p>
</div>
<span>_______________________________________________</span><br>
<span>MITgcm-support mailing list</span><br>
<span>MITgcm-support@mitgcm.org</span><br>
<span>https://urldefense.us/v3/__http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!PvBDto6Hs4WbVuu7!Las8ExWvHmBKqrCL0q3Cacy8vbuvOBxElg0U3GWhDuUXsBd0CdTS9CwNE8QuXToyaW-C-VJjKVtDbnsc1Y0ZK3QP$
</span><br>
</div>
</blockquote>
</body>
</html>