This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
BrittleFailure.py
86 lines (67 loc) · 2.84 KB
/
BrittleFailure.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
from abaqusConstants import *
class BrittleFailure:
"""The BrittleFailure object specifies the brittle failure of the material.
Notes
-----
This object can be accessed by:
.. code-block:: python
import material
mdb.models[name].materials[name].brittleCracking.brittleFailure
import odbMaterial
session.odbs[name].materials[name].brittleCracking.brittleFailure
The table data for this object are:
- If parent [BrittleCracking](https://help.3ds.com/2022/english/DSSIMULIA_Established/SIMACAEKERRefMap/simaker-c-brittlecrackingpyc.htm?ContextScope=all) member *type*=STRAIN the table data specify the following:
- Direct cracking failure strain.
- Temperature, if the data depend on temperature.
- Value of the first field variable, if the data depend on field variables.
- Value of the second field variable.
- Etc.
- If parent [BrittleCracking](https://help.3ds.com/2022/english/DSSIMULIA_Established/SIMACAEKERRefMap/simaker-c-brittlecrackingpyc.htm?ContextScope=all) member *type*=DISPLACEMENT or *type*=GFI the table data specify the following:
- Direct cracking failure displacement.
- Temperature, if the data depend on temperature.
- Value of the first field variable, if the data depend on field variables.
- Value of the second field variable.
- Etc.
The corresponding analysis keywords are:
- BRITTLE FAILURE
"""
def __init__(
self,
table: tuple,
temperatureDependency: Boolean = OFF,
dependencies: int = 0,
failureCriteria: SymbolicConstant = UNIDIRECTIONAL,
):
"""This method creates a BrittleFailure object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].brittleCracking.BrittleFailure
session.odbs[name].materials[name].brittleCracking.BrittleFailure
Parameters
----------
table
A sequence of sequences of Floats specifying the items described below.
temperatureDependency
A Boolean specifying whether the data depend on temperature. The default value is OFF.
dependencies
An Int specifying the number of field variable dependencies. The default value is 0.
failureCriteria
A SymbolicConstant specifying the failure criteria. Possible values are UNIDIRECTIONAL,
BIDIRECTIONAL, and TRIDIRECTIONAL. The default value is UNIDIRECTIONAL.
Returns
-------
A BrittleFailure object.
Raises
------
RangeError
"""
pass
def setValues(self):
"""This method modifies the BrittleFailure object.
Raises
------
RangeError
"""
pass