Material properties for concrete

The following functions are related to calculation of material properties of concrete.

Strength

structuralcodes.codes.ec2_2023.fcd(fck: float, eta_cc: float, k_tc: float, gamma_c: float) float[source]

Computes the value of the design compressive strength of concrete.

EN 1992-1-1:2023, Eq. (5.3).

Parameters:
  • fck (float) – Characteristic compressive strength in MPa.

  • eta_cc (float) – Factor for measuring the difference between the undistributed compressive strength of a cylinder and the effective compressive strength in the real structural member.

  • k_tc (float) – Factor for taking into consideration high sustained loads and of time of loading.

  • gamma_c (float) – Partial factor of concrete.

Returns:

The design compressive strength of concrete in MPa.

Return type:

float

Raises:
  • ValueError – If fck is less than 12 MPa.

  • ValueError – If _etc_cc is not between 0 and 1.

  • ValueError – If gamma_c is less than 1.

structuralcodes.codes.ec2_2023.fcm(fck: float, delta_f: float = 8.0) float[source]

Determines the mean strength of concrete from its characteristic value.

EN 1992-1-1:2023, Table 5.1.

Parameters:

fck (float) – Is the characteristic compressive strength in MPa.

Keyword Arguments:

delta_s (float) – The increment in MPa to compute the mean compressive strength.

Returns:

The mean compressive strength in MPa

Return type:

float

structuralcodes.codes.ec2_2023.eta_cc(fck: float, fck_ref: float = 40) float[source]

Computes the factor to measure the difference between the undistributed compressive strength of a cylinder and the effective compressive strength in a structural member.

EN 1992-1-1:2023, Eq. (5.4).

Parameters:

fck (float) – The characterisitic compressive strength in MPa.

Keyword Arguments:

fck_ref (float, optional) – The reference compressive strength MPa.

Returns:

The value of the factor eta_cc.

Return type:

float

Raises:
  • ValueError – If fck is less than 12 MPa.

  • ValueError – If fkc_ref is less or equal to 0.

structuralcodes.codes.ec2_2023.k_tc(t_ref: float, t0: float, strength_dev_class: Literal['CS', 'CN', 'CR', 'slow', 'normal', 'rapid']) float[source]

Computes the factor for considering the effect of high sustained loads and of time of loading on concrete compressive strength.

EN 1992-1-1:2023, Eq. (5.3).

Parameters:
  • t_ref (float) – The reference time in days.

  • t0 (float) – Age at loading in days.

  • strength_dev_class (str) – Strength development class ‘CS’, ‘CN’, ‘CR’, ‘slow’, ‘normal’, ‘rapid’.

Returns:

The factor value.

Return type:

float

Raises:
  • ValueError – If t_ref is less than 0.

  • ValueError – If t0 is less than 0.

  • ValueError – If strength_dev_class is not ‘CS’, ‘CN’, ‘CR’, ‘slow’, ‘normal’, ‘rapid’.

structuralcodes.codes.ec2_2023.k_tt(t_ref: float, strength_dev_class: Literal['CS', 'CN', 'CR', 'slow', 'normal', 'rapid']) float[source]

Computes the factor for considering the effect of high sustained loads and of time of loading on concrete tensile strength.

EN 1992-1-1:2023, Eq. (5.5).

Parameters:
  • t_ref (float) – The reference time in days.

  • strength_dev_class (str) – Strength development class ‘CS’, ‘CN’, ‘CR’, ‘slow’, ‘normal’ or ‘rapid’.

Returns:

The factor value.

Return type:

float

Raises:
  • ValueError – If t_ref is less than 0.

  • ValueError – If strength_dev_class is not ‘CS’, ‘CN’, ‘CR’, ‘slow’, ‘normal’ or ‘rapid’.

structuralcodes.codes.ec2_2023.fctd(fctk_5: float, k_tt: float, gamma_c: float) float[source]

Computes the value of the design tensile strength of concrete.

