Hello, I would like to merge an existing mesh into a geometry and then mesh the unmeshed region using gmsh (something like a boundary mesh around a pre-existing mesh generated externally by another program). Ideally, this would result in a mesh that was partially created in gmsh and partially created externally to gmsh. Ultimately, I would like to do this in both 2D and 3D but am starting with the following in 2D:
Merge "square";
SetFactory("OpenCASCADE");
Surface Loop(1) = {1};
//sExternal = news;
//Rectangle(sExternal) = {0, 0, 0.0, 0.5, 0.5};
s1 = news;
Rectangle(s1) = {-0.25, -0.25, 0.0, 1.0, 1.0};
//BooleanDifference (2000) = { Surface{s1}; Delete; }{ Surface{sExternal}; };
BooleanDifference (2000) = { Surface{s1}; Delete; }{ Surface{1}; };
OpenCascade doesn't recognize surface 1 and BooleanDifference causes gmsh to
crash. I assume I am doing something wrong? Can gmsh embed an existing mesh
into a gmsh geometry or CAD model?
Thanks,
Aaron
square
Description: square
_______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
