|
[Sponsors] |
April 14, 2023, 09:27 |
UFD properties
|
#1 |
Senior Member
Davide
Join Date: Jul 2015
Posts: 107
Rep Power: 11 |
Hi,
I am interested to set variable properties with tempearature to my fluid in Fluent. Can someone tell me how prepapare a UDF for these two expressions? viscosity=A*e^(B/Temperature-D) where A,B,D are constant specifheatCp=((A*-Temperature+B))/(1-D*(Temperature-F)) Thank you |
|
April 18, 2023, 17:48 |
|
#2 |
New Member
pavan vemula
Join Date: Jun 2022
Posts: 3
Rep Power: 4 |
Hi
You can use DEFINE_PROPERTY macro in the udf to define the value based on the temperature of each cell. Once you have an expression defined in the udf you can go to edit your material property page and in the drop down list select you can select user defined which gives a list of all the macros defined in the udf you can select the one you want |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting the height of the stream in the free channel | kevinmccartin | CFX | 12 | October 13, 2022 22:43 |
Properties as a function of space/cellzone – porous region | absorbedsponge | OpenFOAM Pre-Processing | 0 | September 29, 2021 15:59 |
Domain Reference Pressure and mass flow inlet boundary | AdidaKK | CFX | 75 | August 20, 2018 06:37 |
Adding material to CFX material library | marlon | CFX | 2 | October 16, 2016 10:33 |
error message | cuteapathy | CFX | 14 | March 20, 2012 07:45 |