-
Filter by Topic
Most Popular
All Topics
- List all discussions
How to distinguish between inner and outer bounadry conditions.
|
Thread index | Previous thread | Next thread | Start a new discussion |
June 8, 2010 12:24pm UTC
How to distinguish between inner and outer bounadry conditions.
Hello!
I have created a MATLAB script to set up 2D and 3D RF models.
To assign the correct boundary conditions I would need to be able to distinguish between inner and outer boundaries.
Is there any way to find out which index in fem.appl.bnd.ind corresponds to an inner and which to an outer boundary?
There should be a way, because Comsol in GUI mode is able to distinguish between the boundaries, however, I couldn't find a solution yet.
Thanks alot for your ideas!!!!!
Clemens
Reply | Reply with Quote | Send private message | Report Abuse
June 9, 2010 4:14pm UTC in response to Clemens Schriever
Re: How to distinguish between inner and outer bounadry conditions.
Hello!
This is a good question because I am having the exact same problem. If there is no way to do this, has anyone come up with any workarounds, etc? Thanks for any help in advance!
Reply | Reply with Quote | Send private message | Report Abuse
August 24, 2010 7:38pm UTC in response to Christopher David
Re: How to distinguish between inner and outer bounadry conditions.
The way that I handled this in 3.5x was to get a list of boundaries for each subdomain in my geometry (using geomcsg).
To figure out which boundaries are "interior", simply compare the list of boundaries for one subdomain to the list of boundaries for all other subdomains. If the same boundary belongs to two or more subdomains, then it is "interior".
Dont ask me how to do this in 4.0... that's part of my current dilemma.
Mark Roy
Reply | Reply with Quote | Send private message | Report Abuse
September 20, 2010 9:55am UTC in response to Mark Roy
Re: How to distinguish between inner and outer bounadry conditions.
You wouldn't hapen to have some sample code?
Reply | Reply with Quote | Send private message | Report Abuse
Rules and guidelines

