|February 15, 2014, 08:24||
Source (multi-step chemical reaction)
Join Date: Jan 2014
Posts: 4Rep Power: 2
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
|Thread||Thread Starter||Forum||Replies||Last Post|
|OpenFOAM Installation for navalFoam||sachinlb||OpenFOAM Installation||19||March 2, 2014 08:08|
|groovyBC in openFOAM-2.0 for parabolic velocity bc||ofslcm||OpenFOAM||22||August 26, 2013 12:06|
|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|