Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

comsol's algorithm for determining number of domains

Please login with a confirmed email address before reporting spam

I am running COMSOL w/ Matlab for an optimization of a geometry and need to be able to know the number of domains formed by 4 curves.

The problem is stated as:

I need an algorithm to determine how many domains I have. I have 4 sides that always touch, 3 are fixed and I am varying 1 of them. 2 sides are straight lines and the other 2 are large waves which when all 4 connected, form 1 domain. The problem is, sometimes my program changes this one side such that 1) it crosses over itself making more than 1 domain and 2) sometimes its amplitude is large enough it intersects another side.

I have been suggested to check path connectedness. Does anyone know if an algorithm has been posted for this?

or

Does anyone know of a better algorithm?

I am using Matlab's optimation algorithm for this and need to input a constraint from generating parameter spaces with more than 1 domain.

Thank you!

0 Replies Last Post Nov 25, 2012, 12:37 p.m. EST
COMSOL Moderator

Hello Alexander Warning

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.