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.

User Defined Constraint Type in Weak Form Boundary Application Mode

Please login with a confirmed email address before reporting spam

Hi everyone,

I am trying to calculate the surface charge density at an interface using the weak form boundary application mode where rho_p is the dependent variable. As I am trying to calculate the positive charge density, the value cannot go negative (rho >= 0). Can I enforce this constraint using the constraint type "user defined" and if so, how would you do this? Or is there an easier way to do this? I have looked for information on the user defined constraint type but have not found anything. Any help would be greatly appreciated.

Cheers,
George

0 Replies Last Post Jul 1, 2009, 3:26 PM EDT
COMSOL Moderator

Hello George Hwang

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.