pyfem package

Subpackages

Module contents

run(a)[source]

Run a PyFEM analysis from a dict or YAML/JSON file path.

Parameters:

props (dict | str | Path) – Analysis settings (or a path to YAML/JSON).

Returns:

A results dictionary (or switch to a dataclass).

Return type:

dict

class NodeSet[source]

Bases: itemList

addToGroup(modelType, ID)[source]
getNodeCoords(nodeIDs)[source]
readFromFile(fname)[source]
readGmshFile(fname)[source]
readNodalCoords(fin)[source]
readNodegroup(fin, key)[source]
class ElementSet(nodes, props)[source]

Bases: itemList

add(ID, modelName, elementNodes)[source]

Adds an item with an ID to the list. This item will be stored in the list.

Parameters:
  • ID (int) – the ID of the item to be stored.

  • item – the value(s) of the item to be stored.

addGroup(groupName, groupIDs)[source]
addToGroup(modelType, ID)[source]
commitHistory()[source]
elementGroupCount(groupName)[source]
getDofTypes()[source]
getFamilyIDs()[source]
iterElementGroup(groupName)[source]
iterGroupNames()[source]
readFromFile(fname)[source]
readGmshFile(fname)[source]