MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
BACheck.H
Go to the documentation of this file.
1 
6 forAll(mesh.C(), celli)
7 {
8  if (wBA_l[celli] > L0)
9  {
10  wBA_l[celli] = L0;
11  }
12  if (wBA_l[celli] < 0.0)
13  {
14  wBA_l[celli] = ROOTVSMALL;
15  }
16  if (wBA_g[celli] < 0.0)
17  {
18  wBA_g[celli] = ROOTVSMALL;
19  }
20  if (wCO2_g[celli] < 0.0)
21  {
22  wCO2_g[celli] = ROOTVSMALL;
23  }
24 }
double L0
Initial weight fraction of blowing agent in the liquid, -.