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

Changing devolatilisation Arrhenius parameters via UDF?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2019, 09:09
Default Changing devolatilisation Arrhenius parameters via UDF?
  #1
New Member
 
Join Date: Dec 2019
Posts: 29
Rep Power: 7
Baum is on a distinguished road
Hi all,

I am currently wondering about how I can change the Arrhenius parameters of the devolatilisation of a particle based on the particle diameter. I don't really want to re-write the whole devolatilisation law with mass and energy balances, since that seems like overkill.

The pseudo-code looks like this:
/******* UDF that models custom Arrhenius parameters for each particle **************/

#include "udf.h"
DEFINE_DPM_LAW(variable_Arrhenius, p, ci){
if (0 < P_DIAM(p) < 100)
A = 1;
E = 100;
else if ( 100 < P_DIAM(p) < 500)
A = 2;
E = 200;
else
A = 3;
E = 300;
VaporizationLaw(p);
}


But I can not seem to find a way to edit A and E?

Any help would be appreciated.

Cheers!


Baum is offline   Reply With Quote

Old   December 2, 2019, 20:17
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
share your case, I'll try to find something
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   December 3, 2019, 11:29
Default
  #3
New Member
 
Join Date: Dec 2019
Posts: 29
Rep Power: 7
Baum is on a distinguished road
Hey Alexander, thanks for the quick reply. I am not able to share the real case, but in general it's just a simple tube with a particle injection at one end. I have a representative simplified case at hand, however I seem not to be able to upload it here due to file restrictions. The geometry and injections are irrelevant though, and the problem can be found in any combustion case.
Baum is offline   Reply With Quote

Old   December 4, 2019, 23:55
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
I dont know how to set up this problem correctly. No experience, cant help you without case
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Reply

Tags
arrhenius, devolatilisation, udf


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
how to plot graph for output parameters using UDF? ned.musab Fluent UDF and Scheme Programming 0 October 29, 2017 08:23
Need help in writing UDF for an oscillating airfoil to get Output parameters ned.musab FLUENT 0 October 27, 2017 12:21
How to modify Arrhenius rate parameters in Fluent ?? Kashif123 FLUENT 0 October 25, 2016 22:59
changing scheme variable with UDF? Wagemakers FLUENT 17 September 30, 2015 15:34
udf or Parameters in fluent..plz help.. nitman118 Fluent UDF and Scheme Programming 0 June 6, 2013 07:51


All times are GMT -4. The time now is 02:54.