Cell#

class sectionproperties.post.fibre.Cell(ele: Tri6, omega: ndarray[Any, dtype[float64]] | None = None)[source]#

Bases: object

Holds the information of a fibre cell.

Variables:
  • tag (int) – The tag of the cell

  • area (float) – The area of the cell

  • material (str) – The material name of the cell

  • y (float) – The y-coordinate of the cell

  • z (float) – The z-coordinate of the cell

  • omega (float) – The warping function of the cell

  • py (float) – The derivative of the warping function with respect to y

  • pz (float) – The derivative of the warping function with respect to z

Methods

export

Export the cell to a string.

Attributes

tag

area

material

y

z

omega

py

pz

__init__(ele: Tri6, omega: ndarray[Any, dtype[float64]] | None = None) None[source]#

Converts a Tri6 element to a fibre cell.

If omega is None, no warping is considered.

Parameters:
  • ele (Tri6) – The Tri6 element

  • omega (ndarray[Any, dtype[float64]] | None) – The warping function

abstract export() str[source]#

Export the cell to a string.

Needs to be implemented by subclasses.

Returns:

The exported cell

Return type:

str