This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
RegionPairs.py
56 lines (46 loc) · 2.15 KB
/
RegionPairs.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
from abaqusConstants import *
class RegionPairs:
"""The RegionPairs object stores the domain pair definition for ContactExp and ContactStd
objects. The RegionPairs object has no constructor or members.
Notes
-----
This object can be accessed by:
.. code-block:: python
import interaction
mdb.models[name].interactions[name].excludedPairs
mdb.models[name].interactions[name].includedPairs
The corresponding analysis keywords are:
- CONTACT INCLUSIONS
- CONTACT EXCLUSIONS
"""
def setValuesInStep(
self,
stepName: str,
useAllstar: Boolean = OFF,
addPairs: SymbolicConstant = None,
removePairs: SymbolicConstant = None,
):
"""This method allows addition and removal of domain pairs in a given step.
Parameters
----------
stepName
A String specifying the name of the step in which the region pair assignments are to be
modified.
useAllstar
A Boolean specifying whether the contacting surface pair consists of all exterior faces
and -- in an Abaqus/Explicit analysis -- analytical rigid surfaces, shell edges, and
beam segments in the model.
addPairs
A sequence of pairs of region objects or SymbolicConstants that specify the surface
pairs to add to the included pairs of the ContactExp or ContactStd object in the given
step. Possible values of the SymbolicConstants are GLOBAL and SELF. When used with a
ContactExp object, the second parameter of each pair can also be a string that
references an Eulerian material surface.
removePairs
A sequence of pairs of region objects or SymbolicConstants that specify the surface
pairs to remove from the included pairs of the ContactExp or ContactStd object in the
given step. Possible values of the SymbolicConstants are GLOBAL and SELF. When used with
a ContactExp object, the second parameter of each pair can also be a string that
references an Eulerian material surface.
"""
pass