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

UDF for coal combustion in multiphase flow

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

Like Tree5Likes
  • 3 Post By thanhndb
  • 2 Post By xlwmoaggouri

Reply
 
LinkBack Thread Tools Display Modes
Old   February 2, 2010, 01:30
Default UDF for coal combustion in multiphase flow
  #1
New Member
 
tiana
Join Date: Feb 2010
Posts: 2
Rep Power: 0
niisha24 is on a distinguished road
Hello,

I am modelling packed bed coal combustion with fluent.
For this purpose i am using Eulerian- Granular multiphase model in Ansys Fluent 12.

My question is regarding with UDF to activate heterogeneous reaction in between phases.I have little experience with UDF's and UDF mentioned in fluent help files is completely different than my problem.

I have seen macro 'DEFINE_HET_RXN_RATE', but was not able to write UDF for simple reaction C+0.5O2=>CO.
where reaction constant K can be written as k=17.9Exp[-13750/T].

Can anyone has some experience to write such UDF to add into multiphase model?
niisha24 is offline   Reply With Quote

Old   February 2, 2010, 13:19
Default
  #2
Member
 
Allan Walsh
Join Date: Mar 2009
Posts: 55
Rep Power: 8
Allan Walsh is on a distinguished road
Don't know exactly why your simple reaction did not work, and I have not worked with the heterogeneous rxn macro. However, I have used the volume rxn macro and particle laws somewhat. My only real piece of advice is to pay very close attention to the units and form of the equation. When I have not worked it out on paper first, the code has never worked. Good luck.
Allan Walsh is offline   Reply With Quote

Old   February 2, 2010, 18:56
Default
  #3
New Member
 
tiana
Join Date: Feb 2010
Posts: 2
Rep Power: 0
niisha24 is on a distinguished road
Thanks for your reply,
Well, i have a problem with defining domain in which heterogeneous reaction takes place. I have no idea how to write that in a UDF.
niisha24 is offline   Reply With Quote

Old   November 29, 2010, 19:59
Default
  #4
New Member
 
Antonio Oliveira
Join Date: Apr 2009
Posts: 7
Rep Power: 8
oliveagp is on a distinguished road
Send a message via MSN to oliveagp Send a message via Skype™ to oliveagp
Tiana.

I am working in something similar. But I am doing gasification instead of combustion.
Dis you manage to sort out your problem? I would appreciate any advice in setting up 'DEFINE_HET_RXN_RATE'
oliveagp is offline   Reply With Quote

Old   December 8, 2010, 02:11
Smile
  #5
New Member
 
Join Date: Nov 2010
Posts: 1
Rep Power: 0
mkris is on a distinguished road
hi
I'm also working on gasification modeling in a fluidised bed reactor. can anyone suggest me solver parameters for convergence? can i input my reactions in UDF in any other form other than the normal Arr form???
mkris is offline   Reply With Quote

Old   February 24, 2013, 01:57
Default
  #6
New Member
 
prishor p k
Join Date: Jul 2012
Posts: 29
Rep Power: 4
prishor is on a distinguished road
Hi all,

I am also doing simulation of biomass gasification in fluidized bed reactor. if anyone have any idea to make UDF code foe heterogeneous reaction please help me. i had gone through sample code for the heterogeneous reaction macro.i am confused with specification of domain and thread in my problem. may i use the same sample for arrhenius rate constant for my problem?

thanks and regards,
prishor
prishor is offline   Reply With Quote

Old   February 24, 2013, 06:39
Default
  #7
Senior Member
 
Saeed Sadeghi
Join Date: Oct 2012
Location: Denmark
Posts: 227
Rep Power: 5
msaeedsadeghi is on a distinguished road
Quote:
Originally Posted by prishor View Post
Hi all,

I am also doing simulation of biomass gasification in fluidized bed reactor. if anyone have any idea to make UDF code foe heterogeneous reaction please help me. i had gone through sample code for the heterogeneous reaction macro.i am confused with specification of domain and thread in my problem. may i use the same sample for arrhenius rate constant for my problem?

