CFD Online Logo CFD Online URL
Home > Forums > STAR-CD

User defined specific heat capacity

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

LinkBack Thread Tools Display Modes
Old   November 8, 2012, 10:59
Default User defined specific heat capacity
Senior Member
Join Date: Apr 2009
Posts: 118
Rep Power: 10
lost.identity is on a distinguished road

I'm doing a reacting flow simulation with tabulated chemistry (i.e. using a flamelet model). I use a progress variable, c, to represent the mixture thermo-chemistry. The look-up tables and the transport equations are of my own and not the the Star-CD's built-in ones.

The Cp values are tabulated as well and I use the subroutine SPECHT to obtain Cp. I use static enthalpy conservation equation with thermal enthalpy. I'm not sure if this method will give me the correct temperature as I seem to have ignored the chemical enthalpy whilst doing so.

Or does this mean I have to define the enthalpy in a user subroutine as well?


Last edited by lost.identity; November 8, 2012 at 11:24.
lost.identity is offline   Reply With Quote

Old   November 13, 2012, 11:34
Senior Member
Join Date: Apr 2009
Posts: 118
Rep Power: 10
lost.identity is on a distinguished road
I haven't been able to set this reacting flow case yet. In pro-STAR setup I set Reacting Flow to None since I will be setting up my own equations.

I define additional scalars required and their source terms as user defined subroutines. I do turn on the temperature calculation using static-enthalpy conservation equation.

I obtain \overline{C_p} from my flamelet table. At the moment I have two problems,

1. I used SPECHT to obtain \overline{C_p} from my look-up table, however this is only done at the start of the simulation and hence does not update after each time step.

2. There doesn't seem to be any link between the progress variable and temperature in my code, therefore my progress variable just diffuses with time.

How does one couple the progress variable and temperature? Any references will be helpful.

lost.identity is offline   Reply With Quote

Old   May 17, 2013, 00:42
Default Reading Cp from table
New Member
Hatef Khadivinassab
Join Date: Jan 2013
Posts: 6
Rep Power: 6
hatef is on a distinguished road
To put it into simple words, are you trying to get temperature dependent Cp from tabulated data?
hatef is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF for specific heat p_agoodboy Fluent UDF and Scheme Programming 9 November 26, 2014 11:58
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
user defined turbulence model manuutin STAR-CD 5 October 14, 2009 05:29
need help for using user defined heat exchanger sinha FLUENT 2 August 6, 2007 17:16
User Defined Scalars - Returning Values Carlos V. FLUENT 0 April 19, 2006 18:18

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