CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

Approach to learning UDF programming?

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

LinkBack Thread Tools Display Modes
Old   December 12, 2011, 08:02
Question Approach to learning UDF programming?
New Member
CFD-student's Avatar
Join Date: Dec 2011
Location: Sweden
Posts: 13
Rep Power: 8
CFD-student is on a distinguished road
Im currently studying fluid dynamics, transport processes etc. Furthermore I have basic knowledge about handling fluent and the ANSYS workbench. However to further improve my ability in simulation with fluent I feel that I need to be able to write my own UDF:s, my programming knowledge is limited to MatLab. Therefore I would be very if happy if someone could suggest an approach to lear how to write UDF:s in Fluent? I understand that i probably must learn C? Which books or resources would you recommend for that?

Best regards!
CFD-student is offline   Reply With Quote

Old   December 13, 2011, 01:02
Default spray modelling
New Member
Prakash Ghose
Join Date: Dec 2011
Posts: 29
Rep Power: 8
pghoseju is on a distinguished road
I am currently working on spray modelling(axi-symmetry) by using species transportation+DPM in Fluent 13.0. i want to know that
1.Species transport: diffusion energy source should be disabled/enabled?
2.In injection, what is the relation between the point properties
b.Velocity magnitude
d.Total flow rate
3. In boundary condition: inlet: species: what should be the mass fraction of the fuel .0 or1 or inbetween0-1.

Best regards!
Prakash Ghose
pghoseju is offline   Reply With Quote

Old   July 9, 2014, 12:17
New Member
Sreeraj Varma
Join Date: Jun 2014
Posts: 8
Rep Power: 5
sreerajvarma is on a distinguished road
Can anyone tell how to start learning to write UDF's? I tried reading the Fluent user manual but didn't get it. So kindly help me out

Best Regards
Sreeraj Varma
sreerajvarma is offline   Reply With Quote

Old   July 10, 2014, 06:45
Join Date: Aug 2012
Posts: 48
Rep Power: 7
GM_XIII is on a distinguished road
A good start would be learning the basics of C programming. From that point here in this forum there are tons of examples and cases and of course is just a matter of practice.
GM_XIII is offline   Reply With Quote

Old   July 16, 2014, 15:37
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Laval University, Canada
Posts: 389
Rep Power: 10
macfly is on a distinguished road
And the basics of C programming are found... in Appendix A of the Ansys Fluent UDF Manual!

You need to read the Fluent UDF manual, not the Fluent User's guide.

There is no better source than the UDF manual in order to learn the basics, you have to put some time into it.
macfly is offline   Reply With Quote


fluent 13.0, programming, udf issue

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
UDF to adjust pressure outlet a.lynchy FLUENT 3 February 13, 2012 05:03
Simulation with UDF for species mass fraction and velocity profile virgy Fluent UDF and Scheme Programming 8 February 7, 2012 05:30
Help Parallelizing UDF AndresC FLUENT 0 February 25, 2010 16:50
UDF or any approach for Bulk Temperature calculation vemps FLUENT 0 May 1, 2009 01:09
UDF : Chemical Reaction in Catalytic Converter adhimac FLUENT 1 March 27, 2001 14:04

All times are GMT -4. The time now is 05:21.