|
[Sponsors] |
User-defined function for Drag modification in multiphase flow |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 30, 2017, 23:54 |
User-defined function for Drag modification in multiphase flow
|
#1 |
New Member
Rakhim
Join Date: Oct 2017
Posts: 3
Rep Power: 9 |
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! |
|
November 3, 2017, 11:49 |
|
#2 |
Senior Member
Micael
Join Date: Mar 2009
Location: Canada
Posts: 157
Rep Power: 18 |
There is an example UDF for that in the UDF user guide.
|
|
November 17, 2017, 08:31 |
|
#3 |
New Member
Rakhim
Join Date: Oct 2017
Posts: 3
Rep Power: 9 |
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? |
|
November 30, 2017, 08:37 |
|
#4 | |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Quote:
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. |
||
Tags |
drag modification, fluent, gidaspow, user defined function |
|
|
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 |