This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
Permeability.py
109 lines (88 loc) · 3.18 KB
/
Permeability.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
98
99
100
101
102
103
104
105
106
107
108
109
from abaqusConstants import *
from .SaturationDependence import SaturationDependence
from .VelocityDependence import VelocityDependence
class Permeability:
"""The Permeability object defines permeability for pore fluid flow.
Notes
-----
This object can be accessed by:
.. code-block:: python
import material
mdb.models[name].materials[name].permeability
import odbMaterial
session.odbs[name].materials[name].permeability
The table data for this object are:
- If *type*=ISOTROPIC, the table data specify the following:
- k.
- Void ratio, e.
- Temperature, if the data depend on temperature.
- If *type*=ORTHOTROPIC, the table data specify the following:
- k11.
- k22.
- k33.
- Void ratio, e.
- Temperature, if the data depend on temperature.
- If *type*=ANISOTROPIC, the table data specify the following:
- k11.
- k12.
- k22.
- k13.
- k23.
- k33.
- Void ratio, e.
- Temperature, if the data depend on temperature.
The corresponding analysis keywords are:
- PERMEABILITY
"""
# A SaturationDependence object specifying the dependence of the permeability of a
# material on the saturation of the wetting liquid.
saturationDependence: SaturationDependence = SaturationDependence(((),))
# A VelocityDependence object specifying the dependence of the permeability of a material
# on the velocity of fluid flow.
velocityDependence: VelocityDependence = VelocityDependence(((),))
def __init__(
self,
specificWeight: float,
inertialDragCoefficient: float,
table: tuple,
type: SymbolicConstant = ISOTROPIC,
temperatureDependency: Boolean = OFF,
dependencies: int = 0,
):
"""This method creates a Permeability object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].materials[name].Permeability
session.odbs[name].materials[name].Permeability
Parameters
----------
specificWeight
A Float specifying the specific weight of the wetting liquid, γwγw.
inertialDragCoefficient
A Float specifying The inertial drag coefficient of the wetting liquid, γwγw.
table
A sequence of sequences of Floats specifying the items described below.
type
A SymbolicConstant specifying the type of permeability. Possible values are ISOTROPIC,
ORTHOTROPIC, and ANISOTROPIC. The default value is ISOTROPIC.
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.
Returns
-------
A Permeability object.
Raises
------
RangeError
"""
pass
def setValues(self):
"""This method modifies the Permeability object.
Raises
------
RangeError
"""
pass