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

Patch a temp profile

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 19, 2011, 17:28
Default Patch a temp profile
  #1
New Member
 
Aaron
Join Date: May 2011
Posts: 6
Rep Power: 6
USU_CFDer is on a distinguished road
I am trying to patch a linear temperature profile going from 300K at the bottom of my domain to 325K at the top. Does anyone have any ideas on how to do this. The domain is 0.4 meters high so a function for the temperature would look like

T=300+(25/0.4)*y
where y is the distance measured from the bottom. In the custom field functions area I can't find anyway to reference position. And the patch tool doesn't seem to be able to access user defined functions.

Any ideas?

Thanks
USU_CFDer is offline   Reply With Quote

Old   January 14, 2012, 06:28
Default
  #2
New Member
 
RABETAB
Join Date: Oct 2010
Posts: 3
Rep Power: 6
rabetabbevon is on a distinguished road
well, I had also similar problem in the past. But I read this post <http://www.cfd-online.com/Forums/fluent-udf/75232-define-profile-inlet_temperature-udf.html> and I could figure out my problem. I hope it helps
rabetabbevon is offline   Reply With Quote

Old   January 14, 2012, 22:07
Default
  #3
Senior Member
 
Real Name :)
Join Date: Jan 2010
Location: United States
Posts: 180
Rep Power: 7
ComputerGuy is on a distinguished road
The thing you're looking for is Mesh-->Cell Y Position. There's something like that under custom field functions -- trust me. I don't have Fluent right now, but you can reference the geometric coordinate of a cell. Then, of course, you would need to change your function to be (y-0.4), or whatever the defined Y-coordinate of the bottom of your geometry is (it doesn't have to be 0).

ComputerGuy

Quote:
Originally Posted by USU_CFDer View Post
I am trying to patch a linear temperature profile going from 300K at the bottom of my domain to 325K at the top. Does anyone have any ideas on how to do this. The domain is 0.4 meters high so a function for the temperature would look like

T=300+(25/0.4)*y
where y is the distance measured from the bottom. In the custom field functions area I can't find anyway to reference position. And the patch tool doesn't seem to be able to access user defined functions.

Any ideas?

Thanks
ComputerGuy is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using starToFoam clo OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 33 September 26, 2012 04:04
StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 05:38
CheckMeshbs errors ivanyao OpenFOAM Running, Solving & CFD 2 March 11, 2009 03:34
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 21:26.