Integration of Current Density

Hi all!
In Simlab, I have made a flow simulation with electrical effects. The output includes the current density. However, I am interested in the total current through a surface. In theory, the current is the integral of the current density over the surface elements of a surface. Similar integration must have already been built into Simlab, to calculate heat flux, for example. So I assume there is a way to integrate current density as well, but I have not found any.
Is there a way to calculate the total current through a surface? If User-defined response is the right function, how to write a code for integration which works in Simlab? Or should I use an alternative solution?
Best Answer
-
The Surface Integrated Output variables list does include total_current. If you right-click Results under the Solution and select Plot Convergence - if you expand Surface Output, then your surface of interest, then Electric Potential, then right-click total_current and Plot.
0
Answers
-
The Surface Integrated Output variables list does include total_current. If you right-click Results under the Solution and select Plot Convergence - if you expand Surface Output, then your surface of interest, then Electric Potential, then right-click total_current and Plot.
0 -
I didn't think of checking under Plot Convergence. But the total current is there. Thanks for your help!
0