Guest User

Untitled

a guest
Mar 23rd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. BurgersAndContinuityEqns = {r*ne[r, t]* D[(u[r, t]),t] + ne[r, t]
  2. * u[r, t] * D[(u[r, t]*r),r] == -B D[(r*ne[r, t]),r], r D[(ne[r,
  3. t],r] + D[(r u[r, t] ne[r, t]),r] == 0,
  4. u[r, [Epsilon]] == 0, ne[r, [Epsilon]] == Exp[-(r^2/2)]};
  5.  
  6. SolnBa =
  7. esol = Block[{[Epsilon] = $MachineEpsilon},
  8. NDSolve[BurgersAndContinuityEqns /. B -> 157.59, {u[r, t],
  9. ne[r, t]}, {r, [Epsilon], 5}, {t, [Epsilon], 0.18},
  10. Method -> {"StiffnessSwitching"}]]
Add Comment
Please, Sign In to add comment