Hot answers tagged

8 votes
Accepted

Error in Attempting Moving Boundary Fluid System

… why would the system be classified by NDSolveValue a differential-algebric system, since every variable has at least one differential term? This isn't quite ...
user avatar
  • 53.1k
8 votes
Accepted

Fourth order, nonlinear PDE dipicting dynamics of liquid lenses

Yet another problem related to the hyperbolic conservation law. Based on the experience obtained in e.g. here, let's avoid symbolic expansion of D. I'll use ...
user avatar
  • 53.1k
5 votes

3D Fourier transform of 1/r^2

There is a well known trick that makes this and some related problems relatively straightforward. Namely, using the identity: $\frac{1}{r}=\int_{0}^{\infty}e^{-tr}dt$ and rearranging the order of ...
user avatar
3 votes

Using WhenEvent to stop N objects at a boundary

Here is the solution. Thanks to @Michael E2 in original question comments. ...
user avatar
  • 127
2 votes

3D Fourier transform of 1/r^2

Another easy way: ...
user avatar
1 vote
Accepted

3D Parametric Plotting for N Charged Particles in a Nonuniform Electric Field

Your initial conditions are lists with 1 element, but numbers are expected. E.g. instead of x1[j][0] == pos0[[j, 1, ]] write x1[j][0] == pos0[[j, 1, 1]]
user avatar
  • 25.1k

Only top scored, non community-wiki answers of a minimum length are eligible