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

DEFINE_PROPERTY udf question

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 6, 2008, 13: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, 11: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, 05:10
Default
  #3
New Member
 
wen han
Join Date: Aug 2012
Location: China Wuhan
Posts: 4
Rep Power: 4
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

Thread Tools
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 On
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 17:22
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 20:01
Question about UDF summer FLUENT 1 July 18, 2006 11:13
UDF question Ryan FLUENT 2 July 5, 2006 15:54
A question about the dynamic mesh UDF Tango FLUENT 1 November 27, 2003 03:56


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