upxo.meshing.gbconformant.fm_steel_abaqus.deckcheck module

Checks of a written deck, made on the files and not on the arrays they came from.

check_deck(folder) reads the node, element, set, material, section and step files back and reports, check by check, whether the deck is consistent:

  • nodes and elements are numbered 1..N without gaps, every connectivity entry names a node, and every node is used;

  • every element (C3D4 tetrahedron or C3D8 hexahedron) has a positive volume;

  • the element sets that sections point at cover each element exactly once;

  • every section names an existing element set and material, and every material is used;

  • every element set and node set is non-empty and names only existing elements or nodes;

  • no set name is defined twice (ignoring case, as Abaqus does) and every name follows the naming rules;

  • every surface names existing elements and faces those elements have;

  • a step’s element output set exists, named through the instance;

  • every set the step applies a boundary condition to exists;

  • every file the master file includes exists.

A deck that passes is consistent as a file; it has not been run in Abaqus.

upxo.meshing.gbconformant.fm_steel_abaqus.deckcheck.read_sets(path, keyword)[source]

{name: ids} of the *Elset or *Nset blocks of an include file.

upxo.meshing.gbconformant.fm_steel_abaqus.deckcheck.set_names(path, keyword)[source]

Every *Elset/*Nset/*Surface name of an include file, in file order (repeats kept).

upxo.meshing.gbconformant.fm_steel_abaqus.deckcheck.read_surfaces(path)[source]

{name: (element ids, face numbers)} of the *Surface, type=ELEMENT blocks of an include file.

upxo.meshing.gbconformant.fm_steel_abaqus.deckcheck.check_deck(folder)[source]

Read the deck in folder back and return {'ok', 'checks': [{name, ok, detail}], 'counts'}.

upxo.meshing.gbconformant.fm_steel_abaqus.deckcheck.format_check(result)[source]

The check as short text lines, one per check.