GeneralDisplacement.global_constraint_equations

GeneralDisplacement.global_constraint_equations()[source]

Return linear constraint equations in global translational DOFs implied by local restraints.

Each equation corresponds to a local restrained translational DOF. Equation format: ( { ‘UX’: a, ‘UY’: b, ‘UZ’: c }, 0.0 ) meaning a*UX + b*UY + c*UZ = 0.

Returns:
list of tuple of (dict, float)

List of tuples each containing a dictionary mapping global DOF names to coefficients, and a float representing the right-hand side (always zero).

Notes

The coefficients are unitless as they represent direction cosines. Rotational mapping can be extended similarly when needed.