Reputation
1,678
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
12 32
Impact
~47k people reached

May
15
awarded  Popular Question
Apr
29
awarded  Notable Question
Apr
28
comment NDSolve - sampling for result during the computation
@xzczd Didn't know one could do that. However, how would one control the time step size? I imagine it would be thro' MaxStepFraction or MaxStepSize?
Apr
25
comment NDSolve - sampling for result during the computation
I performed simulations on MD for my Master's degree and I am curious, if you don't mind. Are you simulating Argon? With periodic BCs? Is the eqn you are solving the convection-diffusion equation? In 2012 I had a similar question on SE and I am wondering if it would help you. Good luck!
Apr
24
comment NDSolve - sampling for result during the computation
May I ask if this molecular dynamics or some such? What is the physical phenomena that you are trying to model?
Apr
24
comment NDSolve - sampling for result during the computation
Have you tried [Mma's RandomVariate[...]](reference.wolfram.com/mathematica/ref/RandomVariate.html)? What does values do? Is there a reason you are using ExplicitEuler? You would benefit by letting Mathematica choose the solver automatically or use perhaps the magic-wand Method->"LSODA". Also, why not just let t range from 0 to a very large number (for long term behavior)?
Apr
20
comment How to solve this integral equation?
Could you share the numerical values of a, b, c and d? That may help.
Apr
20
comment Understanding of method for NDSolve
LSODA is similar to the LSODE (the "Livermore Solver for Ordinary Differential/Algebraic equations" or some such). It is composed of stiff and non-stiff methods which switch when stiffness is sensed. The LSODE itself uses the Adams-Moulton method for non-stiff regions and then switches to a variable step, variable order Backward Difference Formula (Euler's method, I think). You can find more information via google. The report by Hindmarsh is also available for download as a pdf file.
Apr
17
comment What are these strange shapes in my Plot3D[]?
@YungHummmma could you share your NIntegrate code?
Apr
17
comment What are these strange shapes in my Plot3D[]?
@YungHummmma Yes, I would suspect so.
Apr
16
comment What are these strange shapes in my Plot3D[]?
Are you plotting the result of an NDSolve operation? If that is the case, you are trying to perhaps probe a time step of your equation beyond the limits imposed by numerical stability/stiffness for the solver type being used. Conjecture, at best.
Apr
11
comment Solving a nonlinear, second order d.e. in Mathematica
@Funzies what was the error your received with NDSolve? I am trying to solve this with a stiff solver such as LSODA and I've been receiving an NDSolve::berr error
Apr
11
comment Solving a nonlinear, second order d.e. in Mathematica
@LeonidShifrin NDSolve stiffness, story of my life! I found that using Method->"LSODA". I let the "MaxDifferenceOrder" "float". Given your hightened understanding of this problem, do you have any comment on my positive experience with "LSODA"?
Mar
5
awarded  Nice Question
Jan
27
awarded  Good Question
Jan
25
awarded  Yearling
Dec
16
awarded  Nice Answer
Nov
18
accepted How to plot the Euler's formula in 3D?
Oct
17
answered Trying to use NDSolve to solve Blasius equation
Oct
16
accepted Plotting velocity vectors for pressure driven pipe flow