CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF for specific heat - error

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 13, 2013, 06:30
Question UDF for specific heat - error
New Member
Join Date: Oct 2013
Posts: 1
Rep Power: 0
tarui23 is on a distinguished road
Hi everyone,
I have got a probelm with a UDF describing the specific heat of species. When I compile the udf it gives some error.

The udf is shown below.

#include "udf.h"
real cp1,cp2,cp;
if (T<765)
cp=C_YI(cell,thread,0)*cp1+C_YI(cell,thread,1)*cp2 ;
return cp;

Any help would be great.
tarui23 is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] an error in Calculator's equation immortality ParaView 12 June 29, 2021 00:10
[] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 17:38
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16

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