optframework.mcpbe.mcpbe_jit module
Solving multi-component population balance equations for agglomerating systems via MONTE CARLO method. @author: Frank Rhein, frank.rhein@kit.edu, Luzia Gramling, Institute of Mechanical Process Engineering and Mechanics
- class optframework.mcpbe.mcpbe_jit.MCPBESolver(dim=2, t_total=601, t_write=10, t_vec=None, verbose=False, load_attr=True, config_path=None, init=True)[source]
Bases:
BaseSolver
- visualize_qQ_t(t_plot=None, t_pause=0.5, close_all=False, scl_a4=1, figsze=[12.8, 9.600000000000001], show_x10=False, show_x50=True, show_x90=False)[source]
- optframework.mcpbe.mcpbe_jit.calc_betaarray_jit(COLEVAL, a, G, X, beta0, V, V_c)[source]
Calculate the beta array for Monte Carlo using calc_beta.
Parameters
- COLEVALint
Type of beta calculation model.
- aint
Total number of particles.
- Gfloat
Shear rate or other related parameter.
- Xarray
Particle size array.
- beta0float
Base collision frequency constant.
- Varray
Particle volume array.
Returns
- betaarray
Beta array formatted for Monte Carlo.