Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 6573

Automated selection in assembly finalization

$
0
0

Hi,

I am working with comsol just over 2 years now and since the introduction of selections I am trying to leverage them to automate my models. However I find the functionallity so far quite limiting and confusing. In order to illustrate my problem, I have attached a simple model built in comsol 5.3a.

In this model you see 4 small blocks (Cells) sitting inside a big block (Polymer). I also performed an intersection on the polymer so that I am left only with 5 solid objects. I perform my finalization as an assembly because I need to define interface behaviour later on (so union is not an option).

The problem which I cannot wrap my head around sits when we look at the box selection at the end. In this selection I try to select only the top interface boundary of the cells. To achieve this I use the cells selection created earlier in the model and make a box selection so that only the top boundry sits within the selection. What I see happening is that even though only the cells selection is used also the interface boundries of the polymer are inside the selection. Then I find myself wondering how to select these interface boundries in an automated way. I tried many iterations without succes. Also If this would not be possible without resorting to API or matlab livelink (basically programming your own selections), then I wonder why they introduce the feature in first place as they cannot be used to select the boundries of specific selections unless used in a union finalization. I also noticed that even though I have 5 solid object in my model, only one final object is created at the end (try objects selection from the grahpics window). Fixing this might also lead to a solution but havent found a way.

I cannot imagine being the only one strugeling with this, so if anyone has a solution please lett me know.

Kind regards

Philippe


Viewing all articles
Browse latest Browse all 6573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>