How can I obtain a structured quad mesh? luis.geo
Looks like a nice feature. I tried pyvista, though. However, I received a segmentation fault.
https://docs.pyvista.org/version/stable/examples/01-filter/boolean-operations.html
It's easy to build the intersection of two objects, e.g.
SetFactory('OpenCASCADE');
Mesh.CharacteristicLengthMax = 0.1;
Mesh.CharacteristicLengthMin = 0.1;
Box(1) = {-0.5,-0.5,-0.5, 1, 1, 1};
Sphere(2) = {0,0,0, 0.65};
BooleanIntersection{ Volume{1}; Delete;}{ Volume{2}; Delete;}
How can I apply the same procedure to two penetrating stl files, i.e.
SetFactory('OpenCASCADE');
Merge "part_a.stl";
Merge "part_b.stl";
...
gmsh -2 hexagon.geo -o hexagon.bdf creates a Nastran deck. The following two default header lines at the beginning would be helpful
CEND
BEGIN BULK
You can always use an INCLUDE statement.
CEND BEGIN BULK INCLUDE 'hexagon.bdf' ENDDATA
This is not a serious issue since almost all preprocessors offer tools for element conversion.
The default element type for triangular and quadrangular elements should be S3 and S4 instead of CPS3 and CPS4, respectively.
gmsh -2 hexagon.geo -o hexagon.bdf creates a Nastran deck. The following two default header lines at the beginning would be helpful
CEND
BEGIN BULK