MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
growthRate.H
Go to the documentation of this file.
1 
19 double growthRateConst();
20 double growthRateCO2(double &, double &);
21 double growthRateBA (double &, double &);
22 
24 {
25  return 0.0955;
26 }
27 
28 double growthRateCO2(double &CO2_l, double &wCO2_Max)
29 {
30  double G0 = 1.0e-14;
31  if (CO2_l > wCO2_Max)
32  {
33  return (G0*(CO2_l - wCO2_Max)/max(wCO2_Max,4.4e-4));
34  }
35  else
36  {
37  return (0.0);
38  }
39 }
40 
41 double growthRateBA(double &L_l, double &LMAX)
42 {
43  double G0 = 1.0e-14;
44 
45  if (LMAX != 0.0 && L_l > LMAX)
46  {
47  return (G0*(L_l - LMAX)/LMAX);
48  }
49  else
50  {
51  return (0.0);
52  }
53 }
double growthRateConst()
a constant growth rate
Definition: growthRate.H:23
double growthRateBA(double &, double &)
growth rate due to evaporation of blowing agents
Definition: growthRate.H:41
double growthRateCO2(double &, double &)
growth rate due to production of CO2
Definition: growthRate.H:28