CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

Solver Overflow

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 10, 2012, 13:21
Default Solver Overflow
  #1
New Member
 
ZS
Join Date: Mar 2009
Posts: 24
Rep Power: 7
ziyasaydam is on a distinguished road
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?
ziyasaydam is offline   Reply With Quote

Old   August 12, 2012, 08:05
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,377
Rep Power: 74
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Sounds strange. But I would be looking at your mesh quality in that area as a first guess.
ghorrocks is offline   Reply With Quote

Old   August 13, 2012, 10:25
Default
  #3
Member
 
Felggv's Avatar
 
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 4
Felggv is on a distinguished road
Try the same simulation with a coarser mesh to see what happens...
Felggv is offline   Reply With Quote

Old   August 13, 2012, 13:00
Default
  #4
New Member
 
ZS
Join Date: Mar 2009
Posts: 24
Rep Power: 7
ziyasaydam is on a distinguished road
Ok, but may I ask what sort of benefit would we get if the solver does not fail on a coarser mesh?
ziyasaydam is offline   Reply With Quote

Old   August 13, 2012, 14:31
Default
  #5
Member
 
Felggv's Avatar
 
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 4
Felggv is on a distinguished road
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.
Felggv is offline   Reply With Quote

Old   August 14, 2012, 06:06
Default
  #6
New Member
 
ZS
Join Date: Mar 2009
Posts: 24
Rep Power: 7
ziyasaydam is on a distinguished road
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?
ziyasaydam is offline   Reply With Quote

Old   August 14, 2012, 09:06
Default
  #7
New Member
 
Join Date: Jul 2012
Location: Germany
Posts: 23
Rep Power: 4
bratzinger is on a distinguished road
http://www1.ansys.com/customer/conte...20/ans_per.pdf
bratzinger is offline   Reply With Quote

Old   August 14, 2012, 09:31
Default
  #8
Member
 
Felggv's Avatar
 
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 4
Felggv is on a distinguished road
Maybe it's running out of memory or something like that, happened with me here once.
Felggv is offline   Reply With Quote

Old   August 14, 2012, 10:06
Default
  #9
New Member
 
ZS
Join Date: Mar 2009
Posts: 24
Rep Power: 7
ziyasaydam is on a distinguished road
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...
ziyasaydam is offline   Reply With Quote

Old   August 14, 2012, 19:16
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,377
Rep Power: 74
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Quote:
Maybe this is worth adding to the FAQ on solver overflow...
Please do.
ghorrocks is offline   Reply With Quote

Old   August 15, 2012, 09:51
Default
  #11
Member
 
Felggv's Avatar
 
Felipe Gobbi
Join Date: Apr 2012
Location: Brazil
Posts: 76
Rep Power: 4
Felggv is on a distinguished road
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.
Felggv is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Fatal overflow in linear solver error. Why? zaidun CFX 3 June 9, 2006 09:12


All times are GMT -4. The time now is 14:57.