Desorption-Fixed bed- Initial conditions

Dear all,
I am trying to solve an axial dispersion model. I have the following desorption conditions.
c = cFeed at t=0 for all z >0
q = qFeed at t=0 for all z >0
c = 0 at t>0 for z=0
For the adsorption stage I already have the conditions:
c0 = zeros(n,1); % c = 0 at t = 0 for all z
c0(1) = cFeed; % c = cFeed at t > 0 for z = 0
q0 = zeros(n,1); % q = 0 at t = 0 for all z
Any help is much appreciated.

 Accepted Answer

Then set
c0 = cFeed*ones(n,1)
c0(1) = 0.0;
q0 = qFeed*ones(n,1)
as initial and boundary conditions of the desorption, if this was your question.

More Answers (0)

Categories

Products

Release

R2019b

Asked:

on 11 Jan 2023

Commented:

on 12 Jan 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!