CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Flow around a heated cylinder (https://www.cfd-online.com/Forums/openfoam/79493-flow-around-heated-cylinder.html)

chodki-c August 25, 2010 11:02

Flow around a heated cylinder
 
3 Attachment(s)
Hi Foamers,

I have to run a case of a flow past a heated cylinder with rhoPisoFoam. The air temperature is 300K and the wall temperature is 340K.
The velocity is 1 m/s.
After some iterations (less than 10) I have an error:

Time = 0.09132

diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for Ux, Initial residual = 0.996377, Final residual = 9.70033e-06, No Iterations 269
DILUPBiCG: Solving for Uy, Initial residual = 0.997456, Final residual = 8.79396e-06, No Iterations 277
DILUPBiCG: Solving for h, Initial residual = 0.948008, Final residual = 8.83847e-06, No Iterations 847


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

From function specieThermo<thermo>::T(scalar f, scalar T0, scalar (specieThermo<thermo>::*F)(const scalar) const, scalar (specieThermo<thermo>::*dFdT)(const scalar) const) const
in file /home/opencfd/OpenFOAM/OpenFOAM-1.7.0/src/thermophysicalModels/specie/lnInclude/specieThermoI.H at line 67.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam170/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam170/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Foam::hPsiThermo<Foam::pureMixture<Foam::constTran sport<Foam::specieThermo<Foam::hConstThermo<Foam:: perfectGas> > > > >::calculate() in "/opt/openfoam170/lib/linuxGccDPOpt/libbasicThermophysicalModels.so"
#3 Foam::hPsiThermo<Foam::pureMixture<Foam::constTran sport<Foam::specieThermo<Foam::hConstThermo<Foam:: perfectGas> > > > >::correct() in "/opt/openfoam170/lib/linuxGccDPOpt/libbasicThermophysicalModels.so"
#4
in "/opt/openfoam170/applications/bin/linuxGccDPOpt/rhoPisoFoam"
#5 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#6
in "/opt/openfoam170/applications/bin/linuxGccDPOpt/rhoPisoFoam"
Abandon



I think I have a problem with my BC. Can you help me? Please find enclosed my case.
Thanks in advance.
Cynthia.

thekay September 8, 2010 09:54

Maybe try changing adjustTimeStep no;, into adjustTimeStep yes; so as it adjusts the timestep according to the maximum Courant number you set.

chodki-c September 9, 2010 04:52

Thanks a lot thekay.
I have decreased my courant number and it works well!

fusij September 28, 2010 21:33

which turbulence model are you using and what are your BC's?


All times are GMT -4. The time now is 12:48.