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

Accessing total enthalpy values in a UDF

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By vinerm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2020, 09:19
Default Accessing total enthalpy values in a UDF
  #1
New Member
 
Nithin
Join Date: Sep 2019
Posts: 4
Rep Power: 7
nithinnm123 is on a distinguished road
I am trying to obtain total enthalpy values of my finite rate combustion simulations. I tried using the C_H(c,t) macro, but it retrieves sensible enthalpy values and not total enthalpy values. How do I access the total enthalpy values, either through some computation within the UDF or through a macro?
( if it is even possible)
nithinnm123 is offline   Reply With Quote

Old   February 14, 2020, 14:06
Default Enthalpy of Formation
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
You may have to add enthalpy of formation to that. You can use PROP_href or PROP_hform to fetch this within a UDF. Look at UDF example that uses species loop.
nithinnm123 likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm 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
The total enthalpy of a radial turbine Ahmed Saeed Mansour CFX 2 February 13, 2017 12:28
UDF for reading velocity values and adding random perturbation Jomid Fluent UDF and Scheme Programming 0 October 2, 2016 01:46
UDF gives different values than calculated manually RebeccaKn92 Fluent UDF and Scheme Programming 4 February 6, 2016 12:29
Problem with a simple UDF to calculate cell-averaged particle values kmayank FLUENT 1 January 18, 2011 02:40
Availability of previous time level values in UDF ranga sudarsan FLUENT 0 September 1, 2008 10:17


All times are GMT -4. The time now is 20:44.