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?
Posted 14 set 2018, 10:50 GMT-4 Modeling Tools & Definitions, Studies & Solvers, Equation-Based Modeling Version 5.3a 1 Reply
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