Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Drawing a triangular hole in a cuboid

Please login with a confirmed email address before reporting spam

How can I draw a triangular hole in a rectangular channel? I am currently creating a 2D workplane and after drawing the required geometry in 2D, I am using the difference option. But the triangular region is not being selected. If this would have worked, I would have then used the extrude option.

If anyone has idea regarding this, kindly help.


3 Replies Last Post 19 juil. 2019, 14:36 UTC+2
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 18 juil. 2019, 22:03 UTC+2
Updated: 6 years ago 18 juil. 2019, 21:54 UTC+2

Can you upload your mph file?

-------------------
Jeff Hiller
Can you upload your mph file?

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 19 juil. 2019, 06:51 UTC+2
Updated: 6 years ago 19 juil. 2019, 06:48 UTC+2

Yes.

Yes.


Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 19 juil. 2019, 14:36 UTC+2
Updated: 6 years ago 19 juil. 2019, 14:27 UTC+2

Hi Aashna,

The issue is that before you can subtract a triangle from a rectangle, you need to have a triangle, and in your file there are segments that visually do form a triangle but you have not told the software that you want those three segments turned into a solid triangle. You can do that by converting the three segments into a curve, and then converting the resulting curve into a solid. Then you can select the triangle as the object to subtract from the rectangle.

See the attached file, where I did this for both triangles simulataneously.

Best,

Jeff

PS: If you are starting with COMSOL, I highly recommend binge watching the videos on our Learning Center

-------------------
Jeff Hiller
Hi Aashna, The issue is that before you can subtract a triangle from a rectangle, you need to have a triangle, and in your file there are segments that visually do form a triangle but you have not told the software that you want those three segments turned into a solid triangle. You can do that by converting the three segments into a curve, and then converting the resulting curve into a solid. Then you can select the triangle as the object to subtract from the rectangle. See the attached file, where I did this for both triangles simulataneously. Best, Jeff PS: If you are starting with COMSOL, I highly recommend binge watching the videos on our [Learning Center](https://www.comsol.com/learning-center)

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.