thanks and regards,
prishor
I have modeled Fixed-Bed combustion. But I think there is no need of using UDF for fluidized bed. Should think of it on a proper time.
__________________
Regards,
Saeed Sadeghi
Ansys Fluent CFD Consultant
msaeedsadeghi is offline   Reply With Quote

Old   September 16, 2013, 07:41
Default Various codes for DEFINE_HET_RXN_RATE here
  #8
New Member
 
Thanh
Join Date: Feb 2010
Posts: 11
Rep Power: 7
thanhndb is on a distinguished road
Dear Fluent users in our forum,

I have ever tried my best to write the a UDF for heterogeneous reactions but actually but I did not success yet. I have also asked several experienced users but I still did not get any replies.
Today, I have just found a long code for various kinds of heterogeneous reactions and I would like to share to all of you if you are interested in because I think science is belonged to the world not to any single person.

Enjoy your research work and hope we can share and discuss further on the CFD simulation of multiphase processes!

Finally, you can find the code attached in this post.
Attached Files
File Type: c het_rxn4.c (67.3 KB, 129 views)
thanhndb is offline   Reply With Quote

Old   January 10, 2014, 13:20
Default
  #9
New Member
 
dimitra giannopoulou
Join Date: Jan 2014
Posts: 2
Rep Power: 0
xlwmoaggouri is on a distinguished road
Quote:
Originally Posted by thanhndb View Post
Dear Fluent users in our forum,

I have ever tried my best to write the a UDF for heterogeneous reactions but actually but I did not success yet. I have also asked several experienced users but I still did not get any replies.
Today, I have just found a long code for various kinds of heterogeneous reactions and I would like to share to all of you if you are interested in because I think science is belonged to the world not to any single person.

Enjoy your research work and hope we can share and discuss further on the CFD simulation of multiphase processes!

Finally, you can find the code attached in this post.
it was very helpful the code tha you attached . I want to model biomass gasification in a plasma gasifier . If anyone have some experience on that and how to write the UDF and wants to help me i would be grateful . Also i found a code of udf for coal gasification . If anyone wants it i can send it
ramakant and brajesh like this.

Last edited by xlwmoaggouri; January 12, 2014 at 13:38.
xlwmoaggouri is offline   Reply With Quote

Old   September 3, 2014, 02:08
Default Comustion modeling in a reactor
  #10
New Member
 
Gajendra Gaurav
Join Date: Apr 2013
Posts: 4
Rep Power: 4
gajendragaurav is on a distinguished road
Can anyone help me and attach UDF file which may apply in reactor for solving combustion and calcinations reactions. Above attach file is helpful in how to proceed for writing UDFs.

With regards
Gajendra gaurav
gajendragaurav is offline   Reply With Quote

Old   March 9, 2015, 02:56
Smile i think the code is short of a file that defines initial values,can you find it,very
  #11
New Member
 
sza
Join Date: Mar 2015
Posts: 1
Rep Power: 0
jamesshall is on a distinguished road
Quote:
Originally Posted by thanhndb View Post
Dear Fluent users in our forum,

I have ever tried my best to write the a UDF for heterogeneous reactions but actually but I did not success yet. I have also asked several experienced users but I still did not get any replies.
Today, I have just found a long code for various kinds of heterogeneous reactions and I would like to share to all of you if you are interested in because I think science is belonged to the world not to any single person.

Enjoy your research work and hope we can share and discuss further on the CFD simulation of multiphase processes!

Finally, you can find the code attached in this post.
i think the code is short of a file that defines initial values,can you find it,very thank you。my mailbox is 1032993302@qq.com
jamesshall 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
Rotary Engine Combustion Simulation With SolidWorks Flow Simulator 2009 saaguy FloEFD, FloWorks & FloTHERM 9 December 7, 2010 21:55
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
Some quiestions on multiphase flow fjalil CFX 4 June 17, 2009 12:32
A role of combustion modeling in flow solver? Yoon Main CFD Forum 0 November 26, 2006 13:00
UDF for multiphase flow ROOZBEH FLUENT 3 April 7, 2004 17:54


All times are GMT -4. The time now is 07:40.