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

Approach to learning UDF programming?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2011, 08:02
Question Approach to learning UDF programming?
  #1
New Member
 
CFD-student's Avatar
 
Join Date: Dec 2011
Location: Sweden
Posts: 13
Rep Power: 15
CFD-student is on a distinguished road
Hi,
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
CFD-student is offline   Reply With Quote

Old   December 13, 2011, 01:02
Default spray modelling
  #2
Member
 
Prakash Ghose
Join Date: Dec 2011
Posts: 34
Rep Power: 15
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
a.Diameter
b.Velocity magnitude
c.Radius
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!
CFD-student
Prakash Ghose
pghoseju is offline   Reply With Quote

Old   July 9, 2014, 13:17
Default
  #3
New Member
 
Sreeraj Varma
Join Date: Jun 2014
Posts: 8
Rep Power: 12
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, 07:45
Default
  #4
Member
 
David
Join Date: Aug 2012
Posts: 48
Rep Power: 14
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, 16:37
Default
  #5
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17
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

Old   May 6, 2020, 05:54
Default
  #6
Member
 
Homayoon sohrabi
Join Date: May 2020
Posts: 56
Rep Power: 6
homay95 is on a distinguished road
Hello. Do you how I could write a UDF for velocity slip and temperature jump boundary condition for a liquid-solid interface?
Thanks for any help
homay95 is offline   Reply With Quote

Old   January 6, 2021, 22:32
Default
  #7
New Member
 
zhangdongjie
Join Date: Jan 2021
Posts: 22
Rep Power: 5
zhangdongjie is on a distinguished road
Quote:
Originally Posted by homay95 View Post
Hello. Do you how I could write a UDF for velocity slip and temperature jump boundary condition for a liquid-solid interface?
Thanks for any help
Hello, may I have your UDF? Thank you very much。1248385182@qq.com
zhangdongjie is offline   Reply With Quote

Reply

Tags
fluent 13.0, programming, udf issue


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
UDF to adjust pressure outlet a.lynchy FLUENT 4 February 15, 2021 01:50
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 02:09
UDF : Chemical Reaction in Catalytic Converter adhimac FLUENT 1 March 27, 2001 15:04


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