|
[Sponsors] |
September 16, 2014, 05:36 |
UDF for Cp
|
#1 |
New Member
Join Date: Jul 2014
Posts: 6
Rep Power: 12 |
Hi everybody!
I am using fluent 15.0 and I want to add a Cp to the material properties. I wrote this simple code: DEFINE_SPECIFIC_HEAT(define_cp, T, Tref, h, yi) { real cap; cap=1000.; *h = cap*(T-Tref); return cap; } then I compile my file.c and I notice that I all defining functions are well compiled (define_property, define_adjust etc.) but define_specific_heat does not appear. Can somebody help me please??? Stefano |
|
September 17, 2014, 02:45 |
|
#2 |
Senior Member
Join Date: Nov 2010
Posts: 103
Rep Power: 16 |
it looks fine according to the example here.
Have you tried to compile/interpret it individually without other functions? or maybe check if you have already enabled the energy equation (i know it sounds silly! but this things happen) cheers! |
|
June 2, 2015, 04:38 |
|
#3 |
New Member
sachin chandroth
Join Date: May 2015
Posts: 1
Rep Power: 0 |
what is cap?
|
|
June 2, 2015, 06:34 |
|
#4 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
Source Term UDF VS Porous Media Model | pchoopanya | Fluent UDF and Scheme Programming | 1 | August 28, 2013 07:12 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |