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.
Error: fem.appl{1}.bnd.type{1} must have any of the values 'Js', 'A', 'A0'
Posted 9 ott 2009, 12:00 GMT-4 4 Replies
Please login with a confirmed email address before reporting spam
Hello,
I'm trying to model a generator with Comsol through MATLAB.
For now I have almost done a copy/paste of the Comsol example "generator 2d" for what concerns the boundaries properties. So, as in this example, I want the outside boundary to be of type 'Magnetic insulation' and the others to be 'continuous'.
I wrote this:
bnd.type = {'cont','A0'};
but then I got this error, by calling multiphysics(fem).
I don't understand why I can't use the type 'cont'? Although there is no problem in "generator 2d".
Here is another line that might be related :
appl.shape = {'shlag(2,''lm1'')','shlag(2,''Az'')'};
Thanks
Ronan
I'm trying to model a generator with Comsol through MATLAB.
For now I have almost done a copy/paste of the Comsol example "generator 2d" for what concerns the boundaries properties. So, as in this example, I want the outside boundary to be of type 'Magnetic insulation' and the others to be 'continuous'.
I wrote this:
bnd.type = {'cont','A0'};
but then I got this error, by calling multiphysics(fem).
I don't understand why I can't use the type 'cont'? Although there is no problem in "generator 2d".
Here is another line that might be related :
appl.shape = {'shlag(2,''lm1'')','shlag(2,''Az'')'};
Thanks
Ronan
4 Replies Last Post 17 mag 2010, 11:06 GMT-4