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.

Getting indices of boundary conditions in Matlab?

Please login with a confirmed email address before reporting spam

I am using the Comsol LiveLink for Matlab and at the moment I am trying to extract those dofs from a mesh, on which boundary conditions are implicated. In Comsol 3.5 one could use something like

find(strcmp('dir',fem.appl{1}.bnd.type))

in order to get those indices with Dirichlet boundary conditions. Is there something similar in Comsol 4.2a?
And is there a possibility to get the indices of the Neumann-conditions as well?

Unfortunatelly I haven't figured it our so far...

Thanks for your help!

0 Replies Last Post 3 set 2012, 11:30 GMT-4
COMSOL Moderator

Hello Oliver Zeeb

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.