Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

How to Program the Geometry in Comsol

Please login with a confirmed email address before reporting spam

Hi All,

Comsol provides several basic geometric objects such as block and cylinder ,etc. However, sometimes it is very inefficient or impossible to manually construct a complicated structure. I believe the Geometry in Comsol can be programmed by MATLAB but I don't know how to do it. Can someone provide me with a simple example?

Much appreciated,
Ben

2 Replies Last Post 07.07.2011, 15:18 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 07.07.2011, 03:38 GMT-4
I don't know how to do it using matlab but have you tried creating planes and sketching what you want, then extruding/ revolving?
I don't know how to do it using matlab but have you tried creating planes and sketching what you want, then extruding/ revolving?

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 07.07.2011, 15:18 GMT-4
I solved similar problem I am attaching my solution, it is commented partly in czech but you can find more in manual Livelink API.
Jakub
I solved similar problem I am attaching my solution, it is commented partly in czech but you can find more in manual Livelink API. Jakub

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.