fof_se.h
Go to the documentation of this file.
1 //
2 // $Id$
3 //
4 /*{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}
5 * Name: fof_se.h
6 * Desc: Soil Exp Simulation
7 *
8 {*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}*/
9 
10 /*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.*/
11 /* SE - Soil Exp Input Data (non-duff) */
12 typedef struct {
13  char cr_Name[50]; /* Soil Type Name */
14  int i_starttime; /* starttime-time from simulation start to fire on - min */
15  int i_burntime; /* burntime-time from sim start to fire off - min */
16  int i_cooltime; /* cooltime-time from start to end of simulation */
17  REAL r_maxRabs; /* maxrabs-maximum radiant heat input to surface */
18  int i_heatconst; /* heatconst-time constant for heating, minutes */
19  int i_coolconst; /* coolconst-time constant for cooling, minutes */
20  REAL r_bd; /* bd-soil bulk density - g/m3 */
21  REAL r_pd; /* pd-soil particle density - g/m3 */
22  REAL r_xo; /* xo-extrapolated water cont. at -1 J/kg */
23  REAL r_ls; /* ls-thermal conductivity of mineral fraction */
24  REAL r_ga; /* ga-de Vries shape factor */
25  REAL r_xwo; /* xwo-water content for liquid recirculation */
26  REAL r_cop; /* cop-power for recirculation function */
27  int i_dt; /* dt-time step - s */
28  REAL r_startwc; /* startwc-starting soil water content - m3/m3 */
29  REAL r_starttemp; /* starttemp-starting soil temperatue - C */
30 
31 /* Layer and Display arrays, */
32 /* This get initalized before going into simulation, they tell the simulatn */
33 /* they define what the layers are and if it is to be outputed */
34 /* See where they get iniialized, */
35  REAL rr_z[e_mplus1+1]; /* Layer */
36  REAL rr_node[e_mplus1+1]; /* 1 = Display, 0 = No Display */
37 
38 } d_SE ;
39 
40 
41 
42 
43 int SE_Init (d_SI *a_SI, d_SE *a_SE, char cr_ErrMes[]);
44 int SE_Mngr (d_SE *a_SE, char cr_TmpFN[], char cr_ErrMes[]);
45 void SE_Disp (d_SE *a_SE);
#define REAL
Definition: fof_sh.h:20
int i_burntime
Definition: fof_se.h:15
int i_starttime
Definition: fof_se.h:14
REAL r_starttemp
Definition: fof_se.h:29
REAL r_maxRabs
Definition: fof_se.h:17
Definition: fof_sh.h:37
REAL r_ls
Definition: fof_se.h:23
int i_dt
Definition: fof_se.h:27
Definition: fof_se.h:12
int i_heatconst
Definition: fof_se.h:18
REAL r_bd
Definition: fof_se.h:20
int SE_Mngr(d_SE *a_SE, char cr_TmpFN[], char cr_ErrMes[])
Definition: fof_se.c:52
REAL r_xwo
Definition: fof_se.h:25
REAL r_cop
Definition: fof_se.h:26
int SE_Init(d_SI *a_SI, d_SE *a_SE, char cr_ErrMes[])
Definition: fof_se.c:177
REAL r_pd
Definition: fof_se.h:21
REAL r_startwc
Definition: fof_se.h:28
void SE_Disp(d_SE *a_SE)
#define e_mplus1
Definition: fof_sh.h:32
int i_cooltime
Definition: fof_se.h:16
REAL rr_z[e_mplus1+1]
Definition: fof_soi.c:54
REAL r_ga
Definition: fof_se.h:24
int i_coolconst
Definition: fof_se.h:19
REAL r_xo
Definition: fof_se.h:22