CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UFD properties

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2023, 09:27
Default UFD properties
  #1
Senior Member
 
Davide
Join Date: Jul 2015
Posts: 107
Rep Power: 11
marsa27 is on a distinguished road
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
marsa27 is offline   Reply With Quote

Old   April 18, 2023, 17:48
Default
  #2
New Member
 
pavan vemula
Join Date: Jun 2022
Posts: 3
Rep Power: 4
vemula is on a distinguished road
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
vemula is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 18:21.