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.

comsol function

Please login with a confirmed email address before reporting spam

Is there any teacher who can tell how to use this function in the current version? [g,ftx,stx]=geomcsg({g1,g2,g3,g4},'out',{'g','ftx','stx'});


1 Reply Last Post Jul 4, 2019, 4:52 a.m. EDT
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 5 years ago Jul 4, 2019, 4:52 a.m. EDT
Updated: 5 years ago Jul 4, 2019, 4:52 a.m. EDT

Hi 爽 郑

The function you mention was part of our old set of Matlab commands that we stopped using 10 years ago. The command would combine geometrix entities and provide on the relationship between them. The command is not supported any longer since it has been superceeded with much improved geometry and selection handling. One of the major reasons to use the Matlab interface 10 years ago was that this was the only way you could update geometries, but it required a lot of manual work that is now simply handled automatically for you.

The easiest approach is to make a model in the COMSOL GUI and to save the model as an M-file.

I'm sure someone can help you if you describe what type of model/geometry you are trying to make. You can either provide a description here or send the desscription to our support department.

-------------------
Lars Gregersen
Comsol Denmark
Hi 爽 郑 The function you mention was part of our old set of Matlab commands that we stopped using 10 years ago. The command would combine geometrix entities and provide on the relationship between them. The command is not supported any longer since it has been superceeded with much improved geometry and selection handling. One of the major reasons to use the Matlab interface 10 years ago was that this was the only way you could update geometries, but it required a lot of manual work that is now simply handled automatically for you. The easiest approach is to make a model in the COMSOL GUI and to save the model as an M-file. I'm sure someone can help you if you describe what type of model/geometry you are trying to make. You can either provide a description here or send the desscription to our support department.

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.