|
[Sponsors] |
UDF for Thermodynamic property function of P and T |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 4, 2019, 17:12 |
UDF for Thermodynamic property function of P and T
|
#1 |
New Member
Fab
Join Date: Dec 2018
Posts: 13
Rep Power: 8 |
Hi guys,
I have created a thermodynamic database for my fluid function of P and T and i would like to use it in my FLUENT calculation. I heard that in the past this was not possible in FLUENT. Is this problem being solved with the newest version? If so, how can i write an UDF to run my simulation? Many thanks in advance, |
|
February 5, 2019, 06:02 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Have you checked the Fluent help? It is practically there in the "Define_Property UDFs" section.
|
|
February 6, 2019, 12:32 |
|
#3 |
New Member
Fab
Join Date: Dec 2018
Posts: 13
Rep Power: 8 |
Thanks Pakk. Yes I have checked the DEFINE_Property function, however i didnt get it if this could work also for the specific heat. I have a matrix for specific heat function of pressure and temperature and i would like to use it since my fluid is affected by big pressure an temperature drops. Do you know if it is possible?
|
|
February 11, 2019, 01:45 |
|
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
for specific heat use DEFINE_SPECIFIC_HEAT macro
best regards |
|
February 11, 2019, 09:03 |
|
#5 |
New Member
Fab
Join Date: Dec 2018
Posts: 13
Rep Power: 8 |
Hi Alexanderz
Do you think i can set the cp function of the P and T with this function? I read that you can only specify the variation of the cP with T. |
|
February 11, 2019, 22:24 |
|
#6 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
I remember same information, only T. But you may try, it is not so difficult
best regards |
|
February 12, 2019, 05:41 |
|
#7 |
New Member
SS
Join Date: Sep 2018
Posts: 6
Rep Power: 8 |
It's definitely possible using Define_Property macros. I have used it earlier to model high temperature transport properties using chapman-enskog method. You can try
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
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 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |