CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

rhoSimpleFoam :: Maximum number of iterations exceeded

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 8, 2014, 08:18
Default rhoSimpleFoam :: Maximum number of iterations exceeded
  #1
Member
 
adarsh tiwari's Avatar
 
adarsh tiwari
Join Date: Feb 2014
Location: Bangalore
Posts: 42
Blog Entries: 5
Rep Power: 12
adarsh tiwari is on a distinguished road
Hi all,

I am trying to solve a case with time varying Boundary conditions using uniformValue and rhoSimpleFoam.

The input given for patches in p and T is in tabular form while the U is set as 'pressureInletVelocity'

It is solving upto 2 clock time while afterwards it says
Quote:
Time = 0.0003

DILUPBiCG: Solving for Ux, Initial residual = 0.416261, Final residual = 2.23461e-07, No Iterations 10
DILUPBiCG: Solving for Uy, Initial residual = 0.46579, Final residual = 9.685e-07, No Iterations 10
DILUPBiCG: Solving for Uz, Initial residual = 0.417807, Final residual = 2.21784e-07, No Iterations 12
DILUPBiCG: Solving for h, Initial residual = 0.558075, Final residual = 1.35032e-08, No Iterations 3


--> FOAM FATAL ERROR:
Maximum number of iterations exceeded

From function thermo<Thermo, Type>::T(scalar f, scalar T0, scalar (thermo<Thermo, Type>::*F)(const scalar) const, scalar (thermo<Thermo, Type>::*dFdT)(const scalar) const, scalar (thermo<Thermo, Type>::*limit)(const scalar) const) const
in file /home/opencfd/OpenFOAM/OpenFOAM-2.2.2/src/thermophysicalModels/specie/lnInclude/thermoI.H at line 76.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam222/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam222/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam::species::thermo<Foam::hConstThermo<Foam:er fectGas<Foam::specie> >, Foam::sensibleEnthalpy>::T(double, double, double, double (Foam::species::thermo<Foam::hConstThermo<Foam:e rfectGas<Foam::specie> >, Foam::sensibleEnthalpy>::*)(double, double) const, double (Foam::species::thermo<Foam::hConstThermo<Foam:e rfectGas<Foam::specie> >, Foam::sensibleEnthalpy>::*)(double, double) const, double (Foam::species::thermo<Foam::hConstThermo<Foam:e rfectGas<Foam::specie> >, Foam::sensibleEnthalpy>::*)(double) const) const in "/opt/openfoam222/platforms/linux64GccDPOpt/lib/libfluidThermophysicalModels.so"
#3 Foam::heRhoThermo<Foam::rhoThermo, Foam:ureMixture<Foam::constTransport<Foam::speci es::thermo<Foam::hConstThermo<Foam:erfectGas<Foa m::specie> >, Foam::sensibleEnthalpy> > > >::calculate() in "/opt/openfoam222/platforms/linux64GccDPOpt/lib/libfluidThermophysicalModels.so"
#4 Foam::heRhoThermo<Foam::rhoThermo, Foam:ureMixture<Foam::constTransport<Foam::speci es::thermo<Foam::hConstThermo<Foam:erfectGas<Foa m::specie> >, Foam::sensibleEnthalpy> > > >::correct() in "/opt/openfoam222/platforms/linux64GccDPOpt/lib/libfluidThermophysicalModels.so"
#5
in "/opt/openfoam222/platforms/linux64GccDPOpt/bin/rhoPorousSimpleFoam"
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7
in "/opt/openfoam222/platforms/linux64GccDPOpt/bin/rhoPorousSimpleFoam"
Aborted (core dumped)
I tried to resolve the issue using http://www.cfd-online.com/Forums/ope...implefoam.html

http://www.cfd-online.com/Forums/ope...implefoam.html

http://www.cfd-online.com/Forums/ope...-exceeded.html

http://www.cfd-online.com/Forums/ope...implefoam.html

but got the same results.

Now I changed the solver for 'p' from GAMG to DICPCG and next time to PCG (because I think that the problem is with 'p' only).

and still the same thing.

Please help me ASAP...

Thanks and Regards,
Adarsh Tiwari
adarsh tiwari is offline   Reply With Quote

