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

Adding Temperature in channelFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By Davidlt
  • 1 Post By nimasam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 16, 2012, 04:02
Default Adding Temperature in channelFoam
  #1
Member
 
supercommandodhruv
Join Date: Sep 2011
Posts: 57
Rep Power: 14
dhruv is on a distinguished road
Hi Foamers,

i am doing a simulation on channel flow using LES modelling. I want to impose a temperature on the walls of the channel and study the effects of conduction+convection on the fluid flowing through it. Can anyone give me some ideas on how to implement this? I can't impose a cyclic BC on temp, since it is not cyclic. Is there any other solver that I can use that gives me the local temperatures in the fluid field? My main intention of using a channel flow for this problem is that the geometry I need to simulate is a very long one, and I am using just a part of it with cyclic BCs.

Any help would be very grateful.

Regards,
Dhruv.
dhruv is offline   Reply With Quote

Old   March 16, 2012, 14:36
Default
  #2
Senior Member
 
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21
kwardle is on a distinguished road
Have you looked at this?http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam
kwardle is offline   Reply With Quote

Old   March 20, 2012, 17:17
Default
  #3
New Member
 
David Theriault
Join Date: Jan 2012
Posts: 5
Rep Power: 14
Davidlt is on a distinguished road
Hi Drhuv

It depends on the fluid and the Re number of your simulation. If your case can be considerate as incompressible, you could check on how the buoyantBoussinesqPimpleFoam is coded. Because this solver is only for RANS cases, you'll need to modify it. Check the pimpleFoam solver for an idea.

David
dhruv likes this.
Davidlt is offline   Reply With Quote

Old   April 27, 2012, 06:02
Default
  #4
Member
 
anonymous
Join Date: Mar 2012
Posts: 45
Rep Power: 14
libia87 is on a distinguished road
Hi! I do all the tutorial to add the temperature, but it gives me a fatal error: keyword inlet is undefined in dictionari .../0/p::"boundaryField"

I don't understand this problem because I did't change anything about the pressure
libia87 is offline   Reply With Quote

Old   April 28, 2012, 01:50
Default
  #5
Senior Member
 
niaz's Avatar
 
A_R
Join Date: Jun 2009
Posts: 122
Rep Power: 16
niaz is on a distinguished road
Dear libia
you may define a BC in your mesh boundary but you do not implement it in your /0 folder for pressure.
niaz is offline   Reply With Quote

Old   April 30, 2012, 03:07
Default
  #6
Member
 
anonymous
Join Date: Mar 2012
Posts: 45
Rep Power: 14
libia87 is on a distinguished road
Quote:
Originally Posted by niaz View Post
Dear libia
you may define a BC in your mesh boundary but you do not implement it in your /0 folder for pressure.
I don't understand...
libia87 is offline   Reply With Quote

Old   April 30, 2012, 06:11
Default
  #7
Senior Member
 
niaz's Avatar
 
A_R
Join Date: Jun 2009
Posts: 122
Rep Power: 16
niaz is on a distinguished road
Quote:
Originally Posted by libia87 View Post
I don't understand...
firstly check that you have inlet in your 0/p file or not
niaz is offline   Reply With Quote

Old   April 30, 2012, 18:12
Default
  #8
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
Quote:
Originally Posted by dhruv View Post
Hi Foamers,

i am doing a simulation on channel flow using LES modelling. I want to impose a temperature on the walls of the channel and study the effects of conduction+convection on the fluid flowing through it. Can anyone give me some ideas on how to implement this? I can't impose a cyclic BC on temp, since it is not cyclic. Is there any other solver that I can use that gives me the local temperatures in the fluid field? My main intention of using a channel flow for this problem is that the geometry I need to simulate is a very long one, and I am using just a part of it with cyclic BCs.

Any help would be very grateful.

Regards,
Dhruv.
i dont know any solver which can do what you want, as i know you should implement your cyclic boundary condition, and heat transfer solver
your modified solver:
1) modified solver:
channelFoam + scalarTransportFoam

2) BC:
modified fan boundary condition

i suggest to look at fluent tutorial guide to find how to formulate cyclic boundary condition
dhruv likes this.
nimasam is offline   Reply With Quote

Old   May 3, 2012, 03:39
Default
  #9
Member
 
anonymous
Join Date: Mar 2012
Posts: 45
Rep Power: 14
libia87 is on a distinguished road
Quote:
Originally Posted by niaz View Post
firstly check that you have inlet in your 0/p file or not
yes I have it!
libia87 is offline   Reply With Quote

Old   May 3, 2012, 04:42
Default
  #10
Member
 
Tibor Nyers
Join Date: Jul 2010
Location: Hungary
Posts: 91
Rep Power: 16
Toorop is on a distinguished road
I while back when I started my endeavours with OpenFoam I looked at some Fluent tutorial cases and wanted to migrate them to OF. It was too much for me eventually ... so I dropped the idea.

But there was a case with periodic flow and heat transfer - as I investigated the possible solutions I found that the solver is based on "Fully Developed Flow and Heat Transfer in Ducts Having Streamwise-Periodic Variations of Cross-Sectional Area" by Patankar, Liu, and Sparrow. And unfortunately, that concluded my project since I didn't find anything similar in OF - I didn't even know at that time that channelFoam exists and can simulate periodic flow.

Good luck and report back if you have some nice results!
Toorop is offline   Reply With Quote

Old   May 5, 2012, 05:40
Default
  #11
Senior Member
 
niaz's Avatar
 
A_R
Join Date: Jun 2009
Posts: 122
Rep Power: 16
niaz is on a distinguished road
Quote:
Originally Posted by libia87 View Post
yes I have it!
I think it is better to attach your test case?
your description is a bit vague.
niaz is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Adding temperature equation to porousSimpleFoam David_010 OpenFOAM Programming & Development 9 February 14, 2018 01:22
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
Adding a new temperature dependent viscositymodel? dgadensg OpenFOAM Programming & Development 10 May 22, 2010 05:47
Adding temperature equation in settlingFoam sachin OpenFOAM Running, Solving & CFD 2 March 31, 2010 03:21
Adding temperature field to InterFoam yapalparvi OpenFOAM Running, Solving & CFD 8 October 14, 2009 20:18


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