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

one simple question

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 3, 2015, 00:26
Default one simple question
  #1
Member
 
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12
adi.ptb is on a distinguished road
hi guys,i want to write a udf for temperature dependent thermal conductivity for steel(wall-boundary condition),this is my code:
DEFINE_PROPERTY(steel_thermal_conductivity,c,t)
{
real T = C_T(c,t);
return (real)((1871.0374)*pow(T,-0.5522));
}
my question is can we use T=C_T(c,t) for solid temperature or is it just for fluid? since it is temperature in cells
adi.ptb is offline   Reply With Quote

Old   January 5, 2015, 10:02
Default
  #2
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17
macfly is on a distinguished road
C_T(c,t) will retrieve the temperature where you set the DEFINE_PROPERTY, it will read the temperature of the solid if you apply the DEFINE_PROPERTY to the solid material.

Last edited by macfly; January 6, 2015 at 01:28.
macfly 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
SIMPLE scheme question wm2300 Main CFD Forum 10 November 6, 2014 04:55
[blockMesh] mergePatchPairs(); simple question seav OpenFOAM Meshing & Mesh Conversion 0 May 2, 2014 08:57
Simple Outlet Question m.nichols19 OpenFOAM 3 June 25, 2010 01:44
Simple Question Regarding Symmetry Planes Atella CFX 3 April 11, 2010 06:44
Simple Question Regarding Symmetry Planes Atella Main CFD Forum 0 April 9, 2010 10:58


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