Skip to content

SpecialElementManager

SpecialElementManager

SpecialElementManager(manager: 'ElementManager')

Create auxiliary/contact definitions through model.element.special.

Each factory registers a reusable definition in the parent ElementManager. It does not find contact surfaces, construct connectivity, or install a node/beam-solid interface. Use component-specific documentation to select compatible DOFs, geometry, penalty parameters, and solver capabilities.

Methods:

Name Description
ghost_node

Create a GhostNodeElement with merge-protected sentinel DOF metadata.

asd_embedded_node

Create an ASDEmbeddedNodeElement3D with validated constraint options.

embedded_node_contact

Register an embedded-node contact definition.

zero_length_contact

Create a ZeroLengthContactASDimplex element with validated contact inputs.

Methods:

ghost_node

ghost_node(ndof: int) -> GhostNodeElement

Create a GhostNodeElement with merge-protected sentinel DOF metadata.

Parameters:

Name Type Description Default
ndof int

Real number of DOFs per node written during Tcl export. Must be 3 or 6.

required

Raises:

Type Description
ValueError

If ndof is not 3 or 6.

Returns:

Name Type Description
component GhostNodeElement

Registered definition; no solver is launched.

asd_embedded_node

asd_embedded_node(ndof: int, *, rot: bool = False, p: bool = False, K: float | None = None, KP: float | None = None) -> ASDEmbeddedNodeElement3D

Create an ASDEmbeddedNodeElement3D with validated constraint options.

Parameters:

Name Type Description Default
ndof int

Number of DOFs per node. Must be 3, 4, or 6.

required
rot bool

Whether to constrain rotational DOFs at the embedded node.

False
p bool

Whether to constrain pressure DOFs.

False
K float | None

Optional user-defined penalty stiffness for displacement constraints.

None
KP float | None

Optional user-defined penalty stiffness for pressure constraints.

None

Raises:

Type Description
ValueError

If ndof is unsupported.

Returns:

Name Type Description
component ASDEmbeddedNodeElement3D

Registered definition; no solver is launched.

embedded_node_contact

embedded_node_contact(ndof: int, Kn: float, Kt: float, mu: float, *, orient: list[float] | tuple[float, float, float] | None = None, orient_map: dict[int, list[float]] | None = None, int_type: int = 0) -> EmbeddedNodeContact3D

Register an embedded-node contact definition.

Parameters:

Name Type Description Default
ndof int

Nodal degrees of freedom.

required
Kn float

Normal penalty parameter in consistent component units.

required
Kt float

Tangential penalty parameter.

required
mu float

Friction coefficient.

required
orient list[float] | tuple[float, float, float] | None

Contact normal.

None
orient_map dict[int, list[float]] | None

Per-element normal overrides.

None
int_type int

Contact integration selector.

0

Returns:

Name Type Description
element EmbeddedNodeContact3D

Registered definition. Penalty calibration, connectivity, and time-step stability remain the modeler's responsibility; constructor errors propagate.

zero_length_contact

zero_length_contact(ndof: int, Kn: float, Kt: float, mu: float, *, material: Material | None = None, orient: list[float] | None = None, intType: int = 0) -> ZeroLengthContactASDimplex

Create a ZeroLengthContactASDimplex element with validated contact inputs.

Parameters:

Name Type Description Default
ndof int

Number of DOFs per node in the surrounding model (2, 3, 4, or 6).

required
Kn float

Normal contact penalty stiffness. Must be positive.

required
Kt float

Tangential contact penalty stiffness. Must be positive.

required
mu float

Mohr-Coulomb friction coefficient. Must be non-negative.

required
material Material | None

Unused placeholder accepted for base-class compatibility.

None
orient list[float] | None

Optional contact orientation vector [nx, ny, nz].

None
intType int

Contact integration type (0 implicit, 1 IMPL-EX).

0

Raises:

Type Description
ValueError

If ndof is unsupported or if contact parameters are invalid.

Returns:

Name Type Description
component ZeroLengthContactASDimplex

Registered definition; no solver is launched.