1@DSL      Model;
2@Model    ConcentrationModel;
3@Material B4C;
4@Author   Helfer Thomas;
5@Date     26 Oct. 2010;
6
7/* Ouputs */
8@Output b10;
9b10.setEntryName("B10Concentration");
10b10.setDepth(1);
11
12@Output Bu;
13Bu.setGlossaryName("B10BurnUp");
14Bu.setDefaultInitialValue(0.);
15Bu.setDepth(1);
16
17/* Inputs */
18@Input c;
19c.setEntryName("CaptureReactionRate");
20c.setDepth(1);
21
22@PhysicalBounds b10 in [0:*[;
23@PhysicalBounds Bu  in [0:*[;
24@PhysicalBounds c   in [0:*[;
25
26@Function Compute
27{
28  real db10 = -b10_1*(c_1+c)*dt/(2.+0.5*(c_1+c)*dt);
29  b10  = b10_1+db10;
30  Bu   = Bu_1-db10;
31  if(b10<0){
32    b10 = 0.;
33  }
34}
35