1
$\begingroup$

I am solving a mix of PDE and ODE for two functions c1(x,t) and c2(t). Several answer point to the use of the function pdetoode. I would like to use that function, but set the my own boundary conditions, which are of the following type :

Boundary Conditions

Any help on how to choose my boundary conditions would be much appreciated.

$\endgroup$
  • 2
    $\begingroup$ Welcome Marc! Could you add code for a toy problem that shows where you get stuck? $\endgroup$ – Chris K Jul 17 at 16:10
  • $\begingroup$ pdetoode can handle this type of b.c. straightforwardly, which part do you have difficulty? $\endgroup$ – xzczd Jul 18 at 5:13