Functions | Variables

Brownian_Coagulation_user_defined_functions.c File Reference

User defined interface for Brownian Coagulation example. More...

#include "user_defined_functions.h"
Include dependency graph for Brownian_Coagulation_user_defined_functions.c:

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)
int verbose_mode
 Verbose mode or not.

Detailed Description

User defined interface for Brownian Coagulation example.

This is A C program that the user should provide to interface with libMoM libraries. The user typically provides the source terms to the moment equations and the growth terms. If either the source or growth terms are not used, then they should be set to zero. Moments should be taken of the source terms but the growth term should be entered as is.

Author:
Rochan R. Upadhyay
Date:
10/12/2010
All Classes Files Functions Variables Typedefs Friends Defines