Replies: 1 comment 1 reply
-
Yes. There's no reason to believe that the Matlab LiveLink (or even the Comsol GUI) has any kind of "backdoor" that you don't have access to from Python. You can use "any and all functionality offered by the Comsol API", as the documentation explains in section "Access the full Comsol API".
Ultimately, you're asking how the Matlab LiveLink's Personally, I've never set up my models in a way where I would need that functionality. If I ever wanted to select entities based on coordinates, I'd just add a "box selection" to the Comsol model, and then use it as a "named selection" wherever else needed. This also works if the geometry is parametrized, as you can refer to the same (global) parameters in the box selection's settings. One could also add such a box selection temporarily to the model at hand, and then just read out the entity numbers it returns. Maybe that's how |
Beta Was this translation helpful? Give feedback.
-
Hi!
Is it possible to realize the same functions as "mphselectbox" in matlab, or how can I get the boundary entities's coordinates to decide which boundary to apply boundary conditions?
Beta Was this translation helpful? Give feedback.
All reactions