Film Model: Sbval with multiple ODEs
- March 5, 2012
- 1 reply
- 5064 views
I am trying to solve a film model for diffusion and reaction of two species (liquid film of a gas/liquid reaction). The problem I would like to solve is described in sbval_Film_Model.xmcd (attached). At the interface (x=0) CA has a known value; CB is unknown, but dCB/dx=0. At the end of the film (x=dL), CA and CB are in a sense known, but depend on dCi/dX, i.e. the amount passing through the film.
I can't assume that CA(x=dL)=0.
I'd like to somehow solve this problem using sbval to estimate CB at x=0 and a standard ODE solver to obtain the concentration profiles in the film. Eventually I would like to solve the film profiles at different points along a reactor length, meaning I need something that can be implmented in programming and doesn't use a given block. Does any one know how to setup sbval when there are two variables (CA and CB) and not just one?

