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

Using a Probe Value for a Stop Condition

$
0
0
Hello fellow COMSOL users.

Can someone refer me to a model or tell me how to solve my problem.

In a system undergoing resistive heating I want to use the calculated resistive energy as the stop condition for a resistive heating step. The User Manual talks about using Probes to monitor the development of a scalar quantity and says that a Probe variable can be used as a stop condition.

In order to test the concept I developed the attached simple 2D case. It is easy enough to keep track of the resistive power by volume integrating ec.Qrh and calling it POWER. Next, I tried to keep track of resistive energy by setting up a Global Variable Probe and defining it as the time integral of power (timeint(0,t,POWER)).

When I ran the Study I received the warning that the time integral operator cannot be used in this context. Nevertheless, the resulting table looked OK. It is clear that I need help!

Also, I don’t have to be precise with regard to the stopping point. I can always control my time steps to have them close to each other within my time zone of interest.

So here is my two part question: How should I keep track of resistive energy and how do I use it as a stop condition?

Any help will be greatly appreciated.

Joe Williams

Viewing all articles
Browse latest Browse all 26527

Trending Articles