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

Source (multi-step chemical reaction)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 15, 2014, 08:24
Post Source (multi-step chemical reaction)
  #1
New Member
 
Alexey
Join Date: Jan 2014
Posts: 18
Rep Power: 12
Laexzzz is on a distinguished road
Hello!
I have a question about UDF for chemical reaction modelling

Scheme of my reaction:

dA/dt = -k1*A[t]
dB/dt = -k2*R(0)[t]*B[t]-k2*Mm0[t]*B[t]
dR(0)/dt = k1*A[t]-k2*R(0)[t]*B[t]
dMM0/dt = k2*R(0)[t]*B[t]

dA/dt, dB/dt, dR(0)/dt, dMM0/dt is the change of components concentrations in time.
A[t], B[t], R(0)[t], Mm0[t] - concentration of the component at time t
k1 k2 is reaction rate constant

Components A and B are continuously received in the tube.



Next I will need to know the concentration of each component at the tube

How can I solve this system of differential equations?
What UDF should I use?
Define_source and DEFINE_UDS_UNSTEADY?

Thank you in advance
Laexzzz is offline   Reply With Quote

Old   July 1, 2015, 03:16
Default
  #2
New Member
 
Join Date: May 2015
Location: Germany
Posts: 15
Rep Power: 11
Sara28 is on a distinguished road
Hello,

did you solve the Problem? Could you please explain how? It could be helpful for my task. Please contact me.
Sara28 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
[Other] OpenFOAM Installation for navalFoam sachinlb OpenFOAM Community Contributions 22 July 28, 2017 06:26
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 11:03
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03
combustion, chemical reaction or turbulent source? sogen Main CFD Forum 0 July 29, 2005 23:41
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 01:07


All times are GMT -4. The time now is 15:53.