Non linear boundary value problem with infinity.How to solve?
Mostrar comentarios más antiguos
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
Respuestas (1)
Torsten
el 23 de Mayo de 2018
1 voto
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 comentarios
Purush otham
el 23 de Mayo de 2018
Torsten
el 23 de Mayo de 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
el 23 de Mayo de 2018
Editada: Purush otham
el 23 de Mayo de 2018
Torsten
el 23 de Mayo de 2018
Please state the complete problem without your own modifications.
Purush otham
el 23 de Mayo de 2018
Torsten
el 23 de Mayo de 2018
What are b,c,R,rho1,rho2 ?
Purush otham
el 23 de Mayo de 2018
Editada: Purush otham
el 23 de Mayo de 2018
Torsten
el 23 de Mayo de 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
el 23 de Mayo de 2018
Torsten
el 23 de Mayo de 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
el 23 de Mayo de 2018
Torsten
el 23 de Mayo de 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.
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
