Thursday, January 14, 2010

Fluent UDF Programming : Guides / References to User Defined Function Implementation

An guide to programming in Fluent can be found from the Stanford site

http://www.stanford.edu/class/me469b/handouts/programming.pdf

with details of data structure (Data Structures Using C), variable macro description and usage, journal files, batch execution, automatic adaptation, optimization (including procedure). A good reference that comes handy.

The complete Fluent 6.3 manual for UDFs can be downloaded from

http://www.hipecc.wichita.edu/pdfs/fludf.pdf

With this file, it should be straightforward to create and work on your own physical/numerical modeling.

I came across this CFD FAQ in

http://old.blog.edu.cn/user2/bubujia/archives/2006/1429952.shtml#My_UDF_won.27t_interpret_or_compile_-_what_is_wrong.3F

describing typical user conversations on errors, not able to interpret/compile UDFs similar to CFD-online discussions. Some details are nicely explained and makes sure that we know what we are doing !

Found this thesis: http://www.lib.ncsu.edu/theses/available/etd-04182004-190446/unrestricted/etd.pdf#109
with some nice UDF implementation for properties and coupling with FIDAP.

udf Usage for modeling evaporation (Assessment of convection, conduction, and evaporation in nucleate boiling (NASA technical note)), mass transfer etc : http://scholarsmine.mst.edu/thesis/pdf/Vusirikala_09007dcc80446043.pdf

udf usage for particle trapping: http://upetd.up.ac.za/thesis/available/etd-10072005-095941/unrestricted/03appendicesG-H.pdf

udf usage for momentum source : http://upetd.up.ac.za/thesis/available/etd-01242006-100142/unrestricted/06back.pdf

udf for predicting particle deposition frequency: http://deposit.ddb.de/cgi-bin/dokserv?idn=987091190&dok_var=d1&dok_ext=pdf&filename=987091190.pdf

udf for predefined pictch heave motion : http://www.esru.strath.ac.uk/Documents/MSc_2006/glynn.pdf

udf for calculation of second law of thermodynamics (really nice one!)

http://txspace.tamu.edu/bitstream/handle/1969/1324/etd-tamu-2004C-2-AERO-Chambers.pdf?sequence=1

UDF for varying CFD boundary conditions + stratified energy storage:
: http://130.15.126.37/bitstream/1974/5178/1/Rysanek_Adam_M_200909_MScE.pdf


UDF : setting target mass flow rate in pressure outlet, and some matlab data processing routines.
https://qspace.library.queensu.ca/bitstream/1974/5128/1/Hu_ZhengYu_200909_Master.pdf

UDF listings for source terms implementation:

http://www.wpi.edu/Pubs/ETD/Available/etd-010907-142804/unrestricted/StRock.pdf


UDF's for calculating temperature dependent properties of single species and mixture

http://e-collection.ethbib.ethz.ch/eserv/eth:29781/eth-29781-01.pdf

Nice UDF implementation for Chemical Vapor deposition modeling !

http://dspace.library.drexel.edu/bitstream/1860/344/8/iskenderova_thesis.pdf

1 comment: