Quantcast
Channel: LiveLink for MATLAB - Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 99

MATLAB LiveLink: Combine different contours

$
0
0
Hi,
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

Viewing all articles
Browse latest Browse all 99

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>