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 ...
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 ...
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 ...
3
votes
Using WhenEvent to stop N objects at a boundary
Here is the solution. Thanks to @Michael E2 in original question comments.
...
2
votes
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]]
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
physics × 801differential-equations × 275
plotting × 123
calculus-and-analysis × 84
numerical-integration × 71
equation-solving × 70
finite-element-method × 46
matrix × 41
numerics × 38
graphics × 34
simulation × 30
fitting × 27
special-functions × 26
eigenvalues × 23
tensors × 22
chemistry × 22
packages × 21
animation × 19
probability-or-statistics × 17
linear-algebra × 17
nonlinear × 17
performance-tuning × 16
manipulate × 16
mathematical-optimization × 16
vector × 16