|February 15, 2014, 08:24||
Source (multi-step chemical reaction)
Join Date: Jan 2014
Posts: 18Rep Power: 4
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
|July 1, 2015, 02:16||
Join Date: May 2015
Posts: 10Rep Power: 2
did you solve the Problem? Could you please explain how? It could be helpful for my task. Please contact me.
|Thread||Thread Starter||Forum||Replies||Last Post|
|groovyBC in openFOAM-2.0 for parabolic velocity bc||ofslcm||OpenFOAM Pre-Processing||24||August 23, 2015 22:41|
|OpenFOAM Installation for navalFoam||sachinlb||OpenFOAM Installation||21||June 23, 2014 08:07|
|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|