Skip to main content

# Tag Info

## Hot answers tagged diffusion

13 votes
Accepted

### Why do I get an oscillatory solution when applying the implicit trapezoidal method to the linear diffusion equation?

I think you might have mixed up some terminology. An exponential integrator would use some type of eigensolver or related approach to exactly calculate $$f^{n + 1} = e^{\delta t\cdot \mathcal A}f^n$$ ...
• 10.3k
10 votes

### How to solve a second order differential equation (diffusion) with boundary conditions using Python

I have found that I must keep the value of dt near dx or the results become unstable This behavior you have noticed is known as the Courant–Friedrichs–Lewy (CFL) condition. Indeed, there are ...
• 1,114
8 votes
Accepted

### Computation of diffusion time

It's easy to derive that equation from Fick's law. You have this diffusion equation as: $$\frac{\partial C}{\partial t} = D \nabla^{2} C$$ The mean square displacement weighted by the concentration ...
6 votes

• 8,672
1 vote
Accepted

### Simulating Brownian motion in 3-D for first hitting time?

If the whole wall is absorbing, then you should replace: ...
• 3,994

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