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

User-defined function for Drag modification in multiphase flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2017, 23:54
Default User-defined function for Drag modification in multiphase flow
  #1
New Member
 
Rakhim
Join Date: Oct 2017
Posts: 3
Rep Power: 9
Rakhim is on a distinguished road
Hello everyone,

I am in the process of setup of a multiphase flow and I need to develop user-defined function for drag coefficient. In the 'Phase Interaction' tab I chose 'Drag' and gidaspow model. And now, for drag factor, I want to choose user-defined and write a script with my own function which will calculate drag coefficient. How can I do that? I am just starting with Fluent. If you advise me some preliminary steps, so I can follow them up, I will appreciate it very much.

Thanks!
Rakhim is offline   Reply With Quote

Old   November 3, 2017, 11:49
Default
  #2
Senior Member
 
Micael
Join Date: Mar 2009
Location: Canada
Posts: 157
Rep Power: 18
Micael is on a distinguished road
There is an example UDF for that in the UDF user guide.
Micael is offline   Reply With Quote

Old   November 17, 2017, 08:31
Default
  #3
New Member
 
Rakhim
Join Date: Oct 2017
Posts: 3
Rep Power: 9
Rakhim is on a distinguished road
Quote:
Originally Posted by Micael View Post
There is an example UDF for that in the UDF user guide.
Dear Micael,

I built and loaded udf ('custom_drag' from fluent manual) successfully and without errors. But it was not appeared in dialog box (Warning message says 'No user-defined functions have been loaded'). Are you aware of this problem?
Rakhim is offline   Reply With Quote

Old   November 30, 2017, 08:37
Default
  #4
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
Quote:
Originally Posted by Rakhim View Post
Dear Micael,

I built and loaded udf ('custom_drag' from fluent manual) successfully and without errors. But it was not appeared in dialog box (Warning message says 'No user-defined functions have been loaded'). Are you aware of this problem?
It means that you did not build and load the udf successfully and without errors. Even though you think so.

You probably missed the errors that come onto your screen when you click 'build'. These errors are not red, you have to look for them in the 'normal' black text in the text user interface.
pakk is offline   Reply With Quote

Reply

Tags
drag modification, fluent, gidaspow, user defined function


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
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27
User defined function of mass flow rate Eric FLUENT 1 April 22, 2005 19:15
User Defined Function for convection coefficient ereiss FLUENT 1 July 8, 2004 17:10


All times are GMT -4. The time now is 11:51.