Skip to content

Update AdH surface water template & export script for CMB4

This branch updates the AdH surface water templates/scripts to work with the SMTK mesh API that is now incorporated into CMB4 (replacing the CMB3 analysis grid).

  • Export script now uses the MeshExport2DM class to write the mesh file during export (previously, CMB3 users had to do that manually).
  • Explicitly assigns "material id" value (integer) to each model face.
  • Adds code to write NDS and EGS cards, which had placeholder logic.
  • Fixes some bugs discovered during testing.
  • Also updated the export template to specify and output directory and base filename, instead of the .bc file.

Merge request reports