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.

Memory not released in COMSOL 3.5a

Please login with a confirmed email address before reporting spam

Hi,

I'm trying to solve the lubrication equation (time dependent 4th order nonlinear PDE solved as a system of 2 nonlinear PDEs) using the General equation form in COMSOL 3.5a. the geometry is a simple droplet on a surface that results in around 30,000 DOF (quadratic elements). After initilization, the model solves ok up until higher times (~350, in steps of 0.1)where it gives me an <out of memory error> or <failed to find initial conditions>.

When looking at the task manager while the solution takes place it seems that COMSOL's memory consumption increases with time stepping until it reaches a max value (say 1.4GB in my computer) before failing. This memory does not get released by the program and restarting comsol becomes neccessary.

Has any one encountered this problem before? the program seems to work fine if other modulues are used (such as fluid flow).

Kind regards,
Laith

5 Replies Last Post 2010年4月22日 GMT-4 14:42
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 2010年4月21日 GMT-4 01:57
Hi

As a general rule for myself, on MS windos and UX, one done major solve, I always restart comsol as memory gets fragmented and the OS + programme does not manage to compress it without a restart, luckily 3.5 start quickly
Have fun Comsoling
Ivar
Hi As a general rule for myself, on MS windos and UX, one done major solve, I always restart comsol as memory gets fragmented and the OS + programme does not manage to compress it without a restart, luckily 3.5 start quickly Have fun Comsoling Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2010年4月21日 GMT-4 15:51
Thanks for the comments Ivar. is there any reason why the memory quickly climbs up in my case? I tried solving other problems using the predefined models (such as the static mixer problem) and I don't get memory issues. when looking at the task manager the memory usually increases and decreases as the solution takes place, my memory only increases!

in terms of the solution it does converge pretty quickly so I'm having difficulties pinning down the cause of the issue.

Thanks again for the help!

Laith
Thanks for the comments Ivar. is there any reason why the memory quickly climbs up in my case? I tried solving other problems using the predefined models (such as the static mixer problem) and I don't get memory issues. when looking at the task manager the memory usually increases and decreases as the solution takes place, my memory only increases! in terms of the solution it does converge pretty quickly so I'm having difficulties pinning down the cause of the issue. Thanks again for the help! Laith

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 2010年4月21日 GMT-4 16:32
Hi

sometimes the plot while solving or the probe plots might help to identify what is going wrong, there is also the log file that sometimes gives you a clue

I do not have many other comments for your case, unfortunately

Goog luck
Ivar
Hi sometimes the plot while solving or the probe plots might help to identify what is going wrong, there is also the log file that sometimes gives you a clue I do not have many other comments for your case, unfortunately Goog luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2010年4月22日 GMT-4 13:10
Hi,

To minimize such effect you can use the option in : solver parameter -> advanced ->store solution on file.

I hope it helps

Cheers
Hi, To minimize such effect you can use the option in : solver parameter -> advanced ->store solution on file. I hope it helps Cheers

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2010年4月22日 GMT-4 14:42
Hi Faycal,

Yea I managed to find this in the help files yesterday, it certainly solved the issue. Thanks very much!

Laith
Hi Faycal, Yea I managed to find this in the help files yesterday, it certainly solved the issue. Thanks very much! Laith

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.