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

Problem with Volumetric Reactions in Fluent

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

Like Tree1Likes
  • 1 Post By Kashif Rashid

Reply
 
LinkBack Thread Tools Display Modes
Old   October 4, 2014, 03:52
Default Problem with Volumetric Reactions in Fluent
  #1
New Member
 
Kashif Rashid
Join Date: Apr 2014
Posts: 8
Rep Power: 5
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, 31 views)
Adel abaidi likes this.
Kashif Rashid is offline   Reply With Quote

Old   October 17, 2016, 07:54
Default
  #2
New Member
 
Abhinav Hazarika
Join Date: Oct 2016
Posts: 1
Rep Power: 0
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

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
looking for a smart interface matlab fluent chary FLUENT 18 March 24, 2017 09:34
Stefan problem using fluent Isaacibp1401 Fluent Multiphase 0 July 11, 2014 11:01
fluent parallel problem in win7 x64 system dunga82 FLUENT 8 April 19, 2012 20:23
fluent convergence problem josip76 FLUENT 0 May 26, 2011 20:08
Fluent parallel license problem brothershuai Main CFD Forum 0 July 1, 2009 15:41


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