enums module

This module contains some enum definitions for the fedempy package. They are python equivalents to corresponding enum definitions in the C++ code of the FedemDB shared object library (see the fedem_mdb repository). The numerical value of each enum value in this module should therefore not be changed without a similar change in the C++ equivalent, to preserve consistency.

class enums.FmDof(value)[source]

Bases: Enum

This enumerator identifies the local DOF components in an object. The values corresponds to the FmIsMeasuredBase::SensorDof enum values (see the fedem_mdb repository).

GAGE_1 = 17
GAGE_2 = 18
GAGE_3 = 19
LENGTH = 6
MAX_PR = 13
MIN_PR = 14
RX = 3
RY = 4
RZ = 5
SA_MAX = 15
TX = 0
TY = 1
TZ = 2
VMISES = 16
class enums.FmDofStat(value)[source]

Bases: Enum

This enumerator identifies the available DOF constraint types. The values corresponds to the FmHasDOFsBase::DOFStatus enum values (see the fedem_mdb repository).

FIXED = 1
FREE = 0
FREE_DYN = 3
PRESCRIBED = 2
SPRING = 4
SPRING_DYN = 5
class enums.FmLoadType(value)[source]

Bases: Enum

This enumerator identifies the two external load types a Fedem model. The values corresponds to the enum values in the C++ class FmLoad. (see the fedem_mdb repository).

FORCE = 0
TORQUE = 1
class enums.FmType(value)[source]

Bases: Enum

This enumerator identifies the various object types a Fedem mechanism model may consist of. They are mapped onto a corresponding type ID value of the C++ classes in the FedemDB.C source file (see the fedem_mdb repository).

ALL = 0
AXIAL_DAMPER = 18
AXIAL_SPRING = 17
BALL_JOINT = 9
BEAM = 2
BEAM_PROP = 4
CAM_JOINT = 13
CYLINDRIC_JOINT = 12
FEPART = 3
FREE_JOINT = 10
FUNCTION = 15
JOINT = 6
LOAD = 14
MAT_PROP = 5
PRISMATIC_JOINT = 11
REVOLUTE_JOINT = 8
RIGID_JOINT = 7
SENSOR = 16
STRAIN_ROSETTE = 19
TRIAD = 1
class enums.FmVar(value)[source]

Bases: Enum

This enumerator identifies the result quantities that may be measured. The values corresponds to the FmIsMeasuredBase::SensorEntity enum values (see the fedem_mdb repository).

ACC = 7
DAMP_ANG = 12
DAMP_FORCE = 14
DAMP_VEL = 13
DEFLECTION = 16
DISTANCE = 5
FORCE = 17
GLOBAL_ACC = 4
GLOBAL_FORCE = 19
GLOBAL_VEL = 2
LENGTH = 15
LOCAL_ACC = 3
LOCAL_FORCE = 18
LOCAL_VEL = 1
POS = 0
REL_POS = 8
SPR_ANG = 9
SPR_DEFL = 10
SPR_FORCE = 11
STRAIN = 24
STRESS = 25
VEL = 6