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.

Set an average flux boundary condition (to ultimately determine current density distribution)

Ruwani Wasalathanthri

Please login with a confirmed email address before reporting spam

Hi all,

I am using the basic COMSOL package (no additional modules) and am trying to determine the current density distribution for an electrodeposition reaction on a complex geometry. Using Fick's second law, I am tracking the flux of my metals ions (which is related to the current density).

In order to determine the current distribution at the electrode, I would like to specify a total or average current for the electrode and then let the solver determine how to distribute it. Are there any recommendations on how best to do this? Should I be using the aveop1() or intop1() functions on my diffusion flux? How do each of these functions work, such that I can be sure it is doing what I hope it is doing?

Many thanks,
Stephen

0 Replies Last Post 18 feb 2014, 12:26 GMT-5
COMSOL Moderator

Hello Ruwani Wasalathanthri

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.