# UDF for mass transfer from DPM to continuous phase

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 LinkBack Thread Tools Search this Thread Display Modes
 September 22, 2022, 10:52 UDF for mass transfer from DPM to continuous phase #1 New Member   mpcaixeta Join Date: Sep 2022 Posts: 1 Rep Power: 0 Hi, I'm modeling a bubble/liquid (ozone/water) system using DPM approach. I want to describe the ozone mass transfer from the gas phase (inert DPM particle) to the liquid phase (dissolved ozone as a species), but I'm not finding any related information to combine a DPM udf with a species transport udf describing a mass transfer. I wrote the algorithm to calculate the ozone mass transfer (see below), but now it is necessary to call some macro or macros so the udf can be available to be hooked into Fluent. I searched in the UDF manual, but I could not relate any macro that just promotes this type of calculation, It would be the DEFINE_DPM_SOURCE? but this is just a kl_o3 calculation (output variable). Can anyone help me with this please!? Thanks in advance! /* UDF to calculate the gas mass transfer coefficient from the bubble surface */ #include "udf.h" #define D_o3 1.76e-9 /* Ozone difusivity */ #define Pi 3.141592 /* Pi number */ #define L 0.2 /* column length */ real u_bmag; /* bubble velocity magnitude */ real u_rel; /* relative velocity between the bubble and the continuous phase */ real t_c; /* contact time between the bubble and the continuous phase */ real kl_o3;/* Ozone mass transfer coefficient */ u_bmag = sqrt(P_VEL(p)[0] * P_VEL(p)[0] + P_VEL(p)[1] * P_VEL(p)[1] + P_VEL(p)[2] * P_VEL(p)[2]); u_rel = fabs(C_U(c, t) - u_bmag); t_c = (L - P_POS(p)[1]) / u_rel; kl_o3 = sqrt(D_o3 / (Pi*t_c)); /* Higbie penetration model */ Last edited by mpcaixeta; September 29, 2022 at 11:11.

 Tags dpm fluent model, mass transfer model, species mass transfer, udf

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 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 OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post arunraj FLUENT 1 May 25, 2020 12:21 wersoe Fluent UDF and Scheme Programming 1 January 4, 2017 07:11 sunilpatil CFX 8 April 26, 2013 07:00 Hanz Fluent UDF and Scheme Programming 0 June 2, 2009 14:08 youngan CFX 0 July 1, 2003 23:32

All times are GMT -4. The time now is 03:42.

 Contact Us - CFD Online - Privacy Statement - Top