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

Patch a temp profile

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2011, 18:28
Default Patch a temp profile
  #1
New Member
 
Aaron
Join Date: May 2011
Posts: 6
Rep Power: 14
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: 15
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: 192
Rep Power: 16
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 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
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 05:04
[Other] 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
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19
Multicomponent fluid Andrea CFX 2 October 11, 2004 06:12


All times are GMT -4. The time now is 12:52.