[SciPy-User] Scipy Odeint " can solve a Two-Point Boundary Value problem, of a nth Nonlinear Second-Order Differential Equation ? " Help!
Tue Apr 2 02:03:31 CDT 2013
Hello to everyone here,
I am trying to solve the next equation :
which has 2 boundary conditions (u(x=0)=0, u(x=n(max) = m (constant) is
Please, do someone know if it is possible to solve this nth nonlinear
second-order differential equation with odeint ? (1D problem - x(1,n) ,
u(x), arrays parameters:bk1-k4 calculated on each x gridpoint), depended by
an import data X, which is a 1D nth array (n grid points)
I cant understand how to use the boundary conditions, when I have an initial
at x=o of u, and for its derivative du/dx = u' at x=n, the last gridpoint
which change on every time step...
Moreover, the known parameters k1(x)--k4(x), how I will use them inside the
callback function which evaluates the ODEs? Do I have to use a K parameter
def my_function(u, K): ... and then ... k1 = K ... etc ? this script will
be inside a time loop, so these parameters are changing on each time loop,
as the import data Array X change on each time step (new value is being
calculated on each time step)
Theoretically this equation could be solved using the Newton iteration
method, but its too complicated for my knowledge and my little experience to
Please, any help will be more than welcome!!!
View this message in context: http://scipy-user.10969.n7.nabble.com/Scipy-Odeint-can-solve-a-Two-Point-Boundary-Value-problem-of-a-nth-Nonlinear-Second-Order-Differenti-tp18088.html
Sent from the Scipy-User mailing list archive at Nabble.com.
More information about the SciPy-User