CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

[UDF]surface combustion and inert heating in DPM. Help me.

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2019, 02:52
Default [UDF]surface combustion and inert heating in DPM. Help me.
New Member
Join Date: Apr 2019
Posts: 1
Rep Power: 0
hso is on a distinguished road
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)

/*initialize, variable declaration...*/
/* combustion model equation... */
     if(P_MASS(p) == Ash_Mass) P_CURRENT_LAW(p) = 1;
/*initialize, variable declaration...*/
      if(P_MASS(p) == Ash_Char_mass) P_CURRENT_LAW(p) = 8;
      if(P_CURRENT_LAW(p) == 8)
            /*source equation*/
That is, In DEFINE_DPM_LAW, CURRENT_LAW is set to 1 when the current mass equal to ash mass.

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.

hso is offline   Reply With Quote


coal, dpm, switch, udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

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 01:40
External combustion with DPM Markus FLUENT 0 April 11, 2006 22:55

All times are GMT -4. The time now is 08:58.