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

udf for paraffin wax density

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 19, 2017, 14:03
Default udf for paraffin wax density
  #1
Member
 
Reslan Technical
Join Date: Nov 2015
Posts: 49
Rep Power: 10
reslan is on a distinguished road
Hello
i need write this equation below for paraffin wax density in c++ ,but i do not know how to write it?
can any one write it to me , please

density = 750/(0.001(T-319.15)+1)

where T is temperature

solid Tem for paraffin = 319
liquid Tem for paraffin = 321

T solid < T < T liquid
reslan is offline   Reply With Quote

Old   December 20, 2017, 02:04
Default
  #2
New Member
 
Alex
Join Date: Dec 2017
Posts: 13
Rep Power: 8
EternalEnvy is on a distinguished road
Use DEFINE_PROPERTY to define the density, then compile the UDF. If you require more information, Ansys help?
EternalEnvy is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
confusion on how to write udf for density of a mixture solution in multiphase problem Hirakjyoti Fluent UDF and Scheme Programming 1 September 11, 2017 02:21
Density UDF Divergence Baden Fluent UDF and Scheme Programming 0 January 11, 2017 16:25
UDF for solid density gghazal Fluent UDF and Scheme Programming 3 November 13, 2012 04:10
UDF: Density Cell Gradient Vector Macros matteo FLUENT 0 December 1, 2007 13:14
UDF to change density in species transport Karthik FLUENT 6 December 8, 2004 19:19


All times are GMT -4. The time now is 04:58.