Hello Elmer users,
I calculated a current density along a gold bar with Elmer. I would like to know if it would be possible to calculate the current which goes out of the bar by doing the integral of the current density of a surface.
Thank you.
Surface integral
-
- Site Admin
- Posts: 4832
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: Surface integral
Hi
I don't know how you computed the current density. However, you could use "SaveScalars" with operator "diffusive flux" for potential directly, or "convective flux" with the already computed flux. You could also set "Calculate Loads" in the solver section to get nodal currents and use "boundary sum" operator of SaveScalars. Computation of fluxes in general is one of these reoccurring questions that can be solved in the same way for many of the equations. So try searching for more detailed information on the above keywords on the forum or in Elmer documentation.
-Peter
I don't know how you computed the current density. However, you could use "SaveScalars" with operator "diffusive flux" for potential directly, or "convective flux" with the already computed flux. You could also set "Calculate Loads" in the solver section to get nodal currents and use "boundary sum" operator of SaveScalars. Computation of fluxes in general is one of these reoccurring questions that can be solved in the same way for many of the equations. So try searching for more detailed information on the above keywords on the forum or in Elmer documentation.
-Peter