Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
current in 1D element
Posted 25 mar 2013, 09:35 GMT-4 Low-Frequency Electromagnetics Version 4.3 9 Replies
Please login with a confirmed email address before reporting spam
I have a network of 1D elements and I have modeled the current flow inside them using Coefficient from edge PDE. So after running the model I have the voltage in all the structure as shown in the picture.
now I need to calculate current in each branch of the structure. I'm wondering how I can do this. I know that current can be shown in a plot by:
sqrt(uTx^2+uTy^2+uTz^2)/(rho/A)
in which uTx,y,z are the voltage gradient and rho is the resistivity and A is the area of the cross section of each line.
but how can I derive the values?
Thanks a lot
Attachments:
Please login with a confirmed email address before reporting spam
Thanks in advance
Please login with a confirmed email address before reporting spam
you have also the "arrow lines" you could try
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
I really appreciate your help in this forum. It already has helped me a lot when I am reading other posts with your commetns on them.
I used arrow lines. it was good for showing the current direction. however I want to do something similar to line integration that is used to get the total heat flux in 2D, for example here:
www.youtube.com/watch?v=N784M5Mkp0o
I want to do the same, how ever on the boundary points to get the total current.
Thanks again
Ehsan
Please login with a confirmed email address before reporting spam
what do you mean by "derive it"? Would you like to export the data as txt file, display the values graphically ... ?
Please note that tangential derivatives are not defined in points but only on edges, because points have no tangent.
There is however a way to derive the current in a point "on the side of a neighbroung edge".
Take for instance in the model I sent earlier and attach here again point 7. It is connected to the edges 10, 12 and 7.
If you want to know the current in point 7 on the side of edge 12, you can access that by using a point evaluation for the expression
side(12,sqrt(uTx^2+uTy^2+uTz^2))*(rho/A)
I have addeed that to the file attached. Hope that helps.
Sven Friedel
Attachments:
Please login with a confirmed email address before reporting spam
I need to get the total current in the structure.
I can do it by exporting the data of the arrow lines plot (for the edges connected to the boundary points) but I have to choose them manually, which is not actually practical when I go to my bigger models.
So the best choice(in my opinion) is to choose the same nodes of the constraint(u-1 or u-0) and find the total current. However I'm not sure if this is the right way.
Thanks again for your help,
Ehsan
Please login with a confirmed email address before reporting spam
so I can use it automatically for a set of points.
By the way, I have searched a lot to find a list of these kind of expressions. Are they listed somewhere in the documentations.
Thanks a lot
Please login with a confirmed email address before reporting spam
Sven
Where is "side()" documented ? I have noticed that there are quite some goodies under the hood not really documented yet ?
__
Having fun Comsoling, mostly ...
Ivar
Please login with a confirmed email address before reporting spam
side is one of my favourites recently. It will be in the doc 4.3b shortly, I heard.
Sven
Please login with a confirmed email address before reporting spam
I tried to invent somethings like side(:,sqrt(uTx^2+uTy^2+uTz^2))*(rho/A) to get the current in all the connected edges but they don't work(obviously).
However thanks for your help.
Ehsan
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.
