|
[Sponsors] |
February 6, 2008, 13:49 |
DEFINE_PROPERTY udf question
|
#1 |
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 |
|
February 17, 2008, 11:11 |
Re: DEFINE_PROPERTY udf question
|
#2 |
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. |
|
September 4, 2012, 05:10 |
|
#3 |
New Member
wen han
Join Date: Aug 2012
Location: China Wuhan
Posts: 4
Rep Power: 14 |
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! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A simple UDF question | Pirooz Darabi | FLUENT | 0 | October 31, 2007 16: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 |