Issue 52
J. Kasivitamnuay et alii, Frattura ed Integrità Strutturale, 52 (2020) 163-180; DOI: 10.3221/IGF-ESIS.52.14
• In Fig. 8(f), the AssessCrack class is derived from the abstract class Assessment . This class had a method to perform an assessment of a cracked cylinder according to the specified type and level of assessment. The object created by the abstract class Level behaves according to the object of the subclass being created, i.e. the Level1 or Level2 class. The Level1 class had a method to determine a permissible crack length from a screening curve. The Level2 class had a method to determine an assessment point and the FAC. The level3 class inherits the method to determine an assessment point from the Level2 class and overrides the method to determine the FAC.
Structure
Stress
Tensile
Constitutive
Cylinder
RambergOsgood
ResidualStress
ResidualModel
CrackCylinder
RambergOsgoodEst
ResStrCylinder
CTCL CTCC CSCLE CSCCE
(c)
(b)
(a)
CrackGrowth
Assessment
Toughness
KIcEstModel
FCG
AssessCrack
Level
ASME Charpy MasterCurve
Paris Walker
Level1 Level2
Level3B
(f)
(d)
(e)
Figure 8: Class refinement in the preliminary class diagram (Fig. 7). The additional classes are shown in shaded rectangles: (a) Structure class; (b) Stress class; (c) Tensile class; (d) Toughness class; (e) CrackGrowth class; and (f) Assessment class.
All classes shown in Figs. 7 and 8 are classified as the application classes. To complete the software design, it is necessary to create the graphical user interface (GUI) classes. The GUI classes have the purpose of receiving input information and creating and managing the application objects. The designed GUI class hierarchy and its communications with the application classes (partially presented) are illustrated in Fig. 9. All the GUI classes in this figure have a name starting with the letters “frm”. The frmMain class creates the application objects of the Structure and Material classes. After that, it creates the GUI object (or windows) of the frmCrackCylinder class to acquire information about cylinder geometry, welding, crack, and applied loads, and it also creates the GUI object of the frmMaterial class to acquire information about materials. The acquired information is then assigned to the corresponding application objects. Finally, the frmMain class creates the object of the Assessment class to assess the object(s) of the Structure class. At this stage, the present class diagram can fulfill the software specifications. However, it may be useful to reexamine the present class diagram for its extensibility. The following paragraph conceptually discusses an extension of the software if it is required to include the other types of a cracked component. Fig. 10 shows an extension of the class diagram to incorporate the other cracked component types, e.g. a cracked plate. The Plate and ResStrPlate classes are derived from the Structure and ResidualModel classes, respectively. The Plate class has the plate dimensions (e.g., width and thickness) as properties and has a method to calculate for calculating nominal stress. The CrackPlate class which is derived from the Plate class has the SIF and reference stress as properties. Additional classes for a specific type of cracked plate can be derived from the CrackPlate class. Each of the inherited classes has a specific method to calculate SIF and reference stress. The derived class ResStrPlate has a specific method to determine the residual
172
Made with FlippingBook Publishing Software