Functions | Variables

Design_Fire_user_defined_functions.c File Reference

User defined interface for Design Fire example. More...

#include "user_defined_functions.h"
Include dependency graph for Design_Fire_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

int num_steps
 Total number of time steps.
double dt
 Time step (in seconds)
double Ar
double Z0
double rhoa
double Ca
double Ta
double g
double aLc
double aLr
double Zf_factor

Detailed Description

User defined interface for Design Fire example.

This is A C program that the user should provide to interface with libMoM libraries. This example returns the moments of the output variable. The ASET fire model is used to compute the output (smoke layer height) from the input (fire heat release rate). Then from the quadrature points and weights of the heat release rate the moments of the smoke height are computed and returned.

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