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

Help! reaction udf for multiphase

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2015, 08:05
Default Help! reaction udf for multiphase
  #1
New Member
 
Join Date: Jan 2015
Posts: 3
Rep Power: 11
m_amiri is on a distinguished road
Dear all
I would like to write a reaction in in two phase gas solid eulerian-granular model with fluent. my reaction mechanism is not in the Arrhenius form. I have two general question?
1. in udf macros there are some which related to reaction such as heterogeneous reaction, VR_Reaction, Net_Rate_Reaction, Mass Transfer Source Therm. which one is appropriate for this case?
2. when there are one gas mixture and one solid mixture (which solids are defined as fluid in material because of Euler_Gran Model), considering VR_Reaction Macro, how I can access to species properties in each phase such as mass fraction or molecular weight,...?
Any help will be much appreciated. Many thanks!
m_amiri is offline   Reply With Quote

Old   January 14, 2015, 03:36
Default
  #2
Sun
Senior Member
 
Sun's Avatar
 
Join Date: Nov 2010
Posts: 103
Rep Power: 15
Sun is on a distinguished road
This is how I would be looking at the kinetics-related problem. Let's assume you are solving a PDE to represent the conversion of your reactant and the diffusion is not important. The form of your PDE is then:

\frac{\partial {X}}{\partial {t}} + \nabla \cdot (XU) = source

In this case you need to define a UDS (user defined scalar) to identify the conversion's behavior of X in time and space. The source term can then be coded using DEFINE_SOURCE macro (Arrhenious or non-arrhenious, as long as you have an expression for that).

Regarding to your second question, as far as I understand, I think you are looking for macros such as C_YI(c,t,i) and etc. Have a look at tables 3.2.8 to 3.2.16 for more details.
cheers!
Sun is offline   Reply With Quote

Old   January 15, 2015, 09:54
Default
  #3
New Member
 
Join Date: Jan 2015
Posts: 3
Rep Power: 11
m_amiri is on a distinguished road
Thanks for your reply.
my problem is in multiphase udf macros such as VR_Rate how can i access to properties of each species in each phase.
Thanks.
m_amiri is offline   Reply With Quote

Reply


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
surface reaction UDF jeniuswx Fluent UDF and Scheme Programming 2 August 8, 2017 12:06
surface reaction UDF jeniuswx Fluent UDF and Scheme Programming 2 April 11, 2013 03:33
UDF about reaction rate Julien FLUENT 0 June 30, 2005 12:23
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 00:07
UDF : Chemical Reaction in Catalytic Converter adhimac FLUENT 1 March 27, 2001 14:04


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