CFD Online Logo CFD Online URL
Home > Forums > FLUENT


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

LinkBack Thread Tools Display Modes
Old   June 1, 2008, 23:41
Default DEFINE_DPM_HEAT_MASS source terms
Sebastian Graulich
Posts: n/a

I'm trying to write my own mass transfer law for a multicomponent particle injection, but the source terms in the DEFINE_DPM_HEAT_MASS macro really do not do what I want. I've tried to keep it simple by writing a UDF that just transfers mass from the DPM particle to the fluid phase:

#include "udf.h"

/* Species: * Particle: [0]=fdp [1]=plasminogen * Blood: [0]=injected_tpa [1]=fdp_blood [2]=plasma */

/* Source Term Variable Unit

* particle temperature dydt[0] K/s

* particle component mass dydt[1..] kg/s

* gas phase enthalpy dzdt->energy J/s

* gas phase species mass dzdt->species[0..] kg/s */

DEFINE_DPM_HEAT_MASS(simple_source,p,Cp,hgas,hvap, cvap_surf,dydt,dzdt) {

int ns;

int nc = TP_N_COMPONENTS(p); /* number of particle components (2) */

for( ns = 0; ns < nc; ns++ )


dydt[1+ns] -= 0.000811578102;

dzdt->species[1+ns] += 0.000811578102;

} }

The evaporating species of fdp is fdb_blood and plasminogen should evaporate (be transferred) to plasma. But for some reason the DPM mass source in the simulation is two magnitudes smaller (2.0344e-06), the particle diameter does not at all getting smaller in the way it should be, and in the contour plot of the species I can't see that any mass is added to my fluid phase. Any ideas what could be wrong??

Thank you very much! Sebastian

  Reply With Quote


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
UDF: Source terms Novice FLUENT 0 January 13, 2009 05:17
Source Terms Babar FLUENT 0 September 11, 2007 01:11
Source Terms Sas Main CFD Forum 5 November 24, 2006 04:40
UDF - source terms Fred FLUENT 2 October 11, 2005 20:53
Source Terms Rajan CFX 1 March 14, 2005 10:26

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