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

How to Assign a Electric Potential to a Point(!) by using Comsol Livelink Matlab

$
0
0

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?


Viewing all articles
Browse latest Browse all 5773

Trending Articles



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