|
[Sponsors] |
August 10, 2012, 13:21 |
Solver Overflow
|
#1 |
New Member
ZS
Join Date: Mar 2009
Posts: 24
Rep Power: 17 |
Dear All,
I was simulating a multiphase case of a boat free to heave and pitch with the homogenous multiphase model. When I use the results with the homogenous model as initial conditions for the non-homogenous model case, the simulation ends with the linear solver overflow error. The problem shows itself in the monitors as a sudden decrease in the residuals (continuity and momentum terms). Also, while postprocessing, I have noticed substantial increase in velocity in a single cell along the boundary layer of the hull. So far, I have tried variations in time step, different turbulence models, different meshes and varying some parameters in the turbulence modelling. I am not intending to try lower degree discretization or coarser meshes. The model has no interfaces in it and I'm using k-e as turbulence model. There is a sink term along the hull to prevent air entrapment (removing the term does not help). I read through the older threads and seen that this is a common error and there is an faq about the subject. But in this case, it seemed to me as a local problem rather than a general tendency of divergence in the flow field. Has anyone came across to something similar or has an idea about what's going on? |
|
August 12, 2012, 08:05 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
Sounds strange. But I would be looking at your mesh quality in that area as a first guess.
|
|
August 13, 2012, 10:25 |
|
#3 |
Member
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 14 |
Try the same simulation with a coarser mesh to see what happens...
|
|
August 13, 2012, 13:00 |
|
#4 |
New Member
ZS
Join Date: Mar 2009
Posts: 24
Rep Power: 17 |
Ok, but may I ask what sort of benefit would we get if the solver does not fail on a coarser mesh?
|
|
August 13, 2012, 14:31 |
|
#5 |
Member
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 14 |
If it works, then maybe the problem is with the mesh itself.
You see, if you have the same conditions with different meshes, one works, the other doesn't... so you have an initial guess of where the problem might be. Have you noticed if the iterations go further with different timesteps? Maybe an adaptive condition? EDIT: Another thing you should try is to modify the solver Memory Allocator Factor... try increasing it to something like 4 or whatever suits you. You could do this by editing the advanced controls at the beginning of your run settings. Last edited by Felggv; August 13, 2012 at 15:08. |
|
August 14, 2012, 06:06 |
|
#6 |
New Member
ZS
Join Date: Mar 2009
Posts: 24
Rep Power: 17 |
The iterations may go further if the time step is reduced. I could go up to a maximum of around 250. With a higher time-step it takes only a few iterations to diverge...
What sort of benefit would I get from increasing the solver memory allocation factor? |
|
August 14, 2012, 09:06 |
|
#7 |
New Member
Join Date: Jul 2012
Location: Germany
Posts: 23
Rep Power: 13 |
||
August 14, 2012, 09:31 |
|
#8 |
Member
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 14 |
Maybe it's running out of memory or something like that, happened with me here once.
|
|
August 14, 2012, 10:06 |
|
#9 |
New Member
ZS
Join Date: Mar 2009
Posts: 24
Rep Power: 17 |
I found the exact same document after your post and surprisingly it works!!!
Although there is sufficient memory available (32 GB), it has to be manually allocated to the solver even on a 64 bit system and double precision case to prevent integer overflows. Thank you so much Felggv for the recommendation. Maybe this is worth adding to the FAQ on solver overflow... |
|
August 14, 2012, 19:16 |
|
#10 | |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
Quote:
|
||
August 15, 2012, 09:51 |
|
#11 |
Member
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 14 |
I'm struggling to run a simulation using a 4cm element size... I've been running it with the 4 cores of a i5 processor, it's the best I have here.
Monitoring it, I've seen it working at 100% CPU and almost 4GB RAM. If I don't set these conditions it overflows. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fatal overflow in linear solver error. Why? | zaidun | CFX | 7 | August 11, 2016 05:59 |
ERROR #004100018; Fatal overflow in linear solver | Attila | CFX | 1 | April 13, 2012 22:22 |
Using a user-defined solver in OF | ozzythewise | OpenFOAM Running, Solving & CFD | 3 | February 8, 2011 15:28 |
Overflow in linear solver | Zaktatir | CFX | 0 | January 11, 2010 04:02 |
desperate Fatal overflow in linear solver - transient | kingjewel1 | CFX | 9 | January 5, 2010 13:53 |