BrickElementManager
BrickElementManager
Create continuum brick definitions through model.element.brick.
Pass a managed nD material object, preferably from the same Model. Integer
material tags are resolved through that model's material registry. A string
is interpreted as an integer tag, not a material name. Component constructors
validate compatible nodal DOFs and options. Mesh geometry is supplied later
through model.meshpart.
Example
Methods:
| Name | Description |
|---|---|
std |
Create a stdBrickElement with validated material and body-force inputs. |
pml3d |
Create a PML3DElement with validated PML and Newmark parameters. |
ssp |
Create an SSPbrickElement with validated material and body-force inputs. |
Methods:
std
std(ndof: int, material: Material | int | str, *, b1: float = 0.0, b2: float = 0.0, b3: float = 0.0, lumped: bool = False) -> stdBrickElement
Create a stdBrickElement with validated material and body-force inputs.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ndof
|
int
|
Number of DOFs per node. Must be 3 for this element. |
required |
material
|
Material | int | str
|
Managed 3D |
required |
b1
|
float
|
Constant body force in the global x-direction. |
0.0
|
b2
|
float
|
Constant body force in the global y-direction. |
0.0
|
b3
|
float
|
Constant body force in the global z-direction. |
0.0
|
lumped
|
bool
|
When |
False
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If the material is incompatible, if |
Returns:
| Name | Type | Description |
|---|---|---|
component |
stdBrickElement
|
Registered definition; no solver is launched. |
pml3d
pml3d(ndof: int, material: Material | int | str, *, PML_Thickness: float, meshType: str, meshTypeParameters: list[float] | str, gamma: float = 0.5, beta: float = 0.25, eta: float = 1.0 / 12.0, ksi: float = 1.0 / 48.0, m: float = 2.0, R: float = 1e-08, Cp: float | None = None, alpha0: float | None = None, beta0: float | None = None) -> PML3DElement
Create a PML3DElement with validated PML and Newmark parameters.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ndof
|
int
|
Number of DOFs per node. Must be 9 for this element. |
required |
material
|
Material | int | str
|
Managed isotropic elastic 3D |
required |
PML_Thickness
|
float
|
Thickness of the PML layer. |
required |
meshType
|
str
|
|
required |
meshTypeParameters
|
list[float] | str
|
Six numeric values or a comma-separated string describing the PML mesh orientation. |
required |
gamma
|
float
|
Newmark gamma parameter. |
0.5
|
beta
|
float
|
Newmark beta parameter. |
0.25
|
eta
|
float
|
Newmark eta parameter. |
1.0 / 12.0
|
ksi
|
float
|
Newmark ksi parameter. |
1.0 / 48.0
|
m
|
float
|
PML attenuation parameter when |
2.0
|
R
|
float
|
PML reflection parameter when |
1e-08
|
Cp
|
float | None
|
Optional P-wave speed override. |
None
|
alpha0
|
float | None
|
Optional PML alpha parameter; must be paired with |
None
|
beta0
|
float | None
|
Optional PML beta parameter; must be paired with |
None
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If the material is incompatible, if |
Returns:
| Name | Type | Description |
|---|---|---|
component |
PML3DElement
|
Registered definition; no solver is launched. |
ssp
ssp(ndof: int, material: Material | int | str, *, b1: float = 0.0, b2: float = 0.0, b3: float = 0.0) -> SSPbrickElement
Create an SSPbrickElement with validated material and body-force inputs.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ndof
|
int
|
Number of DOFs per node. Must be 3 for this element. |
required |
material
|
Material | int | str
|
Managed 3D |
required |
b1
|
float
|
Constant body force in the global x-direction. |
0.0
|
b2
|
float
|
Constant body force in the global y-direction. |
0.0
|
b3
|
float
|
Constant body force in the global z-direction. |
0.0
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If the material is incompatible, if |
Returns:
| Name | Type | Description |
|---|---|---|
component |
SSPbrickElement
|
Registered definition; no solver is launched. |