|
[Sponsors] |
Different behavior using UDF vs constant value |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 28, 2015, 12:01 |
Different behavior using UDF vs constant value
|
#1 |
Member
Nick
Join Date: Feb 2012
Posts: 33
Rep Power: 14 |
Hi there!
I want to simulate fast combustion of air-methane mixture in FLUENT and I use methane-air-2step as material. Giving to this mixture a constant value for specific heat and the same value by meaning of DEFINE_SPECIFIC_HEAT, the results are very different (for example, in the first case the temperatures start from 300K, as I set for initial conditions, and the second case has temperatures start from 2400K). The interpreted and compiled UDFs give identical results. Can you explain the different behavior between usage of constant value and same value in an UDF? Thank you! |
|
March 5, 2015, 22:42 |
|
#2 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
Could you supply the UDF you are using? Compare the results between using the UDF and not using the UDF; are these results different? Ensure that Fluent is hooking the UDF you intend and not an old copy.
|
|
March 6, 2015, 03:34 |
|
#3 |
Member
Nick
Join Date: Feb 2012
Posts: 33
Rep Power: 14 |
Thank you for reply, 'e'. Meanwhile, I solved the problem. The different between cases is that, using constant value, Fluent takes into account a reference temperature of 298.15K, and in case of using the same value in an UDF, the reference value is that you specified for initial conditions.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF using c_face_loop(c,t,i) | frederic | FLUENT | 3 | January 17, 2017 00:17 |
fluid flow but temperature raises from nowhere? | mxcfd | STAR-CCM+ | 5 | September 16, 2014 06:46 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
I need UDF help. | S.Whitney | FLUENT | 0 | October 15, 2007 12:29 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |