constraints
- compas_cra.equilibrium.constraints(name, eps=0.0001)[source]
Constraint functions for pyomo.
- Parameters
name (str) –
contact: contact constraint, \({f_{jkn}^i}\: ({\delta d_{jkn}^i} + eps) = 0\)
penalty_contact: penalty formulation contact constraint, \({f_{jkn}^{i+}}\:({\delta d_{jkn}^i} + eps) = 0\)
fn_np: fn+ and fn- cannot coexist, \({f_{jkn}^{i+}} \: {f_{jkn}^{i-}} = 0\)
no_penetration: no penetration constraint, \({f_{jkn}^{i+}}\:({\delta d_{jkn}^i} + eps) = 0\)
ft_dt: friction and virtual sliding alignment, \(f_{jkt}^{i} = -{α_{jk}^i} \: \delta{d}_{jkt}^{i}\)
penalty_ft_dt: penalty formulation friction and virtual sliding alignment, \(f_{jkt}^{i} = -{α_{jk}^i} \: \delta{d}_{jkt}^{i}\)
eps (float, optional) – epsilon, overlapping parameter
- Returns
Callable – constraint function for pyomo