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

how to define initial temperature change with depth

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 5, 2018, 11:58
Default how to define initial temperature change with depth
  #1
Member
 
Join Date: Nov 2016
Posts: 34
Rep Power: 9
ywan168 is on a distinguished road
Hello, folks,

I am modeling a 2-D geometry where outside is rock formation (solid), inside is a well (a hole) with pipe (casing). Fluid is injected through pipe inlet, and flow outlet is at annulus between outside casing and formation. First of all, I need to define the initial temperature of both formation inside and outside. My assumption is initial temperature is the same anywhere with the same depth, and T changes with depth. I don't know how to define or set this condition. If anyone has similar experience, please share with us. Thank you~

Regards,
ywan168 is offline   Reply With Quote

Old   June 6, 2018, 09:30
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,675
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
It would help if you state what this initial temperature distribution actually is.... Otherwise I have to assume it is some arbitrary by known (to you) function that can be written down in finite time and you are not too lazy to carry out this task...


You can use a PROFILE or you can just create a custom field function which calculates this temperature field. After you initialize, use the patch command to set the temperature field to this custom field function.
LuckyTran is offline   Reply With Quote

Old   June 7, 2018, 13:59
Default
  #3
Member
 
Join Date: Nov 2016
Posts: 34
Rep Power: 9
ywan168 is on a distinguished road
Yes, I used field function to initialize the temperature profile. Thank you
ywan168 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
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24


All times are GMT -4. The time now is 11:05.