marge3d.numeric

TODO : documentation …

Classes

NumericalSolver

3D solver for the Maxey–Riley-Gatignol equation (MaRGE)

Module Contents

class NumericalSolver(x, w, velocity_field, Nt, order, params=None, **kwargs)[source]

3D solver for the Maxey–Riley-Gatignol equation (MaRGE) using Daitche’s Adams–Bashforth methods.

Parameters:
  • x (array_like) – Initial particle position (3,)

  • w (array_like) – Initial relative velocity (3,)

  • velocity_field (object) – Must implement get_velocity, get_gradient, get_dudt

  • Nt (int) – Number of time steps

  • order (int) – Order of Daitche method (1, 2, or 3)

  • params (DaitcheParameters) – Physical parameters of the particle–fluid system

x
w
vel
order
abstractmethod solve(t_v, flag=False)[source]
calculate_G(w1, w2, w3, x, y, z, t)[source]
alpha_jn(j, n)[source]
alpha_v(N)[source]
calc_alpha_mat(N)[source]
Euler(t_v, flag=False)[source]
beta_jn(j, n)[source]
beta_v(N)[source]
calc_beta_mat(N)[source]
AdamBashf2(t_v, flag=False)[source]
gamma_jn(j, n)[source]
gamma_v(N)[source]
calc_gamma_mat(N)[source]
AdamBashf3(t_v, flag=False)[source]