shamrock.external.coala.solver_DG.compute_CFL_coag_kdv#
- shamrock.external.coala.solver_DG.compute_CFL_coag_kdv(eps, nbins, kpol, massgrid, gij, tensor_tabflux_coag, dv)#
Function to compute coagulation CFL for DG scheme k>0 piecewise polynomial approximation Function for ballistic kernel with differential velocities dv CFL formulation from Filbet & Laurencot 2004, dt <= mean_g * dm/dF
Parameters#
- epsscalar, type -> float
minimum value for mass distribution approximation gij
- nbinsscalar, type -> integer
number of dust bins
- kpolscalar, type -> integer
degree of polynomials for approximation
- massgrid1D array (dim = nbins+1), type -> float
grid of masses given borders value of mass bins
- gij2D array (dim = (nbins,kpol+1)), type -> float
components of g on the polynomial basis
- tensor_tabflux_coag5D array (dim = (nbins,nbins,nbins,kpol+1,kpol+1)), type -> float
array to evaluate coagulation flux
- dv2D array (dim = (nbins,nbins)), type -> float
array of the differential velocity between grains
Returns#
- CFLscalar, type -> float
CFL restriction for coagulation