concreteproperties.analysis_section.Tri3#

class Tri3(el_id: int, coords: np.ndarray, node_ids: List[int], conc_material: Concrete)[source]#

Bases: object

Class for a three noded linear triangular element.

Parameters
  • el_id (int) – Unique element id

  • coords (numpy.ndarray) – A 2 x 3 array of the coordinates of the tri-3 nodes.

  • node_ids (List[int]) – A list of the global node ids for the current element

  • conc_material (Concrete) – Material object for the current finite element.

Methods

calculate_elastic_actions

Calculates elastic actions for the current finite element.

calculate_service_actions

Calculates service actions for the current finite element.

calculate_ultimate_actions

Calculates ultimate actions for the current finite element.

second_moments_of_area

Calculates the second moments of area for the current finite element.

Attributes

el_id

coords

node_ids

conc_material

second_moments_of_area() Tuple[float][source]#

Calculates the second moments of area for the current finite element.

Returns

Modulus weighted second moments of area (e_ixx, e_iyy, e_ixy)

Return type

Tuple[float]

calculate_elastic_actions(n: float, m_x: float, m_y: float, e_a: float, cx: float, cy: float, e_ixx: float, e_iyy: float, e_ixy: float, theta: float) Tuple[float][source]#

Calculates elastic actions for the current finite element.

Parameters
  • n (float) – Axial force

  • m_x (float) – Bending moment about the x-axis

  • m_y (float) – Bending moment about the y-axis

  • e_a (float) – Axial rigidity

  • cx (float) – x-Centroid

  • cy (float) – y-Centroid

  • e_ixx (float) – Flexural rigidity about the x-axis

  • e_iyy (float) – Flexural rigidity about the y-axis

  • e_ixy (float) – Flexural rigidity about the xy-axis

  • theta (float) – Angle (in radians) the neutral axis makes with the horizontal axis (\(-\pi \leq \theta \leq \pi\))

Returns

Elastic force and resultant moment

Return type

Tuple[float]

calculate_service_actions(point_na: Tuple[float], d_n: float, theta: float, kappa: float, na_local: float) Tuple[float][source]#

Calculates service actions for the current finite element.

Parameters
  • point_na (Tuple[float]) – Point on the neutral axis

  • d_n (float) – Depth of the neutral axis from the extreme compression fibre

  • theta (float) – Angle (in radians) the neutral axis makes with the horizontal axis (\(-\pi \leq \theta \leq \pi\))

  • kappa (float) – Curvature

  • na_local (float) – y-location of the neutral axis in local coordinates

Returns

Axial force, resultant moment and maximum strain

Return type

Tuple[float]

calculate_ultimate_actions(point_na: Tuple[float], d_n: float, theta: float, ultimate_strain: float, pc_local: float) Tuple[float][source]#

Calculates ultimate actions for the current finite element.

Parameters
  • point_na (Tuple[float]) – Point on the neutral axis

  • d_n (float) – Depth of the neutral axis from the extreme compression fibre

  • theta (float) – Angle (in radians) the neutral axis makes with the horizontal axis (\(-\pi \leq \theta \leq \pi\))

  • ultimate_strain (float) – Concrete strain at failure

  • pc_local (float) – y-location of the plastic centroid in local coordinates

Returns

Axial force and resultant moment

Return type

Tuple[float]