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 do I run my simulation for a long time?

Please login with a confirmed email address before reporting spam

The system describes capillary flow up a microchannel.

Everything seems to be working fine until I increase the max time bound to 5 seconds instead of 0.3 seconds, at which point I get an inconsistent initial conditions error and an error about producing complex numbers. Is there something I can do to the time step function or maybe use a different scheme to solve it? I'm at a loss for what I can do to solve the system for anything longer than 0.3 seconds. I was thinking of successively solving my system by saving the state of the system every 0.3 seconds and loading that into the next simulation, but I don't know how to do that and it also seems like an unnecessarily long process.

Also, isn't there a way to adaptively change the step size? I learned about this in my undergrad with dormand-prince, but using dormand-prince for my solver gives me different kinds of errors and those have also led to dead ends.

Thanks,

Rick P.

1 Reply Last Post 02.03.2017, 01:25 GMT-5
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 02.03.2017, 01:25 GMT-5
Hi,

Please check out the discussion in www.comsol.com/community/forums/general/thread/108101

Regards,
Henrik
Hi, Please check out the discussion in https://www.comsol.com/community/forums/general/thread/108101 Regards, Henrik

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.