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.
Define subdomains with MATLAB
Posted 2009年9月15日 GMT-4 10:13 2 Replies
Please login with a confirmed email address before reporting spam
Hello everyone,
I don't understand how the definition of subdomains and subdomains groups works with MATLAB.
I've saved the Comsol 2D example "coil inductance" as an M-File to see how it works. The geometry of this example is a half circle with a smaller circle in it. But then in the code, I find these lines:
bnd.type = {'A0','cont','ax'};
bnd.ind = [3,1,1,2,2,2,2];
The second line allocate for each subdomain a number of subdomain group. So we have here 3 subdomain groups, but 7 subdomains. But I would like to know: how to define the subdomains after we build the geometry ?
Thanks
Ronan
I don't understand how the definition of subdomains and subdomains groups works with MATLAB.
I've saved the Comsol 2D example "coil inductance" as an M-File to see how it works. The geometry of this example is a half circle with a smaller circle in it. But then in the code, I find these lines:
bnd.type = {'A0','cont','ax'};
bnd.ind = [3,1,1,2,2,2,2];
The second line allocate for each subdomain a number of subdomain group. So we have here 3 subdomain groups, but 7 subdomains. But I would like to know: how to define the subdomains after we build the geometry ?
Thanks
Ronan
2 Replies Last Post 2009年9月16日 GMT-4 11:02