SolidSegmentMesh#

module opensg.mesh.segment

class opensg.mesh.segment.SolidSegmentMesh(segment_yaml_file)#

A standalone class representing a segment of a wind turbine blade solid mesh.

This class is designed to work independently without requiring a parent SolidBladeMesh. It reads all necessary data directly from segment YAML files and provides the same computational capabilities as the original SolidSegmentMesh.

This class combines the functionality of SolidBladeMesh and SolidSegmentMesh to process segment data in the same way as the original workflow.

mesh#

The FEniCS/DOLFINx mesh object for this segment

Type:

dolfinx.mesh.Mesh

subdomains#

Tags identifying different regions/materials in the mesh

Type:

dolfinx.mesh.MeshTags

left_submesh#

Data for the left boundary submesh

Type:

dict

right_submesh#

Data for the right boundary submesh

Type:

dict

material_database#

Tuple containing (material_parameters, density) for solid analysis

Type:

tuple

elLayID#

Array mapping elements to their layup IDs

Type:

numpy.ndarray

mat_name#

List of material names

Type:

list

Initialize a StandaloneSolidSegmentMesh object from a YAML file.

Parameters:

segment_yaml_file (str) – Path to the segment YAML file containing all necessary data