Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Re: Countercurrent system:ODE Solver

$
0
0
"Meiyour" wrote in message <ktvu16$qp9$1@newscl01ah.mathworks.com>...
> Hello.
>
> I have a system of coupled ODEs with wierd boundary conditions:
>
> dy1dt=a y1(0)=known
> dy2dt=b y2(0)=known
> dy3dt=c y3(tfinal)=known
> dy4dt=d y4(tfinal)=known
>
> where a,b,c,d=f(y1,y2,y3,y4). The conditions are like this because of the countercurrent nature of the system.
>
> I tried running the y3 and y4 backwards but it didn't work,so i'm stuck. Is there anyway this could be implemented?

What are the exact equations you are trying to solve (i.e. what is the structure of a,b,c and d) ?
If they are really only dependent on y1,y2,y3 and y4 and not on spatial derivatives of the solution variables, you can use bvp4c to solve.

Beste wishes
Torsten.

Viewing all articles
Browse latest Browse all 19628

Trending Articles