- Thank you received: 0
Setting potentials
4 years 9 months ago #2398
by andrew22
Setting potentials was created by andrew22
I'm trying to set electrical potentials of conducting cylinders, using boundaries returned by mesh.GetBoundaries(). But this seems to return one less boundary than it should do. What am I doing wrong? Is there a better way to code this?
If everything were correct the cylinders shown by netgen would have uniform colours (yellow, red, blue).
Regards,
Andrew.
If everything were correct the cylinders shown by netgen would have uniform colours (yellow, red, blue).
Regards,
Andrew.
Attachments:
4 years 8 months ago #2431
by andrew22
Replied by andrew22 on topic Setting potentials
I worked out how to do this - eventually.
Working code attached.
Andrew.
Working code attached.
Andrew.
Attachments:
Time to create page: 0.098 seconds