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.

boundary settings using MATLAB

Please login with a confirmed email address before reporting spam

Hi,
I have developed a geometry using MATLAB. As my geometry will change dynamically during simulation I want to have full control over it.
Now I have defined boundary conditions using for loop in MATLAB. But the problem is it gives error with the following message

Domain 3 appears more than once in fem.appl{1}.bnd.ind
Domain 3 appears more than once in fem.appl{1}.bnd.ind
Domain 2 appears more than once in fem.appl{1}.bnd.ind
Domain 3 appears more than once in fem.appl{1}.bnd.ind
Domain 2 appears more than once in fem.appl{1}.bnd.ind
Domain 3 appears more than once in fem.appl{1}.bnd.ind
Domain 2 appears more than once in fem.appl{1}.bnd.ind
Domain 3 appears more than once in fem.appl{1}.bnd.ind
Domain 2 appears more than once in fem.appl{1}.bnd.ind
Domain 4 appears more than once in fem.appl{1}.bnd.ind
Domain 4 appears more than once in fem.appl{1}.bnd.ind
Domain 4 appears more than once in fem.appl{1}.bnd.ind
Domain 4 appears more than once in fem.appl{1}.bnd.ind
Domain 4 appears more than once in fem.appl{1}.bnd.ind
The length of fem.appl{1}.bnd.r must either be 1 or equal the number of domain groups
The length of fem.appl{1}.bnd.type must either be 1 or equal the number of domain groups
??? Error using ==> fem2jxfem at 45
Errors found in FEM structure.

Error in ==> multiphysics at 81
jxfem=fem2jxfem(fem,femname(inputname(1),fem),{'lib'},false,false);

Error in ==> pois_zub_new_si at 160
fem=multiphysics(fem);

What might be the problem? Anyone please help .

0 Replies Last Post 2 nov. 2010, 00:09 UTC−4
COMSOL Moderator

Hello Ahmad Zubair

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.

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.