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.
MATLAB LiveLink: Combine different contours
Posted 6 giu 2014, 06:38 GMT-4 LiveLink for MATLAB, Geometry Version 4.4 0 Replies
Please login with a confirmed email address before reporting spam
I was wondering what the best way is to create a geometry that combines contours. For example, I have a geometry that is made up of various domains. When I use the commands
figure(1); [c,h] = contourf(p); clabel(c, h); colorbar;
then the relevant contours I need are for example the ones with values 150 and 250. mphimage2geom however only let's me use one of those values. How can I get the whole geometry into one .mph file? I've attached the image I'm trying to model in case I'm using the wrong approach entirely. White is the background, grey and black are two different types of domain.
Thanks!
Alexandra
Attachments:
Hello Alexandra Diem
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.