File size: 7,922 Bytes
fa9433f
19bd210
fa9433f
 
 
08dad37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4f9d6af
08dad37
 
 
 
 
4f9d6af
08dad37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fa9433f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
adf1fd2
 
 
 
fa9433f
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# # # # material_fracturing data archive readme # # # #
# # # # Approved for unlimited release LA-UR-25-22599. # # # #

	# # # PHASE-FIELD # # #

	This repository contains simulation output data organizedi into compressed .tag.gz archives of HDF5 (.h5) files. The data is goruped under 5 different material directories and 2 boundary condition subdirectories containing a sequence of tarballs (e.g.):

	PHASE-FIELD/
	├── aluminum/
	│   ├── combined_bc/
	│      ├── xz_batch_000.tar.gz
	│      ├── xz_batch_001.tar.gz
	│   ├── horizontal_bc/
	│      ├── z_batch_000.tar.gz
	│      └── ...
	├── pbx/
	│   ├── combined_bc/
	│   ├── horizontal_bc/
	│      ├── z_batch_000.tar.gz
	│      └── ...
	└── shale/
	│   ├── combined_bc/
	│   ├── horizontal_bc/
	│      ├── z_batch_000.tar.gz
	│      └── ...
	...

	Each .tar.gz archive holds 1000 compressed HDF5 (.h5) files. *the folders that are prepend with 'test_' are for the random orientation files [for our purposes these were used for generalization tests for ML models]*. The .h5 files are named using the following convention:

	frac_pull_{bc}_{modnum}.h5

	where {bc} represents the boundary condtion types [z,xz] (uniaxial,biaxial) {modnum} represents the simulation (or model) number.


		# # Stucture of each .h5 file # #

		Each HDF5 file contains fracture simulatio ndata and is orgnize by a consistent set of keys:

			grid points
		 dtype: int32
		The number of gird points in the simulation.

			model {modnum} break time
		float
		Represents the simulation time-to-failure.

			model {modnum} fracture at time = {time}
		numpy array of shape (128,128)
		dtype: float32
		Represents the phase-field scalar variable at each time across the model domain

			model {modnum} fracture initial
		numpy array of shape (128,128)
		dtype: float32
		The initial (unfractured) state of the model before any deformation.

			model {modnum} fracture final
		numpy array of shape (128,128)
		dtype: float32
		The final fracture configuration at the time-to-failure.

			origin
		dtype: int32
		Represents the origin coordinate.

			spacing
		dtype: int32
		Represents the simulation spacing.

			# .h5 file keys example #

			== Keys In File ==
			grid points
			model 100195 break time
			model 100195 fracture at time = 1.0999999E-04
			model 100195 fracture at time = 1.2000000E-04
			model 100195 fracture at time = 1.3000000E-04
			model 100195 fracture at time = 1.3999999E-04
			model 100195 fracture at time = 1.4999999E-04
			model 100195 fracture at time = 1.6000000E-04
			model 100195 fracture at time = 1.7000000E-04
			model 100195 fracture at time = 1.8000000E-04
			model 100195 fracture at time = 1.8999999E-04
			model 100195 fracture at time = 1.9999999E-04
			model 100195 fracture at time = 1.9999999E-05
			model 100195 fracture at time = 2.1000000E-04
			model 100195 fracture at time = 2.1999999E-04
			model 100195 fracture at time = 2.2999999E-04
			model 100195 fracture at time = 2.3999999E-04
			model 100195 fracture at time = 2.4999998E-04
			model 100195 fracture at time = 2.6000000E-04
			model 100195 fracture at time = 2.6999999E-04
			model 100195 fracture at time = 2.7999998E-04
			model 100195 fracture at time = 2.9000000E-04
			model 100195 fracture at time = 2.9999999E-04
			model 100195 fracture at time = 2.9999999E-05
			model 100195 fracture at time = 3.1000000E-04
			model 100195 fracture at time = 3.9999999E-05
			model 100195 fracture at time = 4.9999999E-05
			model 100195 fracture at time = 5.9999998E-05
			model 100195 fracture at time = 6.9999995E-05
			model 100195 fracture at time = 7.9999998E-05
			model 100195 fracture at time = 9.0000001E-05
			model 100195 fracture at time = 9.9999997E-05
			model 100195 fracture at time = 9.9999997E-06
			model 100195 fracture final
			model 100195 fracture initial
			origin
			spacing

	# # # HOSS # # #

	This repository contains simulation output data organized into compressed .tar.gz archives of HDF5 (.h5) files. The data is grouped under three different material directories containing a sequence of tarballs (e.g.):

	HOSS/
	├── pbx/
	│   ├── batch_001.tar.gz
	│   ├── batch_002.tar.gz
	│   └── ...
	├── shale/
	│   ├── batch_001.tar.gz
	│   ├── batch_002.tar.gz
	│   └── ...
	└── tungsten/
	    ├── batch_001.tar.gz
	    ├── batch_002.tar.gz
	    └── ...

	Each .tar.gz archive holds 1000 compressed HDF5 (.h5) files. The .h5 files are named using the following convention:

	frac_pull_z_{modnum}.h5

	where {modnum} represents the simulation (or model) number.

		# # Structure of each .h5 file # #

		Each HDF5 file contains fracture simulation data and is organized by a consistent set of keys:

			model {modnum} break time
		float
		Represents the simulation time-to-failure.

			model {modnum} fracture at time = {step}_{time}
		numpy array of shape (X,7)
		where X is the total number of edge segments with columns:
		[p1_x, p1_y, p1_z, p2_x, p2_y, p2_z, damage]
		p1_x is the x-coordinate position of the 1st point on the edge
		p1_y is the y-coordinate position of the 1st point on the edge
		p1_z is the z-coordinate position of the 1st point on the edge
		p2_x is the x-coordinate position of the 2nd point on the edge
		p2_y is the y-coordinate position of the 2nd point on the edge
		p2_z is the z-coordinate position of the 2nd point on the edge
		damage is the 0.0 to 1.0 value of loss of cohesion (1.0 is complete failure)
		For more details on cohesion see (Lei, Z., Rougier, E., Knight, E. E., Zang, M. & Munjiza, A. Impact fracture and fragmentation of glass via the 3d combined finite-discrete element method. Applied Sciences 11, 2484 (2021))
		Snapshots of the fracture state at discrete simulation time steps.
				{step}: Sequential index of the snapshot.
				{time}: Physical simulation time in scientific notation (seconds).

			model {modnum} fracture initial
		numpy array of shape (X,7)
		where X is the total number of edge segments with columns:
		[p1_x, p1_y, p1_z, p2_x, p2_y, p2_z, damage]
				The initial (unfractured) state of the model before any deformation.

			model {modnum} fracture final
		numpy array of shape (X,7)
		where X is the total number of edge segments with columns:
		[p1_x, p1_y, p1_z, p2_x, p2_y, p2_z, damage]
		The final fracture configuration at the time-to-failure.

			unique lines
		int
		The total number of unique edge segements in simulation that represents the unstructured grid.

			# .h5 file keys example #

			== Keys In File ==
			model 15941 break time
			model 15941 fracture at time = 001_0.00000000e+00
			model 15941 fracture at time = 002_2.00000000e-09
			model 15941 fracture at time = 003_4.00000000e-09
			model 15941 fracture at time = 004_6.00000000e-09
			model 15941 fracture at time = 005_8.00000000e-09
			model 15941 fracture at time = 006_1.00000000e-08
			model 15941 fracture at time = 007_1.20000000e-08
			model 15941 fracture at time = 008_1.40000000e-08
			model 15941 fracture at time = 009_1.60000000e-08
			model 15941 fracture at time = 010_1.80000000e-08
			model 15941 fracture at time = 011_2.00000000e-08
			model 15941 fracture at time = 012_2.20000000e-08
			model 15941 fracture at time = 013_2.40000000e-08
			model 15941 fracture at time = 014_2.60000000e-08
			model 15941 fracture at time = 015_2.80000000e-08
			model 15941 fracture at time = 016_3.00000000e-08
			model 15941 fracture at time = 017_3.20000000e-08
			model 15941 fracture final
			model 15941 fracture initial
			unique lines

			# Plots #

			frac_pull_z_15941.gif
				An example .gif of a single simulation as the fracture patterns evolve.

            # DATA #

            extract_h5.py
                An example .py file for opening data from an example .h5 file.