|
[Sponsors] |
Define_Specific_heat UDF as function of both T and P |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Gianmarco
Join Date: Nov 2021
Posts: 10
Rep Power: 5 ![]() |
Hello everyone,
In order to define the specific heat property I got that i must use the DEFINE_SPECIFC_HEAT macro. According to the manual it comes only as a function of temperature and sensible enthalpy DEFINE_SPECIFIC_HEAT( name, T, Tref, h, yi) As I have a database of Cp varying with both temperature and pressure, is it possibile to express property also as function of P, bypassing fluent's limit in define_specific_heat? Maybe through the use of a different udf. Thank you for your help. Gianmarco |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Gianmarco
Join Date: Nov 2021
Posts: 10
Rep Power: 5 ![]() |
For anyone having the same problem, I managed to solve this using a User defined real gas model.
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Ved prakash
Join Date: Sep 2019
Posts: 2
Rep Power: 0 ![]() |
hi, I have to give density as a function of temperature for my film cooling problem. I have a density ratio of 1.3 for my steady flow. can you help me write UDF for this?
any help would be appreciated? |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 ![]() ![]() |
ansys fluent customization manual,
look for DEFINE_PROPERTY macro, there are few good examples
__________________
best regards ****************************** press LIKE if this message was helpful |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
foamToTecplot360 | thomasduerr | OpenFOAM Post-Processing | 121 | June 11, 2021 11:05 |
[FLUENT] Loading UDF function problems | Faggio11 | FLUENT | 0 | August 9, 2016 07:33 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
latest OpenFOAM-1.6.x from git failed to compile | phsieh2005 | OpenFOAM Bugs | 25 | February 9, 2010 05:37 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |