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

Fatal overflow in linear solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2013, 16:01
Default Fatal overflow in linear solver
  #1
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Hi,

I am simulating air flow around a turbine blade. I can obtain the solution when turbulence model is set to K-epsilon and K-Omega. When I want to run the case with SST, I receive the following error message. The solver crashes in the very first iteration.
The simulation is steady state. I have reduced the timescale factor to 1e-6 and moved the boundaries away from the blade and also increased the memory allocation factor.

p, li { white-space: pre-wrap; } +--------------------------------------------------------------------+
| ERROR #004100018 has occurred in subroutine FINMES. |
| Message: |
| Fatal overflow in linear solver. |
+--------------------------------------------------------------------+


Any suggestions?


Thanks
alinik is offline   Reply With Quote

Old   September 28, 2013, 14:27
Default
  #2
Member
 
Mohamad Alagheband
Join Date: Oct 2012
Posts: 41
Rep Power: 14
MUMMED is on a distinguished road
if your mesh is quite fine ,try changing relaxation factors.
I've got this problem,different case ,after changing relaxation factors in expert parameter it started to run
MUMMED is offline   Reply With Quote

Old   September 30, 2013, 10:42
Default
  #3
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
Did you try with local timescales?
oj.bulmer is offline   Reply With Quote

Old   September 30, 2013, 19:21
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
This is an FAQ: http://www.cfd-online.com/Wiki/Ansys...do_about_it.3F
ghorrocks is offline   Reply With Quote

Old   October 9, 2013, 03:39
Default
  #5
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Thanks,

I fixed that issue for steady state case. Now that I want to solve the case for transient case I receive the exact same error again. Now what I can do?
I have tried decreasing time step size and used the steady case solution for initializing the domain.
Generally what should one do when encountered by this error in transient simulations? We do not have physical timescales any more to play with to overcome this error and obtain solution.
alinik is offline   Reply With Quote

Old   October 9, 2013, 03:49
Default
  #6
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Quote:
Originally Posted by MUMMED View Post
if your mesh is quite fine ,try changing relaxation factors.
I've got this problem,different case ,after changing relaxation factors in expert parameter it started to run

Thanks. I solved this issue for steady case but still have problem in unsteady case. Where in expert parameters I can set underrelaxation factor? I cannot find it.

Btw what is the difference between underrelaxation factor and physical timescale for steady simulation?

Thanks
alinik is offline   Reply With Quote

Old   October 9, 2013, 06:39
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
Generally what should one do when encountered by this error in transient simulations?
Ummm - did you read the FAQ link I posted? The only difference for a transient simulation is you decrease the actual timestep size rather than the pseudo timestep size. Other than that it is all the same.

Quote:
Generally what should one do when encountered by this error in transient simulations?
That is because CFX is not a SIMPLE based solver where the first thing you do when you have convergence difficulties is reduce the under relaxation factors. You do not adjust under relaxation with CFX, rather you adjust the time step size.
ghorrocks is offline   Reply With Quote

Old   February 19, 2016, 05:05
Default Fatal over flow error
  #8
New Member
 
Join Date: Feb 2012
Posts: 14
Rep Power: 14
dengemunzur is on a distinguished road
Hi,

I am trying to simulate an axial flow turbine rotor in CFX. I used Meshing tool to generate mesh. A fully hexagonal mesh has been generated. In CFX Solver, after 20-25 iterations simulation diverges giving "fatal over flow error in linear solver."

A steady state analysis, and I used SST turbulence model. I tried different time scales, but could not overcome the the divergence problem. Also, I tried to improve mesh quality. With different mesh spesifications, I got the same error.

Any suggestions?

Thanks
dengemunzur is offline   Reply With Quote

Old   February 19, 2016, 05:23
Default
  #9
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 413
Rep Power: 13
-Maxim- is on a distinguished road
Have you tried all the other things mentioned here?
Quote:
Originally Posted by ghorrocks View Post
If yes, post pictures of your setup, your mesh and your out-file.
-Maxim- is offline   Reply With Quote

Old   February 19, 2016, 05:56
Default Fatal
  #10
New Member
 
Join Date: Feb 2012
Posts: 14
Rep Power: 14
dengemunzur is on a distinguished road
Hi Maxim,

I have checked and tried most of them but transient simution. I will run a transient simulation in order to determine an appropriate time scale. Then I will let you know.

In my previous studies the simulations converged. When I changed the tip clearance of squealer geometry, I encoundered this divergence problem. I checked if it is related to the geometry, but I havent found anything related to the geometry.

Thanks
dengemunzur is offline   Reply With Quote

Old   February 26, 2016, 05:49
Default Fatal over flow error
  #11
New Member
 
Join Date: Feb 2012
Posts: 14
Rep Power: 14
dengemunzur is on a distinguished road
Hi Maxim,

I tried different time scales and meshes for the calculations.

I thought it may be due to min value of "Orthog. Angle", therefore I tried to improve the mesh. Min "Orthog. Angle" has been increased up to 32 deg. However, it did not help to converge.

Then I used various physical time steps. I ended the analysis before it diverges to see what is wrong. Max value of the Courant number is too high. I have read that there is o requier Courant number to be small. But, I reduced the time scale considerably to reduce the Courant number. After that I noticed that run diverges later. After some runs, I had a solution without energy equation to see the results were acceptable. Generally the results are ok but some total pressure distributions are not physically acceptable. I carried on the run.

