|
[Sponsors] |
![]() |
![]() |
#1 |
Guest
Posts: n/a
|
Hi! Why the C_CP(c,t) in FLUENT 5 UDF does not work? How can define this parameter in UDF? Thanks, best reguards.
gino. |
|
![]() |
![]() |
![]() |
#2 |
Guest
Posts: n/a
|
You can't - don't ask me why though - its something Fluent dreamt up! You may be able to fudge this by modifying the density since the heat capacity is rho*Cp but be careful sine this will impact other terms in the eqns.
Greg |
|
![]() |
![]() |
![]() |
#3 |
Guest
Posts: n/a
|
I think that this macro works correctly but only in compiled version of UDF (not interpreted).
|
|
![]() |
![]() |
![]() |
#4 |
Guest
Posts: n/a
|
Oh, sorry - I may have misunderstood.
There should be no problem using that macro to read the current value of CP in a cell. But what I meant was, you can't change the definition of CP using that macro in your udf. You can only use the definitions of CP that Fluent have provided. If you find otherwise let me know. Greg |
|
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
How to write udf for specific heat | nanoraja | ANSYS Meshing & Geometry | 1 | September 14, 2011 12:34 |
modelling heat flux in udf | dzuodoka | Fluent UDF and Scheme Programming | 0 | November 24, 2010 06:10 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 09:56 |
Two-Phase Buoyant Flow Issue | Miguel Baritto | CFX | 4 | August 31, 2006 13:02 |