This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
PorousFailureCriteria.py
61 lines (46 loc) · 1.61 KB
/
PorousFailureCriteria.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
class PorousFailureCriteria:
"""The PorousFailureCriteria object specifies the material failure criteria for a porous
metal.
Notes
-----
This object can be accessed by:
.. code-block:: python
import material
mdb.models[name].materials[name].porousMetalPlasticity.porousFailureCriteria
import odbMaterial
session.odbs[name].materials[name].porousMetalPlasticity.porousFailureCriteria
The corresponding analysis keywords are:
- POROUS FAILURE CRITERIA
"""
def __init__(self, fraction: float = 1, criticalFraction: float = 1):
"""This method creates a PorousFailureCriteria object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].porousMetalPlasticity\
- .PorousFailureCriteria
session.odbs[name].materials[name].porousMetalPlasticity\
- .PorousFailureCriteria
Parameters
----------
fraction
A Float specifying the void volume fraction at total failure, fF>0. The default value is
1.0.
criticalFraction
A Float specifying the critical void volume fraction, fc≥0. The default value is 1.0.
Returns
-------
A PorousFailureCriteria object.
Raises
------
RangeError
"""
pass
def setValues(self):
"""This method modifies the PorousFailureCriteria object.
Raises
------
RangeError
"""
pass