Non linear boundary value problem with infinity.How to solve?
Show older comments
dx/dphi= ((b*cos(phi))/((c*((z/b)-L))-(b*(sin(phi)/x))));
dz/dphi= ((b*sin(phi))/((c*((z/b)-L))-(b*(sin(phi)/x))));
Boundary conditions:
dz/dx=tan(124.119) at (xc,zc) xc=0.39047; zc=0.26333;
z=L=0.144017750497892 at x=infinity
Answers (1)
Torsten
on 23 May 2018
1 vote
Use dz/dx = dz/dt / dx/dt and the initial condition z(0.39047)=0.26333 to solve your system from above. The condition at x=infinity will either be satisfied or not - you cannot prescribe it.
Best wishes
Torsten.
12 Comments
Purush otham
on 23 May 2018
Torsten
on 23 May 2018
You can't apply this condition.
If by chance,
(((b*sin(phi))/((c*((z/b)-L))-(b*(sin(phi)/x)))))/((b*cos(phi))/((c*((z/b)-L))-(b*(sin(phi)/x)))) = tan(124.119)
for (x,z)=(0.39047;0.26333), you are in luck.
Best wishes
Torsten.
Purush otham
on 23 May 2018
Edited: Purush otham
on 23 May 2018
Torsten
on 23 May 2018
Please state the complete problem without your own modifications.
Purush otham
on 23 May 2018
Torsten
on 23 May 2018
What are b,c,R,rho1,rho2 ?
Purush otham
on 23 May 2018
Edited: Purush otham
on 23 May 2018
Torsten
on 23 May 2018
Does
((b*sin(phi))/((c*((z/b)-L))-(b*(sin(phi)/x))))/((b*cos(phi))/((c*((z/b)-L))-(b*(sin(phi)/x))))
at xc,zc,phic equal tan(phic) ?
Purush otham
on 23 May 2018
Torsten
on 23 May 2018
ok, so the 1st boundary condition is satisfied (dz/dx=tan(phic) at (x,z)=(xc,zc)).
And what do you get if you use ODE45 to integrate the two first order ODEs for x and z ? Does x-> Inf ? Does z-> L simultaneously ?
Purush otham
on 23 May 2018
Torsten
on 23 May 2018
When I integrate the above the obtained result does not satisfy the conditions. I did not understand exactly what you mean by the 1st boundary condition satisfied. If by satisfied you mean by substitution, then yes.If by ode45 or bvp, then no.
But you said that
(b*sind(phiini)/(c*(zini/b-L)-b*sind(phiini)/xini))/(b*cosd(phiini)/(c*(zini/b-L)-b*sind(phiini)/xini))-tand(phiini)=0
so dz/dx = tan(phic) at (xc,zc) holds.
I don't understand what you mean by "the obtained result does not satisfy the conditions".
But the condition z=L at x=Inf is irritating. There must be a second-order ODE that you did not yet mention for which two boundary conditions have to be imposed.
Best wishes
Torsten.
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!