|
[Sponsors] |
April 9, 2014, 10:11 |
Confuse about DEFINE_DPM_SOURCE
|
#1 |
New Member
Join Date: Jan 2013
Posts: 3
Rep Power: 13 |
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,0)only point to the gas? Many thanks! Alex |
|
Tags |
mp_dot, strength |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Confuse about Nu Number in Laminar Flow | mariam.sara | FLUENT | 20 | November 23, 2015 15:36 |
Confuse about Nu Number in Laminar Flow | mariam.sara | FLUENT | 0 | January 30, 2014 08:44 |
three questions regarding interFoam (basic but may confuse many people) | Ya_Squall2010 | OpenFOAM Programming & Development | 0 | April 2, 2010 21:07 |
An confuse with boundary fitted coordinate | yka | Main CFD Forum | 5 | June 2, 2005 16:12 |
Please help,some data formats (IBLANK) confuse me. | Dianhong | Main CFD Forum | 3 | November 6, 2002 23:37 |