Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 5773

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

$
0
0

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


Viewing all articles
Browse latest Browse all 5773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>