|
[Sponsors] |
Heat and mass transfer by using DPM model and UDF in fluent |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 17, 2016, 23:06 |
Heat and mass transfer by using DPM model and UDF in fluent
|
#1 |
New Member
JUNCAI LI
Join Date: Oct 2016
Posts: 7
Rep Power: 10 |
I've got a problem about using the macro of TP_COMPONENT_INDEX_I(p,is)when i want to identify the vaporating component in multicomponent DPM particles. In my* case,particle materal is*the solution of CO3HNa and bulk gas consists of air and water vapor(So,only water get involved in vaporation).My code to judge vaporation or not listed below.
for (ns = 0; ns < nc; ns++) { int gas_index = TP_COMPONENT_INDEX_I(p, ns); /* gas species index of vaporization */ if (gas_index >= 0) It*worked smoothly in fluent,while,no vaporation*happened.However,i found the returned value of TP_COMPONENT_INDEX_I(p, ns) is -1.I don't know why the returned value is negative.There*are no details about the using of TP_COMPONENT_INDEX_I(p, ns) in fluent udf manual.Can*anybody give me some advices? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Erron: FLUENT received fatal signal (ACCESS_VIOLATION) in DPM Heat and Mass Transfer | Melvin | FLUENT | 2 | November 17, 2016 02:06 |
DPM Heat and mass transfer. | prasadsai31 | Fluent UDF and Scheme Programming | 1 | September 24, 2014 06:28 |
About phase change heat and mass transfer | Michael | FLUENT | 2 | February 13, 2011 02:49 |
UDF for Heat Exchanger model | francois louw | FLUENT | 2 | July 16, 2010 03:21 |
writing UDF for modelig mass transfer for VOF | ardalan soleymani | FLUENT | 0 | July 11, 2007 02:09 |