(By the way, the number of elements in my cases are quite high to keep the y plus values at acceptable levels)

Do you think it is all about Courant number for a steady state analysis?

thanks
dengemunzur is offline   Reply With Quote

Old   February 26, 2016, 05:57
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
Do you think it is all about Courant number for a steady state analysis?
Courant number is just about irrelevant for steady state analysis. CFX is an implicit solver and does not have a Courant number requirement like explicit codes do. So you use the largest time step which gives you a time accurate simulation (for transient simulations) or which converges well (for steady state simulations).

If you have:
* Checked your simulation is valid and correctly set up
* Made the time step very small
* Got the best mesh you can
* Tried double precision
* Use the best initial conditions you can

(these are all listed in the FAQ, of course)

If you have done all those things and it is still not converging then your only real option is to do a transient simulation and march it to steady state in a time resolved model. This is much slower, but convergence is much more reliable. Use adaptive time stepping homing in on 3-5 coeff loops per iteration so the solver can find its own time step size. Don't guess a time step size, you will invariably get it wrong - and don't limit the time step size the solver can use, if it needs a very big or small time step let it.
ghorrocks is offline   Reply With Quote

Old   February 26, 2016, 06:16
Default
  #13
New Member
 
Join Date: Feb 2012
Posts: 14
Rep Power: 14
dengemunzur is on a distinguished road
Hi Maxim,

I think I did the all steps. I tried to get a thinner boundary layer since very high velocity values near the suction side, at singular points.

I also tried transient simulations. With a few trials I achieved to reduce Courant number to acceptable levels which are given in CFX tutorials. But I could not get a solution. I will run some transient solutions.

Thanks
dengemunzur is offline   Reply With Quote

Old   February 26, 2016, 06:39
Default
  #14
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Don't use Courant number as a guide. As I said, Courant number does not have a major effect on implicit solvers. Use convergence and accuracy considerations instead.
ghorrocks is offline   Reply With Quote

Old   February 26, 2016, 07:18
Default
  #15
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 413
Rep Power: 13
-Maxim- is on a distinguished road
It seems that I am late to the party now - Glenn already pointed out the ideas/suggestions I would have had, too.

As far I as know, the Courant Number ideally should be below 30 but since it corresponds directly to your selected timestep, it doesn't help as a criteria for convergence.
I found some training material slides from ansys in the www - I hope I'm allowed to link it here. They talk about the Courant number and suggest typical values of 2-10.

But as Glenn said, the Courant number isn't important for steady-state simulations.

Maybe you can post your ccl and out files and we could have a look. I'm sure you started with Auto Timescale for your steady-state calculation and tried different factors?
-Maxim- is offline   Reply With Quote

Old   February 26, 2016, 07:44
Default
  #16
New Member
 
Join Date: Feb 2012
Posts: 14
Rep Power: 14
dengemunzur is on a distinguished road
Thanks Glenn.

I will run a transient simulation considering your suggestions.

Maxim, I started from auto time scale then tried various time scales.

I just ended a simulation. The simulation didnt diverge. A good point. But this time physical time scales is lower. Now, I will do some post process to see whether the results are acceptable or not.

thanks
dengemunzur is offline   Reply With Quote

Old   February 26, 2016, 09:03
Default Fatal over flow error
  #17
New Member
 
Join Date: Feb 2012
Posts: 14
Rep Power: 14
dengemunzur is on a distinguished road
Hi,

I am sending one of the out files. Physical time scale was 0.001 in this case.

Thanks
Attached Files
File Type: txt Fluid Flow CFX_010.out.txt (70.5 KB, 23 views)
dengemunzur is offline   Reply With Quote

Old   February 27, 2016, 04:26
Default
  #18
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You have some translational periodic interfaces. What are they doing? This seems unusual in a rotating machine simulation. Can you show your domain so I know where these periodic interfaces are located?

You should probably make your reference pressure 100000 [Pa] - 3595 [Pa], and use 0 [Pa] for your outlet pressure. This might reduce round off error.
ghorrocks is offline   Reply With Quote

Old   February 28, 2016, 08:24
Default
  #19
New Member
 
Join Date: Feb 2012
Posts: 14
Rep Power: 14
dengemunzur is on a distinguished road
Hi Glenn,

The outpuy file I sent belongs to a linear cascade arrangement, not annular cascade. In order to define flow direction, I used cylindrical coordinates. I got the velocity components from a rotating cascade to have an idea, not for a comparison. CFX makes the transformation of the components.

You can find the computational domain in the attachment.

I will try your suggestion.

Thanks for your consideration
Attached Images
File Type: png CFX Comp Domain and Modeling.png (135.8 KB, 49 views)
dengemunzur is offline   Reply With Quote

Old   February 28, 2016, 17:50
Default
  #20
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Are you sure you have that right? Why is the inlet using cylindrical coordinates to define the inlet flow when it is a linear blade cascade?

Does it converge when you run it entirely in cartesian coordinates?

This is looking like the XY problem: http://xyproblem.info/
ghorrocks is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal overflow in linear solver error. Why? zaidun CFX 7 August 11, 2016 06:59
time consuming of the linear solver luckycfd OpenFOAM Programming & Development 3 September 23, 2013 06:29
Use "bounded" in scheme or not to use? immortality OpenFOAM Pre-Processing 0 June 11, 2013 17:20
solution diverges when linear upwind interpolation scheme is used subash OpenFOAM 0 May 29, 2010 02:23


All times are GMT -4. The time now is 10:56.