EN 1992-1-1:2023, Eq. (5.5).

Parameters:
  • fctk_5 (float) – The 5% mean concrete tensile strength fractile in MPa.

  • k_tt (float) – The factor for considering the effect of high sustained loads and of time of loading on concrete tensile strength.

  • gamma_c (float) – Partial factor of concrete.

Returns:

The design tensile strength of concrete in MPa.

Return type:

float

Raises:
  • ValueError – If fctk_5 is less than 0.

  • ValueError – If gamma_c is less than 1.

structuralcodes.codes.ec2_2023.fctk_5(fctm: float) float[source]

Compute the 5% mean concrete tensile strength fractile.

EN 1992-1-1:2023, Table 5.1.

Parameters:

fctm (float) – The mean concrete tensile strength in MPa.

Returns:

The 5% mean concrete tensile strength fractile in MPa.

Return type:

float

structuralcodes.codes.ec2_2023.fctk_95(fctm: float) float[source]

Compute the 95% mean concrete tensile strength fractile.

EN 1992-1-1:2023, Table 5.1.

Parameters:

fctm (float) – The mean concrete tensile strength in MPa.

Returns:

The 5% mean concrete tensile strength fractile in MPa.

Return type:

float

structuralcodes.codes.ec2_2023.fctm(fck: float) float[source]

Compute the mean concrete tensile strength from the characteristic compressive strength.

EN 1992-1-1:2023, Table 5.1.

Parameters:

fck (float) – The characteristic compressive strength in MPa.

Returns:

The mean tensile strength in MPa.

Return type:

float

Stiffness

structuralcodes.codes.ec2_2023.Ecm(fcm: float, kE: float = 9500) float[source]

Computes the secant modulus between sigma_c=0 and sigma_c=0.4*fcm.

EN 1992-1-1:2023, Eq. (5.1).

Parameters:

fcm (float) – The mean compressive strength in MPa.

Keyword Arguments:

kE (float) – Coefficient relating the aggregates used in concrete. Default value is 9500, but it can vary from 5000 to 13000.

Returns:

The secant concrete modulus in MPa.

Return type:

float

Raises:
  • ValueError – If fcm is less than 0.

  • ValueError – If kE is not between 5000 and 13000.

Parameters of constitutive relations

structuralcodes.codes.ec2_2023.eps_c1(fcm: float) float[source]

Computes the strain at maximum compressive strength of concrete (fcm) for the Sargin constitutive law.

EN 1992-1-1:2023, Eq. (5.9).

Parameters:

fcm (float) – The mean strength of concrete in MPa.

Returns:

The strain at maximum compressive strength of concrete.

Return type:

float

Raises:

ValueError – If fcm is less than 12+8MPa.

structuralcodes.codes.ec2_2023.eps_cu1(fcm: float) float[source]

Computes the strain at concrete failure of concrete.

EN 1992-1-1:2023, Eq. (5.10).

Parameters:

fcm (float) – The mean strength of concrete in MPa.

Returns:

The maximum strength at failure of concrete.

Return type:

float

Raises:

ValueError – If fcm is less than 12+8MPa.

Miscellaneous properties

structuralcodes.codes.ec2_2023.alpha_c_th() float[source]

Returns the linear coefficient of thermal expansion in 1/Cº for concrete.

EN 1992-1-1:2023, 5.1.6-6.

Returns:

The linear coefficient of thermal expansion in 1/Cº for concrete.

Return type:

float

structuralcodes.codes.ec2_2023.weight_c(concrete_type: Literal['nc', 'npc']) float[source]

Returns the mean unit weight of concrete in kN/m3.

EN 1992-1-1:2023, 5.1.6-5.

Parameters:

concrete_type (str) – ‘nc’ for normal concrete, or ‘npc’ for normal plain concrete.

Returns:

Mean unit weight in kN/m3.

Return type:

float

Raises:

ValueError – If concrete_type is not ‘nc’ or ‘npc’.