integration
Integration
_beta
instance-attribute
_beta: VectorXf = zeros(0, dtype=numpy_float)
azimuthal angles of the integration points in the x-y plane
_gamma
instance-attribute
_gamma: VectorXf = zeros(0, dtype=numpy_float)
azimuthal angles of the integration points z-axis
_l
instance-attribute
_l: MatrixXf = zeros((0, 3), dtype=numpy_float)
contact vectors of the integration points
fabric
instance-attribute
fabric: FabricTensor = FabricTensor('chang1990-ext', 'zhao2020', None)
fabric tensor
gauss_weight
instance-attribute
gauss_weight: VectorXf = zeros(0, dtype=numpy_float)
weights of the integration points
n
instance-attribute
n: MatrixXf = zeros((0, 3), dtype=numpy_float)
azimuthal angles of the integration points
Aij
Aij() -> ndarray
The fabric tensor Aij, an array of shape (3, 3).
RETURNS | DESCRIPTION |
---|---|
ndarray
|
The fabric tensor. |
Aij_
Aij_() -> ndarray
Calculate the fabric tensor Aij from the definition, an array of shape (3, 3).
__init__
__init__(npv: float = 1000000000.0, radius=0.00065)
beta
beta() -> ndarray
The azimuthal angles of the integration points in the y-z plane, an array of shape (n,).
RETURNS | DESCRIPTION |
---|---|
ndarray
|
The azimuthal angles of the integration points in the y-z plane. |
gamma
gamma() -> ndarray
The azimuthal angles of the integration points x-axis, an array of shape (n,).
RETURNS | DESCRIPTION |
---|---|
ndarray
|
The azimuthal angles of the integration points x-axis. |
indexOf
Return the indices of the integration points with the given beta and gamma angles and the corresponding
angles. Specify one (and only one) of beta
or gamma
.
PARAMETER | DESCRIPTION |
---|---|
beta
|
The angle between the projection of the azimuth on the YZ plane and the Y axis
TYPE:
|
gamma
|
The angle between the azimuth and the X axis
TYPE:
|
tol
|
The tolerance for the comparison of the angles, by default 1e-6
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
ndarray
|
The indices of the integration points |
ndarray
|
The corresponding angles, depending on the given angles, gamma when beta is given and vice versa |
l
l() -> ndarray
The contact vectors of the integration points, an array of shape (n, 3).
RETURNS | DESCRIPTION |
---|---|
ndarray
|
The integration points in the x-y plane. |
p
The transformation matrix, an array of shape (3, 3).
RETURNS | DESCRIPTION |
---|---|
ndarray
|
The transformation matrix. |
setAnisotropicParameters
setAnisotropicParameters(
type: AvailableFabricTypes = "chang1990-ext",
evolution: AvailableFabricEvolutionTypes = "zhao2020",
coefs: Dict[str, float] = None,
)
setGauss37
setGauss37(full: bool = False)
Set the Gauss37 integration points.
PARAMETER | DESCRIPTION |
---|---|
full
|
Full 37*2 integration points.
TYPE:
|
setGauss61
setGauss61(full: bool = False)
Set the Gauss61 integration points.
PARAMETER | DESCRIPTION |
---|---|
full
|
Full 61*2 integration points.
TYPE:
|
setNPVFromNormalizedPackingDensity
setNPVFromNormalizedPackingDensity(rho: float)
Set the number of contacts per unit volume from the normalized packing density with the following equation:
PARAMETER | DESCRIPTION |
---|---|
rho
|
normalized packing density
TYPE:
|
setNPVFromVoidRatio
setNPVFromVoidRatio(e: float)
Set the number of contacts per unit volume from the void ratio with the following equation:
PARAMETER | DESCRIPTION |
---|---|
e
|
void ratio
TYPE:
|
setParameters
size
size() -> int
The number of integration points.
RETURNS | DESCRIPTION |
---|---|
int
|
The number of integration points. |