Discussion ClosedThis 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.

Limits on a Dependent Variable

Please login with a confirmed email address before reporting spam

Hi,

I have a relatively simple question that I couldn't find an answer for in the forums. I am using the General Form PDE mode to solve for a dependent variable, u. From the physics of the problem, I know that the value of u cannot exceed a certain value, say u_max. However, due to numerics, I obtain values larger than this maximum value which is unrealistic. Furthermore, those values cause roots of negative numbers etc that lead to further numerical instabilities in the solver. While I can use expressions such as (u_max+(u-u_max)*(u
Regards,
-Alper

1 Reply Last Post 2011年5月11日 GMT+2 18:10
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年5月11日 GMT+2 18:10
Hi

you have an interesting remark there.

I know about the limits you can impose on variables in the optimisation module, but not for the general PDE solver.

I agree that this could be useful, from the external physicist / engineer point of view (we might know that for a given case i.e. complex or negative solutions are non-physical, COMSOL not , today),

Now I'm not sure it's that trivial from the math / computational point of view

--
Good luck
Ivar
Hi you have an interesting remark there. I know about the limits you can impose on variables in the optimisation module, but not for the general PDE solver. I agree that this could be useful, from the external physicist / engineer point of view (we might know that for a given case i.e. complex or negative solutions are non-physical, COMSOL not , today), Now I'm not sure it's that trivial from the math / computational point of view -- Good luck Ivar

Note that while COMSOL employees may participate in the discussion forum, COMSOL®software users who are on-subscription should submit their questions via theSupport Centerfor a more comprehensive response from the Technical Support team.

Baidu
map