CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   chtMutiRegionSimpleFOam diverges when evaluating fluid region (https://www.cfd-online.com/Forums/openfoam-programming-development/160942-chtmutiregionsimplefoam-diverges-when-evaluating-fluid-region.html)

fracasce October 15, 2015 20:51

chtMutiRegionSimpleFOam diverges when evaluating fluid region
 
Hi foamers

I"m having troubles in learning how to use the solver chtMutiRegionSimpleFOam. I've been able to successfully simulate the heat transfer in a geometry formed by several solid regions with different thermo-physical properties. Now I would like to replace one of these solid region with a fluid (air). In this way, the fluid would be surrounded by other solids at high temperature and natural convection should occur.

I've made the necessary changes in the changeDictionaryDict, fvSchemes, fvSolution files and in the files located in constant/fluidregion (thermophysicalproperties, g, turbolenceProperties...). Nonetheless, it seems that I'm missing something. Effectively, once I run the simulation, I get the following error

Code:

--> 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/openfoam/OpenFOAM/OpenFOAM-2.4.0/src/thermophysicalModels/specie/lnInclude/thermoI.H at line 76.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::species::thermo<Foam::hConstThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy>::THs(double, double, double) const at ??:?
#3  Foam::heRhoThermo<Foam::rhoThermo, Foam::pureMixture<Foam::constTransport<Foam::species::thermo<Foam::hConstThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > >::calculate() at ??:?
#4  Foam::heRhoThermo<Foam::rhoThermo, Foam::pureMixture<Foam::constTransport<Foam::species::thermo<Foam::hConstThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > >::correct() at ??:?
#5  ? at ??:?
#6  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7  ? at ??:?
Aborted (core dumped)

Do you have any idea of the reason of the error? It seems that the simulation does not converge to the solution: do you know how I can fix this error?

Thank you very much!!!

Franco

visheshkapoor06 June 21, 2016 04:42

I am facing the exact same problem. Please help!


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