Recent content by baseball1234

  1. B

    MATLAB Efficiently Solving Diffusion-Based Equations Using Shooting Method in MATLAB

    Hi, I have developed a program in MATLAB to solve these equations, however I was wondering if someone can take a look for me. My solutions are all coming out to be "NaN", which is "not-a-number" in Matlab. I am using the explicit finite difference scheme to solve. Any suggestions would be...
  2. B

    MATLAB Efficiently Solving Diffusion-Based Equations Using Shooting Method in MATLAB

    Hi, I have the attached diffusion based equations I am looking to solve, however I am unsure about how to implement. I have solved similar equations before, with a simplified r(cG,cO) using the explicit finite difference method and it worked fine. However, I am wondering if that would be OK...
  3. B

    Diffusion through membrane, which boundary condition to implement?

    Hi, I am solving the diffusion equation using explicit finite difference to model the diffusion of an analyte through a membrane. I am interested in the concentration of the analyte on the other side vs time elapsed. On one side of the membrane is an initial concentration, which I am...
Back
Top