User defined interface for the lognormal inegration example. More...
#include "user_defined_functions.h"
Functions | |
void | user_source (size_t dimension, size_t num_points, double y[], double f[], double growth[]) |
Function that returns the growth and source terms. | |
void | user_post_process (double time, size_t dimension, size_t num_points, double y[]) |
Function that post processes the moments to obtain final quantities of interest. | |
Variables | |
double | pi |
Value of pi (pi = 3.14159265) | |
double | kb |
Value of the Boltzmann Constant (kb = 1.38e-23 J/K) | |
double | rho |
Density of monomer particle (kg/m^3) | |
double | dia |
Diameter of the monomer (m) | |
double | visc |
Viscosity of the gas in the medim (Pa s) | |
double | Tgas |
Temeprature of the gas comprising the medim (K) | |
double | init_num |
Initial number concentration of the dispersion (# / m^3) | |
double | mean_path |
User defined interface for the lognormal inegration example.
This is anexample C program that the user should provide to interface with libMoM libraries. The example computes the averaged coagulation kernel for Brownian coagulation.