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.

Help on COMSOL Mathematics interface

Please login with a confirmed email address before reporting spam

Dear all,

I need to solve a Poisson equation in which the right hand side (RHS) equals a function containing a conditional statement in terms of the solution itself. To summarize everything, it's the equation for elasto-plastic torsion of prismatic bars. However, because the RHS is lengthy, I choose to give a similar (but simplified) example of the equation as follows;

Laplacian(u) = f0+f1 over a square domain (0<=x<=1, 0<=y<=1), where f0 is a constant and
f1=du/dx+du/dy when u<c0
f1=(du/dx+du/dy)^2 when u>=c0
where c0 is a constant.
Note: In the first iteration, I need to apply small value for f0 while keeping f1 = 0. After solving for u, I will then need to add an increment to f0 and use the previous value of u as my c0 in the current step. This is how I need to continue until the final value of f0 is reached.

Please how should I define such a condition in the PDE interface in COMSOL to solve the equation?
Thank you in advance for your anticipated help.

Best regards,
Faisal

0 Replies Last Post 21.10.2016, 10:14 GMT-4
COMSOL Moderator

Hello F. Mukhtar

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.