CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

UDF for specific heat - error

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

LinkBack Thread Tools 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
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
an error in Calculator's equation immortality OpenFOAM Paraview & paraFoam 11 September 3, 2013 16:18
compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 2 August 30, 2013 07:42
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 18:38
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16

All times are GMT -4. The time now is 17:21.