This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
SlidingFormulationAssignment.py
70 lines (56 loc) · 2.52 KB
/
SlidingFormulationAssignment.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
from abaqusConstants import *
class SlidingFormulationAssignment:
"""The SlidingFormulationAssignment object stores the sliding formulation assignment
definition for surfaces in ContactStd objects. The SlidingFormulationAssignment object
has no constructor or members.
Notes
-----
This object can be accessed by:
.. code-block:: python
import interaction
mdb.models[name].interactions[name].slidingFormulationAssignments
The corresponding analysis keywords are:
- CONTACT FORMULATION
"""
def changeValuesInStep(self, stepName: str, index: int, value: SymbolicConstant):
"""This method allows you to modify sliding formulation assignments already defined on
surface pairs in a given step.
Parameters
----------
stepName
A String specifying the name of the step in which the sliding formulation assignments
are to be modified.
index
An Int specifying the position of the sliding formulation assignment whose value is to
be modified.
value
A SymbolicConstant specifying the value of the smoothness of the surface-to-surface
formulation on sliding to be assigned to the surface whose index is referenced. Possible
values are NONE and SMALL_SLIDING.
"""
pass
def appendInStep(self, stepName: str, assignments: SymbolicConstant):
"""This method allows you to add sliding formulation assignments to new surface pairs in a
given step.
Parameters
----------
stepName
A String specifying the name of the step in which the sliding formulation assignments
are to be defined.
assignments
A sequence of tuples specifying the sliding formulation assignments. Each tuple contains
two entries:A region object or the SymbolicConstant GLOBAL specifying the surface to
which the sliding formulation attribute is assigned.A SymbolicConstant specifying the
overriding the smoothness value to be used for the first surface. Possible values of the
SymbolicConstant are NONE and SMALL_SLIDING.
"""
pass
def delete(self, indices: tuple):
"""The delete method allows you to delete existing sliding formulation assignments.
Parameters
----------
indices
A sequence of Ints specifying the index of each sliding formulation assignment to
delete.
"""
pass