upxo.meshing.gbconformant.fm_steel_abaqus.setnames module
Rules for the names of element sets, node sets and surfaces in a deck.
Abaqus reads names without regard to case, so es_pag_1 and ES_PAG_1 are the same set. A name here
starts with a letter, holds only letters, digits, _ and -, and is at most 80 characters long. Element
sets and surfaces live in the Part, node sets in the Assembly; within each of these a name may be used once.
- exception upxo.meshing.gbconformant.fm_steel_abaqus.setnames.SetNameError(problems)[source]
Bases:
ValueErrorOne or more set names break the naming rules or are used twice.
- upxo.meshing.gbconformant.fm_steel_abaqus.setnames.name_problem(name, what='name') str | None[source]
Why
namecannot name a set, orNonewhen it can.
- upxo.meshing.gbconformant.fm_steel_abaqus.setnames.prefix_problem(prefix, longest_key=12, what='prefix') str | None[source]
Why
prefixcannot start set names, orNone;longest_keyis the longest text appended to it.
- class upxo.meshing.gbconformant.fm_steel_abaqus.setnames.SetRegistry[source]
Bases:
objectCollects every name a deck defines and the problems found;
raise_problems()stops the export.- SCOPES = {'Elset': 'Part', 'Nset': 'Assembly', 'Surface': 'Part'}
- upxo.meshing.gbconformant.fm_steel_abaqus.setnames.settings_problems(settings) list[str][source]
Problems with the names and prefixes typed into
settings(export.DeckSettings), and with those a set provider checks.Checks every typed name and prefix against the rules, and the typed full names against each other and against the fixed names of the deck. Names built from a prefix and a key are checked when the deck is written (they depend on the structure).