-
Notifications
You must be signed in to change notification settings - Fork 22
Adding a New Mesh
wwlwpd edited this page Oct 24, 2022
·
5 revisions
Adding a new mesh to the ASGS consists of the following steps:
- Create an issue for the new mesh in the ASGS issue tracker
- Make a branch from
master
with the issue name and number and check out the branch - Add a directory to hold the files related to the mesh in
$SCRIPTDIR/input/meshes/<MESHNAME>
(hereafter referred to as the$MESHNAMEDIR
in these instructions) - Place a sample
fort.15
that has been used successfully with this mesh into$MESHNAMEDIR
along with the mesh file (fort.14
), the nodal attributes file (fort.13
) and any other static input files - Make a copy of the
fort.15
file with the name<MESHNAME>_fort.15.template
- Edit the
<MESHNAME>_fort.15.template
file to turn it into a template - The file
$SCRIPTDIR/input/meshes/HSOFS/hsofs_explicit.15.template
can be used as an example of how to make afort.15
template file - Copy the file
$SCRIPTDIR/input/meshes/common/swan/swaninit.template
into$MESHNAMEDIR
- Copy the file
$SCRIPTDIR/input/meshes/common/swan/adcirc_swan_v53_fort.26.template
into$MESHNAMEDIR
- Copy the station lists (for water surface elevation, water current velocity, and meteorology) from the original fort.15 file into their own files (3 files total), putting them into standard form if necessary
- Standard form for stations is
lon lat ! stationID ! agency ! description
- Create properties files for the nodal attributes (fort.13), mesh (fort.14), and control (fort.15) files to hold the values of the
sea_surface_height_above_geoid
, general geographic location (asgs
property), and the wet/dry threshold (H0
); the nodal attribute value can be discovered by looking at the header for the nodal attributes file, and the wet/dry threshold can be easily determined from thefort.15
file with the commandgrep -i H0 fort.15
Note: These unstructions are useful for adding a locally supported mesh, please see the information on (adding local assets)[https://github.com/StormSurgeLive/asgs/wiki/Adding-Local-Assets].