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

Temperature gradient

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2001, 10:09
Default Temperature gradient
  #1
Michal
Guest
 
Posts: n/a
How to obtain a temperature gradient directly from the solver for the UDF purposes? Does any macro exist to compute temperature gradient?
  Reply With Quote

Old   October 15, 2001, 16:13
Default Re: Temperature gradient
  #2
ravi
Guest
 
Posts: n/a
C_T_G(c,t)[i] -- cell_t c, Thread *t, int i : gives you temperature gradient component.

C_T_G(c,t) -- cell_t c, Thread *t : gives you temperature gradient vector.
  Reply With Quote

Old   October 16, 2001, 02:26
Default Re: Temperature gradient
  #3
Michal
Guest
 
Posts: n/a
Thanks very much for Your help!
  Reply With Quote

Old   October 16, 2001, 07:02
Default Re: Temperature gradient
  #4
Greg Perkins
Guest
 
Posts: n/a
You may need to be careful when using these macros depending upon what you are doing with them. They are not generally applicable for calculating gradients at faces - ie for flux calculations. As far as I can work out they return the gradients between neighbouring cells in the specified direction.

Greg
  Reply With Quote

Old   October 19, 2001, 05:09
Default Re: Temperature gradient
  #5
Michal
Guest
 
Posts: n/a
I just only want to check value of temperature gradient at my computational domain but when I use

C_UDMI(c,t,i)= C_T_G(c,t)[0];

my UDF is compiled correctly but Fluent send a SEGMENTATION VIOLATION error.

What could be a reason of that?
  Reply With Quote

Old   October 19, 2001, 06:19
Default Re: Temperature gradient
  #6
Greg Perkins
Guest
 
Posts: n/a
Did you define sufficient space for your udm's??
  Reply With Quote

Old   October 19, 2001, 06:39
Default Re: Temperature gradient
  #7
Michal
Guest
 
Posts: n/a
Yes, I defined u sufficient space for UDMI's...

My domain is axissymetric and I make:

C_UDMI(c,t,0) = C_T_G(c,t)[0] for axial direction C_UDMI(c,t,1) = C_T_G(c,t)[1] for radial direction

Is it correct?
  Reply With Quote

Old   December 3, 2001, 12:24
Default Re: Temperature gradient
  #8
Avinash kadam
Guest
 
Posts: n/a
hi i need to know the temperature gradient in the domain, i am using the using the udf... but i didnt know how to display the same, please do suggest me
  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 in CFX Chander CFX 5 January 7, 2015 04:00
specified shear at wall - temperature gradient - UDF - access violation error senD Fluent UDF and Scheme Programming 9 September 18, 2014 08:29
Wall correction for the temperature gradient Hagen OpenFOAM 0 March 7, 2011 21:04
Temperature Gradient at Wall sven OpenFOAM 7 November 1, 2010 18:25
temperature normal gradient on a boundary Sandrine Main CFD Forum 2 June 10, 2009 17:34


All times are GMT -4. The time now is 19:06.