1@Parser   Model;
2@Model    SolidSwellingModel;
3@Material UPuC;
4@Author   Helfer Thomas;
5@Date     06 Déc. 2007;
6
7@Output s;
8s.setGlossaryName("SolidSwelling");
9s.setDefaultInitialValue(0.);
10s.setDepth(1);
11
12@Input Bu;
13Bu.setGlossaryName("BurnUp");
14Bu.setDepth(1);
15
16@Input p;
17p.setGlossaryName("Porosity");
18p.setDepth(1);
19
20@Function compute
21{
22  const real coef1 = 8.e-3;
23  const real coef2 = 4.e-2;
24  const real p_    = 0.5*(p+p_1);
25  s = s_1 + coef1*exp(coef2-p_)*(Bu-Bu_1);
26} // end of function compute
27