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

Time step dependent on a variable

$
0
0

Hello, I am currently dealing withabout the storage of time steps in time-dependent simulations. In my model, charging and uncharging processes occur. The beginning and end of the phases are controlled by the "event" physics and depend on the value of a variable. Unfortunately, the duration of the phases differs (the charging phase are about 1h, the discharging about 1min). For this reason, the time-dependent solver only works if I specify a small maximum time step of 20 seconds.As a result, the calculation takes much longer than it should and unnecessary data is stored.

Is there therefore a way to set up the time steps to be saved/calculated depending on a variable?

Thanks Stefanie


Viewing all articles
Browse latest Browse all 5773

Trending Articles



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