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

DEFINE_PROPERTY udf question

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2008, 12:49
Default DEFINE_PROPERTY udf question
  #1
Erik
Guest
 
Posts: n/a
I want to preface this by saying that I'm relatively new to using fluent and I have not written any udfs to date.

With that said, does anyone have an example of how to write a DEFINE_PROPERTY udf? I'm modeling liquid-liquid combustion using dense gases (I'm purposely neglecting droplet formation/vaporization for simplicity) and I want to specify liquid densities for my reactants (from a temperature dependent lookup table) and have fluent use the ideal gas law to calculate the density of the products. Has anyone out there done this before? Can you provide me with any pointers on how to do this?

Thanks,

Erik
  Reply With Quote

Old   February 17, 2008, 10:11
Default Re: DEFINE_PROPERTY udf question
  #2
NRD
Guest
 
Posts: n/a
My response might not answer your question directly, however, I just thought of sharing my experience.

I had been trying to write an UDF to account for the variable density of water using an equation of state. I realized that if we want to calculate density using DEFINE_PROPERTY you need to redefine speed of sound also. You will find an UDF related to this in the DEFINE_PROPERTY section of the FLUENT UDF manual. Let me know if you have questions on my implementation.
  Reply With Quote

Old   September 4, 2012, 04:10
Default
  #3
New Member
 
wen han
Join Date: Aug 2012
Location: China Wuhan
Posts: 4
Rep Power: 13
hw0076 is on a distinguished road
Hi,NRD,may I ask a question about property UDF,I want to define a user-defined viscosity and thermal conductivity, so is there other restrictions in other properties?
I set the density as ideal-gas,and i can't choose udf for option for viscosity and thermal conductivity,do you know why?
Thank you!
hw0076 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
A simple UDF question Pirooz Darabi FLUENT 0 October 31, 2007 15:22
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 19:01
Question about UDF summer FLUENT 1 July 18, 2006 10:13
UDF question Ryan FLUENT 2 July 5, 2006 14:54
A question about the dynamic mesh UDF Tango FLUENT 1 November 27, 2003 02:56


All times are GMT -4. The time now is 00:35.