upxo.meshing.gbconformant.fm_steel_abaqus.features module

The table that ties each feature’s element set, material and orientation to its place in the hierarchy.

features.csv has one row per feature that holds elements: the names of its element set and material, the UMAT grain number, the Bunge-Euler angles, its PAG, packet, block and sub-block (as ids and as the names of their element sets), and what the mesh made of it: tetrahedra, volume and share of the volume. The same ids ride along as cell data in the mesh files, so a result can be summed by hierarchy level.

Datasets that name their own attributes (twinned FCC: role and host family) give those columns instead.

upxo.meshing.gbconformant.fm_steel_abaqus.features.tet_volumes(points, tetrahedra)[source]

Volume of each tetrahedron in the units of points.

upxo.meshing.gbconformant.fm_steel_abaqus.features.level_keys(feature)[source]

The keys of a feature’s PAG, packet, block and sub-block (None where the level does not apply).

upxo.meshing.gbconformant.fm_steel_abaqus.features.id_columns(hierarchy, labels=None)[source]

{column: {label: int}}: the ids a mesh file carries for each feature, -1 where none applies.

FM steel: pag_id is the PAG number of the element set name; packet_id, block_id and subblock_id number the packets, blocks and sub-blocks present, from 1 in ascending key order. A dataset that names its own attributes gives those (twinned FCC: family_id, the host label, and role_code).

upxo.meshing.gbconformant.fm_steel_abaqus.features.feature_table(hierarchy, names, material_names, tets_of, volume_of, prefixes=None, element_column='tetrahedra')[source]

(columns, rows) of the feature table.

names and material_names map a label to its element set and material; tets_of and volume_of map a label to the tetrahedra and the volume the mesh made of it (output units cubed). element_column names the element count column (hexahedra for a voxel deck).

upxo.meshing.gbconformant.fm_steel_abaqus.features.write_feature_table(path, columns, rows)[source]