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.

Create geometry

Please login with a confirmed email address before reporting spam

I calculated a matrix in MATLAB, in which there are many circle center coordinates and radius information. How to use this matrix in Comsol and create these circles?


2 Replies Last Post 23 dic 2020, 02:32 GMT-5
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 17 dic 2020, 11:08 GMT-5
Updated: 4 years ago 17 dic 2020, 11:08 GMT-5

There are two ways to find a solution to problems like this:

1) Read "Introduction to LiveLink for Matlab" and follow the modelling examples yourself. It includes the commands to do circles (and many other things)

2) Create a model in Comsol with the physics you need to solve. Create a simple geometry with a few circles. Save the model as an M-file and learn from looking at the saved code.

-------------------
Lars Gregersen
Comsol Denmark
There are two ways to find a solution to problems like this: 1) Read "Introduction to LiveLink for Matlab" and follow the modelling examples yourself. It includes the commands to do circles (and many other things) 2) Create a model in Comsol with the physics you need to solve. Create a simple geometry with a few circles. Save the model as an M-file and learn from looking at the saved code.

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 23 dic 2020, 02:32 GMT-5

thx,i have handled it.

thx,i have handled it.

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.