MPAS-Dev / MPAS

Repository for private MPAS development prior to the MPAS v6.0 release.
Other
4 stars 0 forks source link

Updates to MPAS->Albany mesh converter functionality #1487

Closed matthewhoffman closed 6 years ago

matthewhoffman commented 6 years ago

This commit includes minor updates to the MPAS->Albany mesh converter.

  1. fix the way temperature is written
  2. Correct accidentally passing X velocity component to the Y component
  3. Add additional file with MPAS indexToCellID field values to allow remapping of subsequent Albany output back to the MPAS mesh.
mperego commented 6 years ago

I think the changes are fine and can be merged, but we might spend a bit more time on this to improve this capability. I wrote this in an email, but probably here is a better place.

  1. I would add code to print out the bed topography as well (I can do this).

  2. The observed velocity is now printed interleaved, whereas Albany ascii importer assumes that vectors are not interleaved. So for the velocity it expect first all the x-components, then all the y-components (should be easy to fix this and I can do this).

  3. It is now possible to store all the fields, including 3d fields like the temperature on the 2d exodus mesh. So, we could print only a binary file containing all of the field information. This is probably a nontrivial amount of work, so I'd postpone this for later.