Old   April 12, 2014, 01:56
Default
  #2
Member
 
Vojtech Betak
Join Date: Mar 2009
Location: Czech republic
Posts: 33
Rep Power: 18
betakv is on a distinguished road
Dear Adarsh,

rhoSimpleFoam is a steady-state solver. If you want use time varying boundary condition try to use rhoPimpleFoam
betakv is offline   Reply With Quote

Old   April 14, 2014, 01:32
Default
  #3
Member
 
adarsh tiwari's Avatar
 
adarsh tiwari
Join Date: Feb 2014
Location: Bangalore
Posts: 42
Blog Entries: 5
Rep Power: 12
adarsh tiwari is on a distinguished road
Greetings Betakv,

I have already simulated using rhoPimpleFoam but I got some fancy results, with best of my knowledge I can say that the probability of getting appropriate results is much more higher in rhoSimpleFoam.

It would be great help if you provide me some tutorials about rhoSimpleFoam, I already have one, but it is not worth about this case.

Thanks and Regards,
Adarsh Tiwari
adarsh tiwari is offline   Reply With Quote

Old   April 14, 2014, 02:00
Default
  #4
Member
 
Vojtech Betak
Join Date: Mar 2009
Location: Czech republic
Posts: 33
Rep Power: 18
betakv is on a distinguished road
Dear Adarsh,

there are number of reasons( boundary/initial condition, solver setting, ... ) why you got fancy results. Can you send description of your case?
betakv is offline   Reply With Quote

Old   April 16, 2014, 03:20
Default
  #5
Member
 
adarsh tiwari's Avatar
 
adarsh tiwari
Join Date: Feb 2014
Location: Bangalore
Posts: 42
Blog Entries: 5
Rep Power: 12
adarsh tiwari is on a distinguished road
Greeting Betakv,

sorry for late reply.

The file is too large to upload hence i am attaching the brief version of the same but by removing some of the data-table entries.

In pressure files I have also tried with the uniformTotalPressure but still got nothing

in solution schemes also i have changed form GAMG to different solver. I have also tried with faceCente and cellCenter schemes.

Thanks and Regards,
Adarsh Tiwari
Attached Files
File Type: zip upload.zip (4.8 KB, 29 views)
adarsh tiwari is offline   Reply With Quote

Old   April 16, 2014, 04:47
Default
  #6
Member
 
Vojtech Betak
Join Date: Mar 2009
Location: Czech republic
Posts: 33
Rep Power: 18
betakv is on a distinguished road
Dear Adarsh,

you have quite lot of errors in boundary condition especially on the inlet and outlet.
On the inlet you have to prescribe a totalPressure bc for pressure. On the outlet you have to prescribe zeroGradient or inletOutlet bc for velocity and temperature

betakv

Quote:
Originally Posted by adarsh tiwari View Post
Greeting Betakv,

sorry for late reply.

The file is too large to upload hence i am attaching the brief version of the same but by removing some of the data-table entries.

In pressure files I have also tried with the uniformTotalPressure but still got nothing

in solution schemes also i have changed form GAMG to different solver. I have also tried with faceCente and cellCenter schemes.

Thanks and Regards,
Adarsh Tiwari
betakv is offline   Reply With Quote

Old   April 22, 2014, 07:49
Default
  #7
Member
 
adarsh tiwari's Avatar
 
adarsh tiwari
Join Date: Feb 2014
Location: Bangalore
Posts: 42
Blog Entries: 5
Rep Power: 12
adarsh tiwari is on a distinguished road
hi Betakv,

As I already informed you that the p and T boundary conditions are fixed, only thing I can play with is U.

I used zeroGradient and inletOutlet bc for velocity with different combinations but still getting the same message out.
adarsh tiwari is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 04:50
buoyantSimpleFoam and watertank Tobi OpenFOAM Running, Solving & CFD 100 December 18, 2022 08:15
Floating point exception error Alan OpenFOAM Running, Solving & CFD 11 July 1, 2021 21:51
Help for the small implementation in turbulence model shipman OpenFOAM Programming & Development 25 March 19, 2014 10:08
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 06:37


All times are GMT -4. The time now is 09:34.