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.

How to update parameter value at each step in COMSOL solver?

Please login with a confirmed email address before reporting spam

Dear community,

I have a numerical problem I am trying to solve where I have to replace a variable inside my PDEs with an integral value calculated at each time step of the numerical procedure.

So, call my variable parameter x and call the field i am solving for Y.

I need to make sure that at each time step of the relaxation procedure x is replaced by Q/Integral (Y^2) over the domain, where Q is a constant I set. Convergence will then have a solution with an x that respects Q = x * int(Y^2).

Is there a way I can do this in COMSOL?

I apprecieate your help!

Gianni


1 Reply Last Post 15.09.2018, 11:39 GMT-4
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 15.09.2018, 11:39 GMT-4

Gianni,

maybe an integration coupling operator in the respective domain can solve the problem.

Cheers Edgar

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Gianni, maybe an integration coupling operator in the respective domain can solve the problem. Cheers Edgar

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.