Example 3: addmesh/append

The objective is to join two meshes to create a third using the addmesh / append command.

Two cubes, one smaller than the other, each having a different grid resolution are combined. The append option concatenates two meshes where imt, icr, and itetclr

of mesh2 are given the values max(imt(mesh1)).

 

Images of GMV output ——————————————————————————————————————————————————————————– —————————————————————————————————————————————————————————— ”” “”](image/addmesh_append/addmesh_append1.gif”>[input mesh1](image/addmesh_append/addmesh_append1.gif”> ”” “”](image/addmesh_append/addmesh_append2.gif”>[input mesh2](image/addmesh_append/addmesh_append2.gif”> ”” “”](image/addmesh_append/addmesh_append3.gif”>[combined mesh](image/addmesh_append/addmesh_append3.gif”>
——————————————————————————————————————————————————————————– ——————————————————————————————————————————————————————————

  Input file

read / gmv / input_mesh3.gmv/  cmo1

cmo status cmo1

read / gmv / input_mesh4.gmv/  cmo2

cmo status cmo2

addmesh / append / cmo3 / cmo1 / cmo2

*

*

filter 1 0 0

resetpts / itp

cmo status cmo3

dump / gmv / output_append.gmv/ cmo3

cmo/status

cmo/printatt//-all-/minmax

quality

finish