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

Confuse about DEFINE_DPM_SOURCE

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2014, 09:11
Default Confuse about DEFINE_DPM_SOURCE
  #1
New Member
 
Join Date: Jan 2013
Posts: 3
Rep Power: 13
ALEXZHUANG is on a distinguished road
Hi, world!
I am trying to know the function of DEFINE_DPM_SOURCE in the fluent software.
The example of DEFINE_DPM_SOURCE is as following.

DEFINE_DPM_SOURCE(dpm_source, c, t, S, strength, p)
{ real mp_dot;
Material *sp = P_METERIAL(p);

/* mp_dot is the (positive) mass source to the continuous phase */
/* (Difference in mass between entry and exit from cell) */
/* multiplied by strength (Number of particles/s in stream) */
mp_dot = (P_MASS0(p) - P_MASS(p)) * strength;
C_DPMS_YI(c,t,0) += mp_dot;
/* add latent heat of vaporization to dpm energy source */
C_DPMS_ENERGY(c,t) -= mp_dot * MATERIAL_PROP(sp,PROP_latent_heat);
/* Sensible heat dealt with by Fluent Automatically */

}

I am confused about the udf. There are some questions as follows.
1. what are the meanings of mp_dot& C_DPMS_YI(c,t,0)& S->species[*_index]&strength?
2. Should mp_dot always be positive?
3. Is there any difference between C_DPMS_YI(c,t,0) and S->species[*_index] ?
4. Is strength dimensionless
5. Does C_DPMS_YI(c,t,0only point to the gas?

Many thanks! Alex
ALEXZHUANG is offline   Reply With Quote

Reply

Tags
mp_dot, strength


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
Confuse about Nu Number in Laminar Flow mariam.sara FLUENT 20 November 23, 2015 14:36
Confuse about Nu Number in Laminar Flow mariam.sara FLUENT 0 January 30, 2014 07:44
three questions regarding interFoam (basic but may confuse many people) Ya_Squall2010 OpenFOAM Programming & Development 0 April 2, 2010 20:07
An confuse with boundary fitted coordinate yka Main CFD Forum 5 June 2, 2005 15:12
Please help,some data formats (IBLANK) confuse me. Dianhong Main CFD Forum 3 November 6, 2002 22:37


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