equilibrium
Solvers
CRA solver using Pyomo + IPOPT. |
|
CRA solver with penalty formulation using Pyomo + IPOPT. |
|
RBE solver with penalty formulation using Pyomo + IPOPT. |
The following helper functions can be useful if you’re developing your own formulation.
Equilibrium Helper Functions
Set up equilibrium matrix. |
|
Set up friction matrix. |
|
Set up external force vector. |
|
Set up material density. |
|
Create equilibrium matrix Aeq or penalty formulation matrix Aeq@B. |
|
Create friction matrix Afr and Afr@B. |
|
Create interface reference system as unit basis. |
|
Total number of vertices. |
|
Return number of free blocks. |
|
Return free and fixed node list. |
Pyomo Helper Functions
Variable initialisations for pyomo. |
|
Variable bounds for pyomo. |
|
Objective functions for pyomo. |
|
Constraint functions for pyomo. |
|
Create equilibrium and friction constraints. |
|
Check if pyomo optimisation result, raise error if the problem is infeasible. |
|
Save pyomo optimisation results to assembly. |