[MITgcm-support] question about cube-sphere topology log output

Daniel Goldberg Dan.Goldberg at ed.ac.uk
Tue Oct 15 10:26:14 EDT 2024


hello all

Im interested in cube sphere topology. the reason is i would like to code up a solver off-line on a cube-sphere grid — the intention is for it to eventually enable STREAMICE to run in a cube-sphere grid in order to be coupled with AIM.

i read the page https://mitgcm.readthedocs.io/en/latest/phys_pkgs/exch2.html and didn't find that it answered my questions that i could see, at least not directly enough! however, i ran the solid-body.cs-32x32x1 verification and looked in the file w2_tile_topology.0000.log that are produced, and it might be closer to what i was looking for, but i would like to make sure i understand:

  N.Edge Facet  1 <-- W.Edge Facet  3 : pij=  0 -1  1  0 ; oi,oj=    33    32
  S.Edge Facet  1 <-- N.Edge Facet  6 : pij=  1  0  0  1 ; oi,oj=     0   -32
  E.Edge Facet  1 <-- W.Edge Facet  2 : pij=  1  0  0  1 ; oi,oj=    32     0
  W.Edge Facet  1 <-- N.Edge Facet  5 : pij=  0  1 -1  0 ; oi,oj=   -32    33

the above is from the log, so my understanding is that

  *
facet (face) 1 shares its northern edge with the western edge of face 3.
  *
"North", "West" etc refer to the top row and the left column in an array sense, not geographic directions.
  *
if i were to use the matlab utility read_cs_face to read binary output, the "Facet" number above would match the "face" argument.

Is all/any of this correct? If so i have two further questions:

  *
what is pij?
  *
what is oi,oj?

Many thanks!
Dan


--
Daniel Goldberg, PhD (he/him)
Reader in Glaciology
School of Geosciences, University of Edinburgh
Geography Building, Drummond Street, Edinburgh EH8 9XP
https://dngoldberg.github.io/
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20241015/7e284daf/attachment.html>


More information about the MITgcm-support mailing list