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

heat transfer

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2011, 16:12
Default heat transfer
  #1
New Member
 
AV.
Join Date: Apr 2011
Posts: 14
Rep Power: 15
Andrev is on a distinguished road
Hey guys,
Im learning how to use the standard solvers of OpenFoam and had some succes when running channel w/o heat transfer and turbulence.
Im trying to simulate a laminar flow in a pipe with heat transfer between the walls and the fluid. Im using buoyantPimpleFoam and I copied the thermophysical properties from tutorials as fvSchemes and Solution.
When I run the solver, the follow error appears:

--> 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.x/src/thermophysicalModels/specie/lnInclude/specieThermoI.H at line 67.


I dont know if Im defining wrong boundary conditions or if I missed something...

Thanks for the attention, hope someone can help...
Andrev is offline   Reply With Quote

Old   June 14, 2011, 19:37
Default
  #2
New Member
 
Miguel Suarez
Join Date: Aug 2010
Location: El Paso Texas
Posts: 28
Rep Power: 16
masuarez is on a distinguished road
I have the same error when using chtMultiRegionSimpleFoam to model 3D compressible flow in a duct. From what i read, it means that at some point you are dividing by zero. See if your iterations before the error have negative temperatures or if it is doing 1000 iterations when solving for pressure.

most likely, you are going to have to double-check your boundary conditions.

I suggest you post your boundary conditions and hopefully somebody can help you out.

Also, if you are modeling laminar flow... why not use a "simple" heat transfer solver?

Anyway... best of luck to you
masuarez is offline   Reply With Quote

Old   January 12, 2012, 09:13
Default
  #3
Member
 
Tibor Nyers
Join Date: Jul 2010
Location: Hungary
Posts: 91
Rep Power: 17
Toorop is on a distinguished road
Hi,

I'm facing the same issue with my cht setup.
Code:
--> 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/user/OpenFOAM/OpenFOAM-2.0.x/src/thermophysicalModels/specie/lnInclude/specieThermoI.H at line 69.
The error appears without any prior sign - no negative temperature, no iteration barrier reached.
Running my case with different parallel setup (number of cores allocated) results in the exact same log file values, however the simulation blows up at different time steps, strange.

My case consists of a solid (two region connected) surrounded by air. The boundary setup can be found in the attachment - my goal is to simulate the airflow around a heated object, so I tried to mimic an open boundary around the solid which sits on a "table" and the bottom part is heated.

Any input appreciated!
Attached Files
File Type: gz system.tar.gz (3.2 KB, 5 views)
File Type: pdf linear.pdf (29.9 KB, 33 views)
File Type: gz log.chtMultiRegionSimpleFoam.tar.gz (92.3 KB, 10 views)
File Type: gz log.checkMesh.tar.gz (1.5 KB, 5 views)
Toorop is offline   Reply With Quote

Old   January 13, 2012, 10:51
Default Time steps?
  #4
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
fabian_roesler is on a distinguished road
Hi Toorop

have you tried reducing the time steps? You are using 1 sec. fixed time step. I suggest using variable time steps with Courant about 0.5. That might help but I only did a fast check of your data.

Regards

Fabian
fabian_roesler is offline   Reply With Quote

Old   January 16, 2012, 04:05
Default
  #5
Member
 
Tibor Nyers
Join Date: Jul 2010
Location: Hungary
Posts: 91
Rep Power: 17
Toorop is on a distinguished road
Hi Fabian,
my solver is chtMultiRegionSimpleFoam, so its a steady state solver. Thus, the time step is just an iteration counter, correct me if I'm wrong.

Checked my case without parallelization and the simulation was OK. No clue what is going wrong in parallel execution.
Toorop is offline   Reply With Quote

Old   January 16, 2012, 04:18
Default
  #6
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
fabian_roesler is on a distinguished road
Hi Toorop

right. I should have read your post more closely. Have you had a glimpse on the bug reports?

http://www.openfoam.com/mantisbt/my_view_page.php

As the solver works without parallelization this might be a bug.

Regards

Fabian
fabian_roesler is offline   Reply With Quote

Old   January 17, 2012, 08:08
Default
  #7
Member
 
Tibor Nyers
Join Date: Jul 2010
Location: Hungary
Posts: 91
Rep Power: 17
Toorop is on a distinguished road
Thank you for the hint, I'm running a few more cases just to be sure it is indeed a bug or something else. If the problem can be reproduced I will make a report about it and post here the conclusions.
Toorop is offline   Reply With Quote

Old   January 19, 2012, 12:46
Default
  #8
Senior Member
 
Andrea Pasquali
Join Date: Sep 2009
Location: Germany
Posts: 142
Rep Power: 17
andrea.pasquali is on a distinguished road
Hi Toorop,
did you try chtMultiRegionSimpleFoam with :

Quote:
thermoType hRhoThermo<pureMixture<constTransport<specieThermo <hConstThermo<incompressible>>>>>;
?
I tried it and it crashes when it solves hEqu because it calculates rho/psi.
I opened a new thred:

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

I'd like to use the buoyantSimpleFoam with the incompressible thermo type to simulate liquid water.
Thanks for any help
Andrea
__________________
Andrea Pasquali
andrea.pasquali is offline   Reply With Quote

Old   January 20, 2012, 09:07
Default
  #9
Member
 
Tibor Nyers
Join Date: Jul 2010
Location: Hungary
Posts: 91
Rep Power: 17
Toorop is on a distinguished road
Hi Andrea,
unfortunately I have no experience with the incompressible thermo type, but I will follow your thread on the issue.

I'm currently working on the strange blow up of my simulation, and investigating the reproducibility of the situation.

Best of luck to your project!
Toorop 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
Two-sided Wall Heat Transfer BC - No Separate Solid Mesh and No Heat Transfer Coeff swahono OpenFOAM Running, Solving & CFD 10 October 15, 2018 06:43
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
Convective / Conductive Heat Transfer in Hypersonic flows enigma Main CFD Forum 2 November 1, 2009 23:53
How can I increase Heat Transfer at Domain Interf? B.Simon CFX 3 October 28, 2008 19:53
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


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