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.

Saving only few variables/expression values as per solver time steps in transient runs

Please login with a confirmed email address before reporting spam

Hi Everybody,

I am solving a transient analysis. The time step taken by solver is very small as compared to time step I specify in the time stepping option.

If I sample the variables as per solver time step, the solution is terminated giving the insufficient memory error. Is there any way to save only few selected time dependent variables/expression values as per solver time steps and remaining as per specified time steps?

Please share your expertise.

Thanks in advance,
Rakesh

2 Replies Last Post 23.04.2010, 08:20 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 23.04.2010, 04:11 GMT-4
or you can try: solver parameter -> advanced ->store solution on file
or you can try: solver parameter -> advanced ->store solution on file

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 23.04.2010, 08:20 GMT-4
Hi

Storeing the solution would (normally) free some ram but does not change the number of (internal) steps

I would suggest to try to learn how to use "Solver Parameters - Time stepping tab" "Time steps taken by solver" the default "free" is sometimes too free, try an "intermediate", or a "strict "= only youre time steps.

but do not forget that COMSOL is also tracking gradients/slopes, there are a couple of pages to read in the doc concerning this.

I agree there are very many pages to read in the doc (if you go from a-z), but by taking a few chapters at a time when you encounter issues like this, makes it farmore digest. I use an indexed search to identify in which files I find what.

have fun Comsoling
Ivar
Hi Storeing the solution would (normally) free some ram but does not change the number of (internal) steps I would suggest to try to learn how to use "Solver Parameters - Time stepping tab" "Time steps taken by solver" the default "free" is sometimes too free, try an "intermediate", or a "strict "= only youre time steps. but do not forget that COMSOL is also tracking gradients/slopes, there are a couple of pages to read in the doc concerning this. I agree there are very many pages to read in the doc (if you go from a-z), but by taking a few chapters at a time when you encounter issues like this, makes it farmore digest. I use an indexed search to identify in which files I find what. have fun Comsoling Ivar

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.