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

Thermophysical problems in simpleReactingParcelFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 20, 2015, 09:59
Default Thermophysical problems in simpleReactingParcelFoam
  #1
New Member
 
Andreas V.
Join Date: Jul 2014
Posts: 15
Rep Power: 11
andreas0209@hotmail.com is on a distinguished road
Hi everybody

I am trying to simulate a particle flow along a tube (like the vertical channel).
The flow is compressible and exactly here is my problem.
If I keep my boundary condition like a incompressible flow (same inlet and outlet condition the simulation works good. As soon as I change the parameter to a compressible flow I got problems with the thermo physics.

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

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::error::abort() in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2  Foam::species::thermo<Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie, 8>, 8>, Foam::sensibleEnthalpy>::T(double, double, double, double (Foam::species::thermo<Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie, 8>, 8>, Foam::sensibleEnthalpy>::*)(double, double) const, double (Foam::species::thermo<Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie, 8>, 8>, Foam::sensibleEnthalpy>::*)(double, double) const, double (Foam::species::thermo<Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie, 8>, 8>, Foam::sensibleEnthalpy>::*)(double) const) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfluidThermophysicalModels.so"
#3  Foam::heRhoThermo<Foam::rhoReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::polynomialTransport<Foam::species::thermo<Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie, 8>, 8>, Foam::sensibleEnthalpy>, 8> > > >::calculate() in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#4  Foam::heRhoThermo<Foam::rhoReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::polynomialTransport<Foam::species::thermo<Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie, 8>, 8>, Foam::sensibleEnthalpy>, 8> > > >::correct() in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#5  
 in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleReactingParcelFoam"
#6  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7  
 in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleReactingParcelFoam"
Aborted (core dumped)
For my case I actually don't need thermo pysical properties, why I wanted to switch them off. But exactly this is obviously not simple. The best is to recompile the solver without the thermo physical properties. I am quite desperate and I was wondering if somebody could help me with that?

Should be not complicated for someone who is more experienced like me. The simpleReactingParcelFoamIPM foder is attached.

Regards,
Andreas
Attached Files
File Type: gz simpleReactingParcelFoamIPM.tar.gz (4.0 KB, 12 views)
andreas0209@hotmail.com is offline   Reply With Quote

Old   May 3, 2016, 04:45
Default
  #2
Member
 
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10
chpjz0391 is on a distinguished road
Quote:
Originally Posted by andreas0209@hotmail.com View Post
Hi everybody

I am trying to simulate a particle flow along a tube (like the vertical channel).
The flow is compressible and exactly here is my problem.
If I keep my boundary condition like a incompressible flow (same inlet and outlet condition the simulation works good. As soon as I change the parameter to a compressible flow I got problems with the thermo physics.

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

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::error::abort() in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2  Foam::species::thermo<Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie, 8>, 8>, Foam::sensibleEnthalpy>::T(double, double, double, double (Foam::species::thermo<Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie, 8>, 8>, Foam::sensibleEnthalpy>::*)(double, double) const, double (Foam::species::thermo<Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie, 8>, 8>, Foam::sensibleEnthalpy>::*)(double, double) const, double (Foam::species::thermo<Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie, 8>, 8>, Foam::sensibleEnthalpy>::*)(double) const) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfluidThermophysicalModels.so"
#3  Foam::heRhoThermo<Foam::rhoReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::polynomialTransport<Foam::species::thermo<Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie, 8>, 8>, Foam::sensibleEnthalpy>, 8> > > >::calculate() in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#4  Foam::heRhoThermo<Foam::rhoReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::polynomialTransport<Foam::species::thermo<Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie, 8>, 8>, Foam::sensibleEnthalpy>, 8> > > >::correct() in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so"
#5  
 in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleReactingParcelFoam"
#6  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7  
 in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleReactingParcelFoam"
Aborted (core dumped)
For my case I actually don't need thermo pysical properties, why I wanted to switch them off. But exactly this is obviously not simple. The best is to recompile the solver without the thermo physical properties. I am quite desperate and I was wondering if somebody could help me with that?

Should be not complicated for someone who is more experienced like me. The simpleReactingParcelFoamIPM foder is attached.

Regards,
Andreas
have you solved ur problem, I met the same question as yours.
chpjz0391 is offline   Reply With Quote

Old   May 3, 2016, 04:47
Default
  #3
New Member
 
Andreas V.
Join Date: Jul 2014
Posts: 15
Rep Power: 11
andreas0209@hotmail.com is on a distinguished road
Quote:
Originally Posted by chpjz0391 View Post
have you solved ur problem, I met the same question as yours.

Unfortunately, I didn't. Sorry.
andreas0209@hotmail.com is offline   Reply With Quote

Old   May 3, 2016, 22:38
Default
  #4
Member
 
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10
chpjz0391 is on a distinguished road
you said when you kept your boundary condition like an incompressible flow, the simulation worked well, in my case , I just need to simulate the incompressible flow for steady-state, but after I changed my BC ,it can only work for 45 steps. I am quite new of OF, so I have no idea what's wrong with my case. Could you tell me how did you set your BC as the incompressible. Could you help me with that? thank you very much The attachment is my case.

simpleReactingParcelFoam Case.tar.gz
chpjz0391 is offline   Reply With Quote

Old   May 3, 2016, 23:20
Default
  #5
Member
 
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10
chpjz0391 is on a distinguished road
Quote:
Originally Posted by andreas0209@hotmail.com View Post
Unfortunately, I didn't. Sorry.
This issue almost drives me crazy. I need to solve this problem before next Monday, could you give me some advice?
chpjz0391 is offline   Reply With Quote

Old   May 4, 2016, 16:22
Default
  #6
Senior Member
 
Join Date: Jan 2010
Location: Stuttgart
Posts: 150
Rep Power: 16
Chrisi1984 is on a distinguished road
Hi,

I had a very quick look inside your case. I realizied that you are using p=0 as outlet condition. So I think you assumed this to be the relative pressure like it is common for incompressible cases. But very likely you need to define the pressure level for that solver with absolute pressue so e.g. for environment conditions p=100000. (Check also tutorial case here: https://github.com/OpenFOAM/OpenFOAM...calChannel/0/p

Kind regards and good luck
Chrisi
Chrisi1984 is offline   Reply With Quote

Old   May 4, 2016, 20:12
Default
  #7
Member
 
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10
chpjz0391 is on a distinguished road
Quote:
Originally Posted by Chrisi1984 View Post
Hi,

I had a very quick look inside your case. I realizied that you are using p=0 as outlet condition. So I think you assumed this to be the relative pressure like it is common for incompressible cases. But very likely you need to define the pressure level for that solver with absolute pressue so e.g. for environment conditions p=100000. (Check also tutorial case here: https://github.com/OpenFOAM/OpenFOAM...calChannel/0/p

Kind regards and good luck
Chrisi
Thank you very much chrisi, I found that mistake, I will fix it and try again
chpjz0391 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
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 6 December 1, 2020 11:12
[mesh manipulation] Problems with rotational cyclic boundaries TReviol OpenFOAM Meshing & Mesh Conversion 8 July 11, 2014 03:45
[ICEM] Flow channel meshing problems StefanG ANSYS Meshing & Geometry 19 May 15, 2012 06:44
Two-phase air water flow problems by activating Wall Lubrication Force challenger85 CFX 5 November 5, 2009 05:44
Help required to solve Hydraulic related problems aero CFX 0 October 30, 2006 11:00


All times are GMT -4. The time now is 15:51.