how are .msh files structured? #628
-
Hi all, where can I find documentation on the format of the I've searched high and low through the repositories in different branches. From But I'm used to the element list having having three columns (listing nodes of each cell), whereas the Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
For posteriority, I traced it back to a GMSH legacy format 2: |
Beta Was this translation helpful? Give feedback.
-
Hi @poplarShift
The attached matlab script writes the WW3 *msh file if you have node, open boundary nodes and elements info. Regards |
Beta Was this translation helpful? Give feedback.
Hi @poplarShift
WW3 uses the GMSH format as you mentioned. Here is the simplified format, required by WW3
The attached matlab script writes the WW3 *msh file if you have node, open boundary nodes and elements info.
WW3_mesh_generator.m.zip
Here is the command you need,
WW3_mesh_generator(elelemt conection,longitude,latitude,depth,open boundary index,<name of the msh file>,0)
Regards
AA