Skip to content

LineMeshPart

LineMeshPart

LineMeshPart(category: str, mesh_type: str, user_name: str, element: Optional[Element], region: Optional[RegionBase] = None)

Bases: MeshPart

Shared framework behavior for concrete line meshpart components.

Attributes

_compatible_elements class-attribute instance-attribute

_compatible_elements = ['DispBeamColumn', 'ForceBeamColumn', 'ElasticBeamColumn', 'NonlinearBeamColumn']

Methods:

_resolve_density

_resolve_density(*, density: Optional[float], mass_per_length: Optional[float]) -> float

_get_section_mass_properties

_get_section_mass_properties() -> tuple[float, float, float, float]

_line_rotational_mass

_line_rotational_mass(*, direction: ndarray, length: float, area: float, iy: float, iz: float, j: float) -> tuple[float, float, float]

is_elemnt_compatible classmethod

is_elemnt_compatible(element: str) -> bool

Check if the given element type name is compatible with line meshes.