|
[Sponsors] |
[UDF]surface combustion and inert heating in DPM. Help me. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 14, 2019, 03:52 |
[UDF]surface combustion and inert heating in DPM. Help me.
|
#1 |
New Member
Join Date: Apr 2019
Posts: 1
Rep Power: 0 |
Hello, I have a question about DPM.
I'm studing coal combustion. And I use FLUENT UDF to apply another surface combustion model. But, there is a problem in the process of conversion to inert heating after the end of surface combustion. Here is my code: (I wrote it briefly) Code:
DEFINE_DPM_LAW(surface_comb,p,coupled) { /*initialize, variable declaration...*/ /* combustion model equation... */ if(P_MASS(p) == Ash_Mass) P_CURRENT_LAW(p) = 1; } DEFINE_DPM_SOURCE(source,c,t,S,strength,p) { /*initialize, variable declaration...*/ if(P_MASS(p) == Ash_Char_mass) P_CURRENT_LAW(p) = 8; if(P_CURRENT_LAW(p) == 8) { /*source equation*/ } } But, this method does not work properly. An error also occurs with P_CURRENT_LAW_INDEX(p). When DPM_SWITCH is used, the size of the coal become strange. I do not know how to proceed with Inert Heating after Surface Combustion. Please Help. Thanks. |
|
Tags |
coal, dpm, switch, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Recording very high temperatures in my model of micro combustion in porous inert medi | Evnie1 | FLUENT | 0 | April 23, 2019 02:40 |
External combustion with DPM | Markus | FLUENT | 0 | April 11, 2006 23:55 |