sfepy.terms.terms_constraints module¶
- class sfepy.terms.terms_constraints.NonPenetrationPenaltyTerm(name, arg_str, integral, region, **kwargs)[source]¶
Non-penetration condition in the weak sense using a penalty.
- Definition:
- Call signature:
dw_non_penetration_p
(material, virtual, state)
- Arguments:
material :
virtual :
state :
- arg_shapes = {'material': '1, 1', 'state': 'D', 'virtual': ('D', 'state')}¶
- arg_types = ('material', 'virtual', 'state')¶
- integration = 'facet'¶
- name = 'dw_non_penetration_p'¶
- class sfepy.terms.terms_constraints.NonPenetrationTerm(name, arg_str, integral, region, **kwargs)[source]¶
Non-penetration condition in the weak sense.
- Definition:
- Call signature:
dw_non_penetration
(opt_material, virtual, state)
(opt_material, state, virtual)
- Arguments 1:
material : (optional)
virtual :
state :
- Arguments 2:
material : (optional)
state :
virtual :
- arg_shapes = [{'opt_material': '1, 1', 'state/div': 'D', 'state/grad': 1, 'virtual/div': (1, None), 'virtual/grad': ('D', None)}, {'opt_material': None}]¶
- arg_types = (('opt_material', 'virtual', 'state'), ('opt_material', 'state', 'virtual'))¶
- static function(out, val_qp, ebf, bf, mat, sg, diff_var, mode)[source]¶
ebf belongs to vector variable, bf to scalar variable.
- integration = 'facet'¶
- modes = ('grad', 'div')¶
- name = 'dw_non_penetration'¶