diff --git a/PRIVATE b/PRIVATE index 751f96155..68cde5229 160000 --- a/PRIVATE +++ b/PRIVATE @@ -1 +1 @@ -Subproject commit 751f96155294e449b31c5d4913fea7bc02ce81b1 +Subproject commit 68cde52291ebb683ca6f610879f2ae28372597a7 diff --git a/python/damask/_result.py b/python/damask/_result.py index 1dfc33f95..0e74f86df 100644 --- a/python/damask/_result.py +++ b/python/damask/_result.py @@ -61,7 +61,7 @@ class Result: self.increments = [increments_unsorted[i] for i in sorted(increments_unsorted)] self.times = [round(f[i].attrs['time/s'],12) for i in self.increments] - self.N_materialpoints, self.N_constituents = np.shape(f['mapping/phase']) + self.N_materialpoints, self.N_constituents = np.shape(f['mapping/phase']) self.homogenizations = [m.decode() for m in np.unique(f['mapping/homogenization']['Name'])] self.phases = [c.decode() for c in np.unique(f['mapping/phase']['Name'])] @@ -1176,8 +1176,17 @@ class Result: This works only for scalar, 3-vector and 3x3-tensor data. Selection is not taken into account. """ - if self.N_constituents != 1 or not self.structured: - raise NotImplementedError('XDMF only available for grid results with 1 constituent.') + if self.N_constituents != 1 or len(self.phases) != 1 or not self.structured: + raise TypeError('XDMF output requires homogeneous grid') + + + attribute_type_map = defaultdict(lambda:'Matrix', ( ((),'Scalar'), ((3,),'Vector'), ((3,3),'Tensor')) ) + + def number_type_map(dtype): + if dtype in np.sctypes['int']: return 'Int' + if dtype in np.sctypes['uint']: return 'UInt' + if dtype in np.sctypes['float']: return 'Float' + xdmf=ET.Element('Xdmf') xdmf.attrib={'Version': '2.0', @@ -1227,8 +1236,6 @@ class Result: delta.text="{} {} {}".format(*(self.size/self.grid)) - type_map = defaultdict(lambda:'Matrix', ( ((),'Scalar'), ((3,),'Vector'), ((3,3),'Tensor')) ) - with h5py.File(self.fname,'r') as f: attributes.append(ET.SubElement(grid, 'Attribute')) attributes[-1].attrib={'Name': 'u / m', @@ -1249,18 +1256,17 @@ class Result: shape = f[name].shape[1:] dtype = f[name].dtype - if dtype != np.float64: continue - prec = f[name].dtype.itemsize + if dtype not in np.sctypes['int']+np.sctypes['uint']+np.sctypes['float']: continue unit = f[name].attrs['Unit'] if h5py3 else f[name].attrs['Unit'].decode() attributes.append(ET.SubElement(grid, 'Attribute')) attributes[-1].attrib={'Name': name.split('/',2)[2]+f' / {unit}', 'Center': 'Cell', - 'AttributeType': type_map[shape]} + 'AttributeType': attribute_type_map[shape]} data_items.append(ET.SubElement(attributes[-1], 'DataItem')) data_items[-1].attrib={'Format': 'HDF', - 'NumberType': 'Float', - 'Precision': f'{prec}', + 'NumberType': number_type_map(dtype), + 'Precision': f'{dtype.itemsize}', 'Dimensions': '{} {} {} {}'.format(*self.grid,1 if shape == () else np.prod(shape))} data_items[-1].text=f'{os.path.split(self.fname)[1]}:{name}' @@ -1269,7 +1275,7 @@ class Result: f.write(xml.dom.minidom.parseString(ET.tostring(xdmf).decode()).toprettyxml()) - def save_vtk(self,labels=[],mode='cell'): + def save_VTK(self,labels=[],mode='cell'): """ Export to vtk cell/point data. diff --git a/python/tests/reference/Result/6grains6x7x8_single_phase_tensionY.xdmf b/python/tests/reference/Result/6grains6x7x8_single_phase_tensionY.xdmf new file mode 100644 index 000000000..18f6b19aa --- /dev/null +++ b/python/tests/reference/Result/6grains6x7x8_single_phase_tensionY.xdmf @@ -0,0 +1,1638 @@ + + + + + + + + + 0.0 0.0 0.0 + 0.125 0.125 0.125 + + + 6grains6x7x8_single_phase_tensionY.hdf5:/inc0/geometry/u_n + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/plastic/xi_sl + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/F + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/F_e + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/F_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/L_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/P + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/matrix_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/matrix_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/matrix_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/matrix_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/matrix_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/matrix_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/matrix_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/matrix_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/matrix_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/matrix_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/scalar_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/scalar_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/scalar_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/scalar_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/scalar_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/scalar_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/scalar_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/scalar_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/scalar_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/scalar_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/tensor_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/tensor_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/tensor_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/tensor_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/tensor_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/tensor_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/tensor_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/tensor_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/tensor_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/tensor_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/vector_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/vector_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/vector_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/vector_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/vector_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/vector_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/vector_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/vector_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/vector_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc0/phase/pheno_fcc/mechanics/vector_u8 + + + + + + 0.0 0.0 0.0 + 0.125 0.125 0.125 + + + 6grains6x7x8_single_phase_tensionY.hdf5:/inc4/geometry/u_n + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/plastic/xi_sl + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/F + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/F_e + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/F_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/L_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/P + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/matrix_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/matrix_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/matrix_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/matrix_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/matrix_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/matrix_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/matrix_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/matrix_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/matrix_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/matrix_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/scalar_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/scalar_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/scalar_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/scalar_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/scalar_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/scalar_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/scalar_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/scalar_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/scalar_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/scalar_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/tensor_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/tensor_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/tensor_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/tensor_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/tensor_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/tensor_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/tensor_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/tensor_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/tensor_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/tensor_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/vector_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/vector_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/vector_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/vector_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/vector_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/vector_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/vector_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/vector_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/vector_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc4/phase/pheno_fcc/mechanics/vector_u8 + + + + + + 0.0 0.0 0.0 + 0.125 0.125 0.125 + + + 6grains6x7x8_single_phase_tensionY.hdf5:/inc8/geometry/u_n + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/plastic/xi_sl + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/F + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/F_e + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/F_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/L_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/P + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/matrix_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/matrix_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/matrix_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/matrix_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/matrix_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/matrix_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/matrix_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/matrix_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/matrix_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/matrix_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/scalar_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/scalar_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/scalar_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/scalar_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/scalar_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/scalar_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/scalar_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/scalar_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/scalar_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/scalar_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/tensor_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/tensor_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/tensor_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/tensor_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/tensor_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/tensor_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/tensor_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/tensor_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/tensor_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/tensor_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/vector_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/vector_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/vector_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/vector_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/vector_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/vector_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/vector_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/vector_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/vector_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc8/phase/pheno_fcc/mechanics/vector_u8 + + + + + + 0.0 0.0 0.0 + 0.125 0.125 0.125 + + + 6grains6x7x8_single_phase_tensionY.hdf5:/inc12/geometry/u_n + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/plastic/xi_sl + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/F + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/F_e + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/F_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/L_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/P + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/matrix_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/matrix_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/matrix_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/matrix_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/matrix_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/matrix_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/matrix_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/matrix_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/matrix_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/matrix_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/scalar_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/scalar_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/scalar_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/scalar_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/scalar_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/scalar_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/scalar_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/scalar_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/scalar_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/scalar_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/tensor_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/tensor_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/tensor_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/tensor_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/tensor_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/tensor_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/tensor_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/tensor_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/tensor_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/tensor_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/vector_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/vector_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/vector_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/vector_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/vector_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/vector_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/vector_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/vector_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/vector_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc12/phase/pheno_fcc/mechanics/vector_u8 + + + + + + 0.0 0.0 0.0 + 0.125 0.125 0.125 + + + 6grains6x7x8_single_phase_tensionY.hdf5:/inc16/geometry/u_n + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/plastic/xi_sl + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/F + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/F_e + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/F_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/L_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/P + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/matrix_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/matrix_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/matrix_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/matrix_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/matrix_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/matrix_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/matrix_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/matrix_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/matrix_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/matrix_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/scalar_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/scalar_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/scalar_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/scalar_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/scalar_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/scalar_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/scalar_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/scalar_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/scalar_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/scalar_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/tensor_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/tensor_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/tensor_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/tensor_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/tensor_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/tensor_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/tensor_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/tensor_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/tensor_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/tensor_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/vector_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/vector_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/vector_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/vector_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/vector_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/vector_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/vector_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/vector_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/vector_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc16/phase/pheno_fcc/mechanics/vector_u8 + + + + + + 0.0 0.0 0.0 + 0.125 0.125 0.125 + + + 6grains6x7x8_single_phase_tensionY.hdf5:/inc20/geometry/u_n + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/plastic/xi_sl + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/F + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/F_e + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/F_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/L_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/P + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/matrix_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/matrix_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/matrix_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/matrix_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/matrix_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/matrix_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/matrix_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/matrix_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/matrix_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/matrix_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/scalar_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/scalar_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/scalar_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/scalar_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/scalar_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/scalar_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/scalar_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/scalar_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/scalar_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/scalar_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/tensor_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/tensor_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/tensor_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/tensor_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/tensor_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/tensor_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/tensor_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/tensor_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/tensor_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/tensor_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/vector_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/vector_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/vector_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/vector_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/vector_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/vector_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/vector_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/vector_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/vector_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc20/phase/pheno_fcc/mechanics/vector_u8 + + + + + + 0.0 0.0 0.0 + 0.125 0.125 0.125 + + + 6grains6x7x8_single_phase_tensionY.hdf5:/inc24/geometry/u_n + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/plastic/xi_sl + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/F + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/F_e + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/F_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/L_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/P + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/matrix_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/matrix_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/matrix_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/matrix_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/matrix_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/matrix_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/matrix_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/matrix_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/matrix_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/matrix_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/scalar_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/scalar_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/scalar_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/scalar_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/scalar_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/scalar_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/scalar_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/scalar_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/scalar_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/scalar_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/tensor_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/tensor_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/tensor_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/tensor_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/tensor_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/tensor_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/tensor_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/tensor_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/tensor_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/tensor_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/vector_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/vector_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/vector_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/vector_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/vector_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/vector_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/vector_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/vector_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/vector_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc24/phase/pheno_fcc/mechanics/vector_u8 + + + + + + 0.0 0.0 0.0 + 0.125 0.125 0.125 + + + 6grains6x7x8_single_phase_tensionY.hdf5:/inc28/geometry/u_n + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/plastic/xi_sl + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/F + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/F_e + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/F_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/L_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/P + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/matrix_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/matrix_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/matrix_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/matrix_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/matrix_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/matrix_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/matrix_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/matrix_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/matrix_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/matrix_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/scalar_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/scalar_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/scalar_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/scalar_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/scalar_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/scalar_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/scalar_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/scalar_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/scalar_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/scalar_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/tensor_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/tensor_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/tensor_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/tensor_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/tensor_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/tensor_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/tensor_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/tensor_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/tensor_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/tensor_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/vector_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/vector_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/vector_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/vector_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/vector_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/vector_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/vector_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/vector_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/vector_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc28/phase/pheno_fcc/mechanics/vector_u8 + + + + + + 0.0 0.0 0.0 + 0.125 0.125 0.125 + + + 6grains6x7x8_single_phase_tensionY.hdf5:/inc32/geometry/u_n + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/plastic/xi_sl + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/F + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/F_e + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/F_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/L_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/P + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/matrix_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/matrix_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/matrix_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/matrix_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/matrix_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/matrix_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/matrix_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/matrix_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/matrix_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/matrix_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/scalar_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/scalar_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/scalar_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/scalar_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/scalar_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/scalar_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/scalar_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/scalar_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/scalar_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/scalar_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/tensor_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/tensor_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/tensor_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/tensor_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/tensor_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/tensor_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/tensor_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/tensor_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/tensor_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/tensor_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/vector_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/vector_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/vector_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/vector_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/vector_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/vector_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/vector_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/vector_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/vector_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc32/phase/pheno_fcc/mechanics/vector_u8 + + + + + + 0.0 0.0 0.0 + 0.125 0.125 0.125 + + + 6grains6x7x8_single_phase_tensionY.hdf5:/inc36/geometry/u_n + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/plastic/xi_sl + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/F + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/F_e + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/F_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/L_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/P + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/matrix_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/matrix_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/matrix_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/matrix_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/matrix_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/matrix_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/matrix_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/matrix_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/matrix_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/matrix_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/scalar_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/scalar_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/scalar_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/scalar_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/scalar_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/scalar_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/scalar_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/scalar_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/scalar_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/scalar_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/tensor_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/tensor_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/tensor_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/tensor_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/tensor_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/tensor_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/tensor_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/tensor_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/tensor_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/tensor_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/vector_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/vector_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/vector_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/vector_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/vector_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/vector_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/vector_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/vector_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/vector_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc36/phase/pheno_fcc/mechanics/vector_u8 + + + + + + 0.0 0.0 0.0 + 0.125 0.125 0.125 + + + 6grains6x7x8_single_phase_tensionY.hdf5:/inc40/geometry/u_n + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/plastic/xi_sl + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/F + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/F_e + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/F_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/L_p + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/P + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/matrix_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/matrix_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/matrix_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/matrix_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/matrix_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/matrix_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/matrix_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/matrix_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/matrix_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/matrix_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/scalar_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/scalar_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/scalar_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/scalar_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/scalar_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/scalar_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/scalar_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/scalar_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/scalar_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/scalar_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/tensor_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/tensor_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/tensor_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/tensor_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/tensor_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/tensor_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/tensor_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/tensor_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/tensor_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/tensor_u8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/vector_f4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/vector_f8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/vector_i1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/vector_i2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/vector_i4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/vector_i8 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/vector_u1 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/vector_u2 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/vector_u4 + + + 6grains6x7x8_single_phase_tensionY.hdf5:inc40/phase/pheno_fcc/mechanics/vector_u8 + + + + + diff --git a/python/tests/test_Result.py b/python/tests/test_Result.py index a1d5f74f6..f4ce4e373 100644 --- a/python/tests/test_Result.py +++ b/python/tests/test_Result.py @@ -366,13 +366,24 @@ class TestResult: @pytest.mark.parametrize('output',['F',[],['F','P']]) def test_vtk(self,tmp_path,default,output): os.chdir(tmp_path) - default.save_vtk(output) + default.save_VTK(output) @pytest.mark.parametrize('mode',['point','cell']) def test_vtk_mode(self,tmp_path,single_phase,mode): os.chdir(tmp_path) - single_phase.save_vtk(mode=mode) + single_phase.save_VTK(mode=mode) - def test_XDMF(self,tmp_path,single_phase): + def test_XDMF(self,tmp_path,single_phase,update,reference_dir): + for shape in [('scalar',()),('vector',(3,)),('tensor',(3,3)),('matrix',(12,))]: + for dtype in ['f4','f8','i1','i2','i4','i8','u1','u2','u4','u8']: + single_phase.add_calculation(f'{shape[0]}_{dtype}',f"np.ones(np.shape(#F#)[0:1]+{shape[1]},'{dtype}')") + fname = os.path.splitext(os.path.basename(single_phase.fname))[0]+'.xdmf' os.chdir(tmp_path) single_phase.save_XDMF() + if update: + shutil.copy(tmp_path/fname,reference_dir/fname) + assert sorted(open(tmp_path/fname).read()) == sorted(open(reference_dir/fname).read()) # XML is not ordered + + def test_XDMF_invalid(self,default): + with pytest.raises(TypeError): + default.save_XDMF()