CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

Source (multi-step chemical reaction)

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

LinkBack Thread Tools Display Modes
Old   February 15, 2014, 08:24
Post Source (multi-step chemical reaction)
New Member
Join Date: Jan 2014
Posts: 18
Rep Power: 5
Laexzzz is on a distinguished road
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, 02:16
New Member
Join Date: May 2015
Location: Germany
Posts: 15
Rep Power: 4
Sara28 is on a distinguished road

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


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
OpenFOAM Installation for navalFoam sachinlb OpenFOAM Installation 22 July 28, 2017 05:26
groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Pre-Processing 25 March 6, 2017 11:03
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
combustion, chemical reaction or turbulent source? sogen Main CFD Forum 0 July 29, 2005 22:41
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 00:07

All times are GMT -4. The time now is 19:03.