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.
3D Poisson equation problem coupled with Nernst-Planck equation
Posted Nov 21, 2012, 12:30 AM EST Chemical Reaction Engineering, Studies & Solvers Version 4.3, Version 4.3a 5 Replies
The source term in Poisson equation is the difference between cations and anions.
Usually, the difference should be zero due to the electroneutrality. In some conditions, it would be not.
My problem is that, when I used 2D model, the simulation converged even with a coarse mesh. When it comes to 3D situation, it no longer converged, no matter how fine the mesh is.(as far as I think, the mesh is fine enough)
The error is as below:
Failed to find consistent initial values.
Segregated group 1
Undefined value found.
Undefined value found in the stiffness matrix..
For mesh-case 1 there are 111061 equations giving NaN/Inf in the matrix rows for the variable mod1.H.
and similarly for the degrees of freedom, NaN/Inf in the matrix columns.
Last time step is not converged.
I'm not clear about the numerical methods. It seems that the solving processes of 2D and 3D are quite different. 3D used segregated groups, which is not shown in 2D process.
I need your help.
Thanks in advance.
Hello Mingjie Jia
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.