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

laminar flow with heat transfer

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 29, 2013, 11:56
Default laminar flow with heat transfer
  #1
Member
 
Join Date: Apr 2013
Posts: 32
Rep Power: 13
rajcfd is on a distinguished road
Hi everyone,


I have been trying simulate laminar flow with a constant heat flux through a cylindrical pipe. I have tried using buoyantBoussinesqSimpleFoam, buoyantBoussinesqPimpleFoam and even icoFoam with chnages in code. The buoyantSimple case is not converging and the other two cases are also not giving correct answers.

I have used bc T- fixedGradient along wall to incorporate heat flux thing....

Can anyone suggest why the results are not coming correct??
Please, I am stuck with this one for two weeks....I need help..

Thanks in advance....
rajcfd is offline   Reply With Quote

Old   June 29, 2013, 16:44
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
what is your fluid?
why dont you use bouyantSimpleFoam?
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   July 2, 2013, 03:34
Default
  #3
Member
 
Join Date: Apr 2013
Posts: 32
Rep Power: 13
rajcfd is on a distinguished road
Hi nimasam,

My fluid is water, incompressible case. Also, I need to take into account gravity also. The solver which you are suggesting works for compressible fluids?
rajcfd is offline   Reply With Quote

Old   July 2, 2013, 04:58
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
yes, it almost use for compressible fluid, but it can be used for incompressible fluid too , if you choose apropriate thermoPhydicalDict

However you choose some how suitable solvers, would you please, share your results in different solvers, and make much more declare why results are not correct
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   July 3, 2013, 05:57
Default
  #5
Member
 
Join Date: Apr 2013
Posts: 32
Rep Power: 13
rajcfd is on a distinguished road
Quote:
Originally Posted by nimasam View Post
yes, it almost use for compressible fluid, but it can be used for incompressible fluid too , if you choose apropriate thermoPhydicalDict

However you choose some how suitable solvers, would you please, share your results in different solvers, and make much more declare why results are not correct
I worked with buoyantBoussinesqSimpleFoam solver. I made the beta value zero and used potential foam initially as boundary condition was outflow.
It has worked and I have got similar profiles but the magnitude is not correct.

Like the maximum average velocity should have been 0.002 but it is coming out to be 0.0015 & similarly the expected temperature ranges were 307-338 but it is giving 301-334.
I have checked the bc's. It looks correct to me. So, why it is so?
rajcfd is offline   Reply With Quote

Old   July 3, 2013, 06:01
Default
  #6
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
its damn close , maybe you need to play with ur numerical schemes forexample using second order schemes or refine your mesh
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   July 5, 2013, 05:04
Default
  #7
Member
 
Join Date: Apr 2013
Posts: 32
Rep Power: 13
rajcfd is on a distinguished road
Quote:
Originally Posted by nimasam View Post
its damn close , maybe you need to play with ur numerical schemes forexample using second order schemes or refine your mesh
Thanks nimasam... I m working on it.
rajcfd is offline   Reply With Quote

Old   April 19, 2014, 10:25
Default
  #8
New Member
 
Umut
Join Date: May 2011
Posts: 15
Rep Power: 15
Umut is on a distinguished road
Hello good foamers,

I'm a new beginner in openfoam. I need to ask 2 questions.
A)I'd like to solve a laminar channel flow in 2D. I'll use air as the working fluid and will use constant heat flux in one boundary. I tried to use buoyantBousinesqSimpleFoam but can't figure out how to arrange case files. Here is what I tried;
1) In RASProperties, I choose turbulence off and laminar as model. I deleted every variables in 0 folder except than p_rgh and copied the p,T,U files from my_icoFoam applications.
2) I used the same BCs for p_rgh as given in the iglooWithFridges tutorial by rearranging them to the geometry which I used.
3) The rest is the same with iglooWithFridges tutorial. I ran blockMesh without error.
When I type buoyantBousinesqSimpleFoam in the terminal an error occurs concerning alphat. So how can I overcome this problem?
B) Is there any standard solver to solve this problem transient?

Kind Regards.
Umut
Umut is offline   Reply With Quote

Old   April 19, 2014, 10:33
Default
  #9
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
Quote:
When I type buoyantBousinesqSimpleFoam in the terminal an error occurs concerning alphat. So how can I overcome this problem?
add alphat to your 0 directory and put the values of all boundaries and internal domain zero
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   April 19, 2014, 10:57
Default
  #10
New Member
 
Umut
Join Date: May 2011
Posts: 15
Rep Power: 15
Umut is on a distinguished road
Dear nimasam;

Thank you for your reply, your suggestion worked just fine. I also found that buoyantBousinesqPimpleFoam works for transient flows.
Kind regards,

Umut

Last edited by Umut; April 19, 2014 at 12:20.
Umut 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
Solver for an incompressible, turbulent flow with heat transfer tH3f0rC3 OpenFOAM Running, Solving & CFD 9 June 17, 2019 07:12
Question about heat transfer simulation Anna Tian Main CFD Forum 0 January 25, 2013 19:53
Heat Transfer Coefficient in Compressible Flow 3D turbine cascade Karkoura CFX 0 March 10, 2011 16:35
Water vapour condensation in CFX-5.7.1 hdj CFX 1 November 27, 2005 08:15
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


All times are GMT -4. The time now is 00:10.