Page:4SIGHT manual- a computer program for modelling degradation of underground low level waste concrete vaults (IA 4sightmanualcomp5612snyd).pdf/147

From Wikisource
Jump to navigation Jump to search
This page needs to be proofread.
69. PROPER TIME
B.33


69. Proper time.

The clock time must be advanced

⟨Global variables 4⟩ 
 real Time = 0;    /* dimensionless cumulative time */
 real Day = 0;    /* cumulative time (day) */

70.

⟨Advance global clock 70⟩ =
Time += ;
Day = Time * SQR (L)/( * 86400);

This code is used in section 9.

71. Check time dependent variables.

⟨Check time dependencies 71⟩ =
 if (Day > joint_lifetime && joint.is.specified == TRUE) {
   joint.change.flag = TRUE;
 }

This code is used in section 10.

72.

⟨Assess simulation termination 72⟩
 if (Day > MaxDay.value) termination = TRUE;
 if (sulfate.depth > MaxDepth) termination=TRUE;
 if ((chloride-depth * L) > rebar_depth) termination = TRUE;

This code is used in section 10.