Example 7: addmesh/merge

The objective is to join two meshes using the addmesh/mergecommand. Two rectangular meshes are read and combined. The merge command concatenates the meshes.

 

Images of GMV output

 

---------------------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------
<img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/addmesh_merge/addmesh_mesh1_tn.gif">"" ""](image/addmesh_merge/addmesh_mesh1.gif">[Input1](image/addmesh_merge/addmesh_mesh1.gif">   <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/addmesh_merge/addmesh_mesh2_tn.gif">"" ""](image/addmesh_merge/addmesh_mesh2.gif">[Input2](image/addmesh_merge/addmesh_mesh2.gif">   <img height="300" width="300" src="https://lanl.github.io/LaGriT/assets/images/addmesh_merge/addmesh_mesh3_tn.gif">"" ""](image/addmesh_merge/addmesh_mesh3.gif">[Merged](image/addmesh_merge/addmesh_mesh3.gif">
---------------------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Input file

*

addmesh   merge   cmo3   cmo1   cmo2

*

filter 1 0 0

dump   gmv   output_merge.gmv  cmo3