Solve ODE for variable domain
5 views (last 30 days)
is it possible to solve the same ODE system for 3 adiacent different domain? Do i need something like that?
how continuity will be preserved?
Thank you for the help
Alan Stevens on 3 Sep 2020
So you would then call your ode with something like:
[x,Y] = ode45(@nozzlesinglebobb, xspan, Y0,,xstartconica,xfineconica,Ralfa_end,Rbeta_end,alfa_end_rad,beta_end_rad,xc_end,yc_end,Lnozzle_end,raggio_end,f1,f2,f3);
where xspan = [0 x_final] and Y0 = [Pt0; M0] or similar.
Pt = Y(:,1);
M = Y(:,2);