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

cell temperature

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 24, 2023, 09:36
Default cell temperature
  #1
New Member
 
HRSD
Join Date: Jul 2023
Posts: 11
Rep Power: 2
HRSD is on a distinguished road
hi,

we can find cell temperature and boundary cell face temperature with C_T(c,t) and F_T(f,t) command in udf.

what is this temperatures(C_T(c,t) and F_T(f,t))?, total or static temperature?

thanks for your help.

Last edited by HRSD; October 27, 2023 at 02:25.
HRSD is offline   Reply With Quote

Old   October 31, 2023, 06:48
Default
  #2
Senior Member
 
Join Date: Sep 2017
Posts: 246
Rep Power: 11
obscureed is on a distinguished road
Disclaimer: I'm on shaky ground here, so you should confirm it for yourself by looking at the equations that Fluent is solving, and also by the test case I mention at the end.

When I look at the equation that Fluent solves for energy in compressible cases, I see that the equation solves for E. This quantity (which the manual does not name) is total energy per unit mass of fluid, defined as E = (h - p/rho + v^2/2). Temperature is deduced only from enthalpy, h, which is not dependent on fluid speed, v. I conclude from this that the temperatures that are discussed and reported are static temperatures.

When I last looked, kinetic energy effects are turned off by default if you are using the pressure-based solver. They are typically irrelevant if the fluid is incompressible. In these cases, you should be looking at static temperature results, and this is what C_T should give you as well.

I have to admit that I would find it challenging to devise a test case where I could predict in advance the difference between static and total temperatures. It's easy enough to get some compressible fluid moving fast enough that the two temperatures are different, but these temperatures would also be different from the starting temperature (due to pressure changes as well as kinetic energy), and conduction effects would interfere with any sharp gradients. However, it's easy enough to compare Fluent's postprocessed results with samples from User-Defined Functions, so I would recommend that you do this to be sure. (For example, the UDF could loop over all cells and report the smallest value of C_T.)
obscureed 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
PEMFC tutorial case problem Suleyman41 FLUENT 2 July 15, 2023 11:16
how can use the cell temperature of each cell from zone 1 in zone 2 with UDF? bhwcs Fluent UDF and Scheme Programming 9 November 17, 2021 02:20
Calling a cell with its reference id and obtain it's temperature visitor Fluent UDF and Scheme Programming 3 August 26, 2020 12:20
Getting density, temperature, and other cell flow variables via macros in Fluent UDF ingabobjoe Fluent UDF and Scheme Programming 2 August 15, 2020 21:08
Journal file error magicalmarshmallow FLUENT 3 April 4, 2014 12:25


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