CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

Multiphase udf

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

LinkBack Thread Tools Display Modes
Old   June 5, 2012, 15:52
Smile Multiphase udf
New Member
Join Date: Dec 2009
Posts: 10
Rep Power: 9
ak2009 is on a distinguished road
Sponsored Links
Hi ....

I am writing udf to calculate phase flow at outlet. Working with multiphase flows ...

I wrote some udf for single phase. However not able to convert it to multiphase...

Giving below the udf for single phase flow...

#include "udf.h"

DEFINE_EXECUTE_AT_END (calculate_water_flow_rate)

Domain *d;
real total_flow_rate=0;
face_t f;
d = Get_Domain(2);
Thread *thread;





total_flow_rate += F_FLUX(f,thread);




printf("flow rate of water at outlet: %g/n", total_flow_rate);



can anybody provide me a example of multiphase udf....

any inputs would certainly do....

Last edited by ak2009; June 5, 2012 at 23:40.
ak2009 is offline   Reply With Quote
Sponsored Links


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
How to access only one phase in multiphase model by UDF wersoe Fluent UDF and Scheme Programming 1 January 4, 2017 08:11
UDF for coal combustion in multiphase flow niisha24 Fluent UDF and Scheme Programming 10 March 9, 2015 02:56
UDF problem in multiphase abolfazl364 Fluent UDF and Scheme Programming 0 February 6, 2012 12:20
Multiphase Mass transfer UDF issue therandomestname FLUENT 0 April 21, 2011 14:51
UDF for multiphase flow ROOZBEH FLUENT 3 April 7, 2004 17:54

Sponsored Links

All times are GMT -4. The time now is 08:34.