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

Problem with Volumetric Reactions in Fluent

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Kashif Rashid

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2014, 04:52
Default Problem with Volumetric Reactions in Fluent
  #1
New Member
 
Kashif Rashid
Join Date: Apr 2014
Posts: 8
Rep Power: 12
Kashif Rashid is on a distinguished road
I have written UDF in C, using fluent macro, “DEFINE_ADJUST”, for internal steam reforming (file attached). Reforming reactions have to take place inside porous anode electrode of Fuel Cell. Pre-reformed fuel mixture is used which consist of (CH4, H2, H2O, CO, CO2). The source terms are hooked in "Cell Zone Conditions" of fluent. UDMI, memories in Fluent are also allocated to store data for above terms (see code file). Initialization and msr_adj are also hooked, segregated solver is used. Energy, species models are tern on.

After doing all these things and running simulation, reactions are not taking place; there is no change in concentration of species at inlet and outlet.
However, when I selected Volumetric Reactions in the Fluent, second Laminar Finite-Rate, third the values of Pre-Exponentional Factors and Activation Energies are adjusted to my own required Arrhenius Rate, and fourth, stoichiometric coefficients are also set according to reforming and shift reactions.

After making above mentioned changes, plus using UDF, reactions are taking place. Because of these issues, I want to know/clarify following things:-

1. Is it necessary or mandatory to activate the Volumetric Reactions within the Fluent in the presence of UDF ??

2. Will this activation of Volumetric Reactions duplicate the calculations. Because i want to incorporate my own rate modeling through UDF whereas, Fluent is using Arrhenius Rate model. Which model is executed during simulation ?

3.Can i modify fluent Arrhenius rate model and other setting according to my own requirements ???
Attached Files
File Type: c UDF_MSR.c (6.7 KB, 79 views)
Kashif Rashid is offline   Reply With Quote

Old   October 17, 2016, 08:54
Default
  #2
New Member
 
Abhinav Hazarika
Join Date: Oct 2016
Posts: 3
Rep Power: 10
a.hazarika is on a distinguished road
Hello,

I am also trying to write a UDF for water gas shift reaction. But the problem is I am not getting any change in result as expected with change in activation energy. What can be the problem?
a.hazarika is offline   Reply With Quote

Old   December 28, 2017, 01:36
Default
  #3
Member
 
Join Date: Apr 2017
Location: india
Posts: 96
Rep Power: 9
sooraj546 is on a distinguished road
Quote:
Originally Posted by Kashif Rashid View Post
I have written UDF in C, using fluent macro, “DEFINE_ADJUST”, for internal steam reforming (file attached). Reforming reactions have to take place inside porous anode electrode of Fuel Cell. Pre-reformed fuel mixture is used which consist of (CH4, H2, H2O, CO, CO2). The source terms are hooked in "Cell Zone Conditions" of fluent. UDMI, memories in Fluent are also allocated to store data for above terms (see code file). Initialization and msr_adj are also hooked, segregated solver is used. Energy, species models are tern on.

After doing all these things and running simulation, reactions are not taking place; there is no change in concentration of species at inlet and outlet.
However, when I selected Volumetric Reactions in the Fluent, second Laminar Finite-Rate, third the values of Pre-Exponentional Factors and Activation Energies are adjusted to my own required Arrhenius Rate, and fourth, stoichiometric coefficients are also set according to reforming and shift reactions.

After making above mentioned changes, plus using UDF, reactions are taking place. Because of these issues, I want to know/clarify following things:-

1. Is it necessary or mandatory to activate the Volumetric Reactions within the Fluent in the presence of UDF ??

2. Will this activation of Volumetric Reactions duplicate the calculations. Because i want to incorporate my own rate modeling through UDF whereas, Fluent is using Arrhenius Rate model. Which model is executed during simulation ?

3.Can i modify fluent Arrhenius rate model and other setting according to my own requirements ???
How did you change it to volumetric reactions do u meant using DEFINE_VR_RATE ?
sooraj546 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
looking for a smart interface matlab fluent chary FLUENT 24 June 18, 2021 10:07
Stefan problem using fluent Isaacibp1401 Fluent Multiphase 2 June 7, 2021 06:49
fluent parallel problem in win7 x64 system dunga82 FLUENT 8 April 19, 2012 21:23
fluent convergence problem josip76 FLUENT 0 May 26, 2011 21:08
Fluent parallel license problem brothershuai Main CFD Forum 0 July 1, 2009 16:41


All times are GMT -4. The time now is 12:36.