wenbinyugroup / ivabs

iVABS is a VABS-based design framework for composite beams including helicopter rotor blades, wind turbine blades, high aspect ratio wings, etc.
6 stars 5 forks source link

Two laminates overlap each other #60

Closed JWS625 closed 3 weeks ago

JWS625 commented 1 month ago

Target Design: I was trying to generate mesh for an airfoil with round corner spar. However, whenever I add leading/trailing edge laminates that share the same starting point with the round corner of spar, it can't generate the mesh.

To get better understanding what's going on to the cross-section, I tried avoiding this by having a gap between the starting point of leading/trailing edge laminate and that of round corner. It could successfully generate mesh, but I got two components overlapping each other as shown in the second figure. In the xml file, the leading/trailing edge laminates depend on the spar component.

I don't know if the two input files share the same source issue, but any help would be very appreciated.

airfoil_config png corner_overlap png

unitasium commented 3 weeks ago

This may be the issue of the trimming function. It has the difficulty of trimming the layer if the tangent directions of the two components are too close to each other. A workaround is to modify the end of the part to be trimmed, so that its end tangent direction is different from that of the cutting component.

A modification of this example is shown below. I exaggerated the modification to make it obvious. You can adjust this region to reduce the size of the hollow part and even fill it with materials.

image

image