Andrei
Reputation
411
Top tag
Next privilege 500 Rep.
Access review queues
 Apr18 awarded Yearling Jan9 awarded Popular Question Jul2 awarded Curious Jun20 comment Adaptive sampling for slow to compute functions in 2D Well, a robust algorithm for 2D adaptive sampling would be very nice to have. Jun20 comment Adaptive sampling for slow to compute functions in 2D Are there any new developments on this issue? Jan8 awarded Yearling Jul12 accepted Complex valued 2+1D nonlinear PDE using NDSolve Jul11 comment Complex valued 2+1D nonlinear PDE using NDSolve @ruebenko, could you please clarify one thing? in your answer, are the boundary conditions assumed to be periodic or not? because in the documentation, for the "pseudospactral" difference order, it looks like that! I am asking because I wanted mine to be fixed.. Jul11 comment solve ODE with divergencies @ThiesHeidecke, since you seem to know a lot about numerical methods for solving differential equations, could you please recommend a good book on the topic? Jul11 accepted solve ODE with divergencies Jul11 comment solve ODE with divergencies @ThiesHeidecke, excellent, thanks a lot for the effort! Jul9 comment solve ODE with divergencies great! @ThiesHeidecke, could you please detail on the Hankel/Bessel approaches? Jul9 comment Complex valued 2+1D nonlinear PDE using NDSolve i did in the original post, but somehow it got lost in the editing :) well nevermind that, the real problem indeed are the boundaries, because it seems like there is reflection there, and I need to simulate the system as if it were infinite Jul9 comment Complex valued 2+1D nonlinear PDE using NDSolve About the boundary conditions, what I can say based on physical arguments is that far away from the center (at infinity), the solution tends to 1. Jul9 comment Complex valued 2+1D nonlinear PDE using NDSolve Trying you code, NDSolve chokes with the error "Maximum number of 10000 steps reached at the point t == 1.92". Also, could you please edit your answer to plot Abs[sol]^2 instead of the imaginary part please? That is the physical quantity of interest ;) Jul9 comment Complex valued 2+1D nonlinear PDE using NDSolve The "pseudospectral" difference order, from what I understand from the docs, applies FFT methods, which basically assumes periodic boundary conditions, right? Whereas mine were fixed (Dirichlet type). Jul9 comment solve ODE with divergencies I also don't understand why your solution has a negative slope at the end of the interval, when it should flatten out towards $f$=1 at $\eta=10$. Jul8 accepted Overloading conjugate operator for a particular function Jul8 revised solve ODE with divergencies added 57 characters in body Jul8 comment solve ODE with divergencies $s$ is not a parameter, it is in fact the quantum number corresponding to the z component of the angular momentum, therefore it can only have values 1,2,3,.. and I am particularly interested in the case $s=1$.