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.

Solving multi domain (different diffusivity) Poisson-Nerst-Planck equation

Please login with a confirmed email address before reporting spam

Hello all,

I am trying to solve multi domain (diffusivity is different from each region for c1, c2) Poisson-Nernst-Planck equation.
In order to do this, I am coupling electrostatic(es) module and Transport dilute species (tds) module.
In the case of dielectric constant, I can set different value by using 'from material'.

However, in the case of diffusivity, I cannot set each region different from each other.
I also tried using two (tds) module, however, I cannot converge them.
I always end up with the error 'Undefined variable.' and 'Failed to evaluate Jacobian of expression.'

Does anyone has good idea how to deal with this issue!?

2 Replies Last Post 2016年5月26日 GMT-4 14:07

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 2016年5月26日 GMT-4 06:14
Under tds module, define another "Transport properties" item and assign the other D value there.

BR
Lasse
Under tds module, define another "Transport properties" item and assign the other D value there. BR Lasse

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 2016年5月26日 GMT-4 14:07
Thank you!

Now it works :)
Thank you! Now it works :)

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.