backends
Backend
Bases: ABC
The backend class to manage micromechanical models and the corresponding contact laws.
ContactLaw
Create a contact law object.
| PARAMETER | DESCRIPTION |
|---|---|
contact_type
|
The contact law type.
TYPE:
|
props
|
The material properties of the contact law.
TYPE:
|
ElastoplasticModel
Create an elastoplastic model object.
| PARAMETER | DESCRIPTION |
|---|---|
model_type
|
The model type.
TYPE:
|
props
|
The material properties of the model.
TYPE:
|
FabricTensor
FabricTensor(
type: AvailableFabricTypes = "chang1990-ext",
evolution: AvailableFabricEvolutionTypes = "li2012",
coefs: Dict[str, float] = None,
)
Create a fabric tensor object.
LoadPhase
LoadPhase(
initial: Iterable[float] = zeros(6),
final: Iterable[float] = zeros(6),
control: Iterable[float] = zeros(6),
total: Iterable[float] = zeros(6),
steps: int = 100,
b: float = -1.0,
true_triaxial_control_type: str = "none",
true_triaxial_major_axis: int = 1,
true_triaxial_intermediate_axis: int = 2,
)
Create a load phase object.
MicromechanicalModel
MicromechanicalModel(
model_type: str,
contact_type: str | None = None,
*,
npv: float = 1000000000.0,
radius: float = 0.00065,
**props: float
) -> "MicromechanicalBase"
Create a micromechanical model object.
| PARAMETER | DESCRIPTION |
|---|---|
model_type
|
The model type.
TYPE:
|
contact_type
|
The contact law type.
TYPE:
|
npv
|
The number of particles per volume, by default 1e9
TYPE:
|
radius
|
The particle radius, by default 0.65e-3
TYPE:
|
props
|
The material properties of the model.
TYPE:
|
Backends
CppBackend
Bases: Backend
Cpp backend.
PythonBackend
Bases: Backend
Python backend.
FabricTensor
FabricTensor(
type: AvailableFabricTypes = "chang1990-ext",
evolution: AvailableFabricEvolutionTypes = "li2012",
coefs: Dict[str, float] = None,
)