Example 5: addmesh / intersect

The objective is to create a point set that are the nodes in mesh1 that intersect elements of mesh2. Two cubes defined by mesh1 and mesh2 are read. The perimeter of mesh2 lies within that of mesh1. The addmesh / intersect command is used to determine the nodes in mesh1 that intersect elements of mesh2.

Input

     lagrit_input_inter

 

Images of GMV output

+———————–+———————–+———————–+ [mesh1<img height=”300” width=”300” src=”https://lanl.github.io/LaGriT/assets/images/addme <div align="left"> [mesh3” [mesh2“151” “ sh_intersect/addmesh_ “107”](image/ “93”](image/a mesh2_tn.gif”>” addmesh_intersect/add ddmesh_intersect/addm 122” _inter.gif”>
esh_mesh1.gif”> “102”](image/
addmesh_intersect/add  
  mesh_mesh2.gif”>
 
   
 
   
 
   
Nodes of mesh1(red)
    that intersect
elements of mesh2
 

+———————–+———————–+———————–+