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

Temperature gradient

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2008, 14:54
Default Hello, I am wondering how t
  #1
New Member
 
Trevor Sherk
Join Date: Mar 2009
Location: Ontario, Canada
Posts: 10
Rep Power: 17
tsherk86 is on a distinguished road
Hello,

I am wondering how to set an initial temperature to be a linear (in radius r) temperature profile from, say, T_A at r_a (inside wall) to T_b at r_b (outside wall) for, in this case, a cylindrical annulus.

As my boundary conditions, I have the inside and outside walls of the annulus two different temperatures, and I want my inside temperature to go from the one temperature to the other temperature linearly. Is there a utility that can do this or some way of coding this?

Thanks,
Trevor
tsherk86 is offline   Reply With Quote

Old   August 1, 2008, 17:56
Default potentialFoam -writep Set p
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
potentialFoam -writep

Set p like T so fixed value on your annuli, zeroGradient on front and back.

Copy (by hand) resulting internal field of pressure back into T.
mattijs is offline   Reply With Quote

Old   August 5, 2008, 15:42
Default Works great!! Thank you very m
  #3
New Member
 
Trevor Sherk
Join Date: Mar 2009
Location: Ontario, Canada
Posts: 10
Rep Power: 17
tsherk86 is on a distinguished road
Works great!! Thank you very much for the help!

-Trevor
tsherk86 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
Temperature gradient jaho CFX 1 March 16, 2009 07:32
Temperature gradient Jaho CFX 2 March 12, 2009 20:36
Temperature gradient? Cote CFX 1 February 8, 2007 10:03
how to get temperature gradient lido sum FLUENT 1 February 17, 2002 00:35
Temperature gradient Michal FLUENT 7 December 3, 2001 12:24


All times are GMT -4. The time now is 16:22.