CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   problems simulation ideal gas, divergence in AMG S (http://www.cfd-online.com/Forums/fluent/37970-problems-simulation-ideal-gas-divergence-amg-s.html)

 Ralf Schmidt September 22, 2005 03:10

problems simulation ideal gas, divergence in AMG S

Hi!

I have a 3D Simulation with an incompressible gas that runs pretty good. The gas velocity is low (about 4 m/s) at a Temp. of 300 K. Now I am turning on the ideal gas law â€" with energy equation â€" and initialize the same simulation again. Following error appears:

"absolute pressure limited to 1.000000e+00 in 467560 cells on zone 2"

and then, when I begin iterating it says something like:

"temperature limited to 1.000000e+00 in 160 cells on zone 2 in domain 1" absolute pressure limited to 1.000000e+00 in 7 cells on zone 2 turbulent viscosity limited to viscosity ratio of 1.000000e+05 in 13 cells"

and after 3 or 4 iterations :

"divergence detected in AMG solver: temperature Primitive Error at Node 0: floating point exception"

And that's it! What is the problem??? The geometry is not so complex. I had almost the same error in a totally different geometry&hellip;

How can I avoid this error???????

Any help is highly appreciated

 zxaar September 22, 2005 03:20

Re: problems simulation ideal gas, divergence in A

r u not running this with coupled solver ?????

 Ralf Schmidt September 22, 2005 03:53

Re: problems simulation ideal gas, divergence in A

You are right, I was using the segregated solver&hellip;

Now I was trying with coupled solver. But implicit as well as explicit are giving similar results&hellip; Fluent is not even iterating any more&hellip; before the first iteration finished it exits. Even when turning the currant number from 1 to 0.1

 Ahmed September 22, 2005 05:09

Re: problems simulation ideal gas, divergence in A

How about increasing the limits? Even if these limits are beyond what you expect in your physical domain, just remember this is a numerical simulation and during the convergence process a lot of things take place that might lead to these high pressure or temperature values.

 zxaar September 22, 2005 05:52

Re: problems simulation ideal gas, divergence in A

its difficult to say much from this side, but if you can get some solution without turbulence model on. and if you see some convergence then it is clear that making the turbulence model on, is cousing the problem. Since it write the warnign about viscosity ratio . I were you, i could have tried this:

Save the initial guess, from incompressible converged solution, then go to the compressible version, and use very conservative urf for k, e, around 0.5, and 0.2 for viscosity. Then go the control, multigrids, change the cycle type to W for k and e. increase the post interations for fixed cylce for fixed cycle to 3-4, and increase the flex clcyle post interations to 3 from 1.

(if you wish you can change cycle type of pressure to W also from V)

Now we have a very conservative solution approach, (use first order schemes for momentum and k and e in the start of iterations, you can later on switch to second order schemes).

even after that you do not get the convergence, we might have to look into whole case again

 Ralf Schmidt September 22, 2005 07:05

Re: problems simulation ideal gas, divergence in A

Hi!

I made all the settings you suggested, set the viscous model to laminar, set the limits to there maximum and used seg. as well as coupl expl and impl. solver. Also courrent number is set to 0.1.

But only the segr. solver seems to give one iteration, the others are stopping in the first iteration. Might it be a different kind of problem?? There is no floating point error or something. What happened is that in the first iteration the "connection is refused" to the computer. So could this be the problem???

Ralf

 zxaar September 22, 2005 07:59

Re: problems simulation ideal gas, divergence in A

i do not think that u r doing the parallel calculations. Yes if it is still giving this problem then there might be some set up problem, i am not sure what but it definitely means probs other than solver. Because as a solver fluent is very robust, i am not able make it diverge till now on any case properly set up (this means that i have made the case to diverge with same settings on other solvers like starCCM+). it does not soun like solver prob.

 Mahesh September 23, 2005 01:24

Re: problems simulation ideal gas, divergence in A

If the flow is not compressible, why r u using ideal gas, use incomp.ideal gas either.

 Ralf September 25, 2005 16:23

Re: problems simulation ideal gas, divergence in A

This is just the first step... For the simulation of my experiments incompressible gas without temp. changes is enought.

For simulating the real cases, temp. changes and pressure is quite important. So i am stll on it... will report on my progress. Ralf

 Ralf Schmidt September 27, 2005 06:06

Re: problems simulation ideal gas, divergence in A

I got it!!

The problem was either that I separate my geometry in two half (partitioning) or (and that's more likely) that I set the reference pressure to 0&hellip;

That works fine for incompressible simulation returning the pressure I need for calculations&hellip; But â€" and I admit that was pretty stupid â€" not for compressible of course&hellip; Now it seems to work&hellip; but Fluent failed to allocate memory&hellip; that's another problem&hellip;

Thanks so far for your help!

Ralf

 Hyde October 1, 2005 13:19

Re: problems simulation ideal gas, divergence in A

Go to solve-> controls -> limits. Change the minimum limits to 1kpa for pressure and 298 (or sth) for temperature and run it for some simulations. Then switch back to the defaults later on. It takes some time to adjust to physical solution.

Hyde

 Hyde October 1, 2005 13:21

Re: problems simulation ideal gas, divergence in A

Goof up. I mean run it for some iterations. EOM

 All times are GMT -4. The time now is 08:11.