This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
DebondVCCT.py
97 lines (79 loc) · 3.2 KB
/
DebondVCCT.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
from abaqusConstants import *
from .Crack import Crack
class DebondVCCT(Crack):
"""The DebondVCCT object defines the parameters needed to activate crack propagation using
VCCT.
The DebondVCCT object is derived from the Crack object.
Attributes
----------
suppressed: Boolean
A Boolean specifying whether the crack is suppressed or not. The default value is OFF.
Notes
-----
This object can be accessed by:
.. code-block:: python
import part
mdb.models[name].parts[name].engineeringFeatures.cracks[name]
import assembly
mdb.models[name].rootAssembly.engineeringFeatures.cracks[name]
The corresponding analysis keywords are:
- DEBOND
"""
# A Boolean specifying whether the crack is suppressed or not. The default value is OFF.
suppressed: Boolean = OFF
def __init__(
self,
name: str,
initiationStep: str,
surfToSurfInteraction: str,
debondingForceAmplitude: SymbolicConstant = STEP,
printToDATFrequency: int = 1,
):
"""This method creates a DebondVCCT object. Although the constructor is available both for
parts and for the assembly, DebondVCCT objects are currently supported only under the
assembly.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].parts[name].engineeringFeatures.DebondVCCT
mdb.models[name].rootAssembly.engineeringFeatures.DebondVCCT
Parameters
----------
name
A String specifying the repository key.
initiationStep
A String specifying the name of the step in which the DebondVCCT object is created.
surfToSurfInteraction
A String specifying the name of the SurfaceToSurfaceContactStd object that defines the
surface to surface interaction for the crack surfaces.
debondingForceAmplitude
A SymbolicConstant specifying whether the debond force between the two surfaces at the
crack tip is to be released immediately or gradually during the following increment
after debonding. Possible values are STEP and RAMP. The default value is STEP.
printToDATFrequency
An Int specifying the frequency at which output will be printed to DAT file. The default
value is 1.
Returns
-------
A DebondVCCT object.
"""
super().__init__()
pass
def setValues(
self,
debondingForceAmplitude: SymbolicConstant = STEP,
printToDATFrequency: int = 1,
):
"""This method modifies the DebondVCCT object.
Parameters
----------
debondingForceAmplitude
A SymbolicConstant specifying whether the debond force between the two surfaces at the
crack tip is to be released immediately or gradually during the following increment
after debonding. Possible values are STEP and RAMP. The default value is STEP.
printToDATFrequency
An Int specifying the frequency at which output will be printed to DAT file. The default
value is 1.
"""
pass