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.
How to Assign a Electric Potential to a Point(!) by using Comsol Livelink Matlab
Posted 04.12.2018, 20:05 GMT-5 Low-Frequency Electromagnetics, LiveLink for MATLAB 2 Replies
Please login with a confirmed email address before reporting spam
Hello guys,
I read almost all comsol livelink user's guide, and had a research online about it but i dont see anything about that.
I created a 2D model in Matlab Livelink. And in my geometry, i have square, array and a point. I just want to assign a voltage value to that spesific point but all the time it directly assign to the boundary. The number of point is 12 and when i wrote pot1 = ec.feature.create('pot1','ElectricPotential', 1); pot1.selection.set(12); this, it shows 12th boundary. I look after the syntax for usage of set, create, feature but i dont have any information. I find https://www.comsol.com/blogs/manually-work-entity-numbers-selections/ https://www.comsol.com/blogs/automatically-handling-selections-comsol-multiphysics/ this series but it didnt answer my question actually. When i create entity and try to use for example domain, it didnt work like what i expected to see. Any thoughts please?