Creep and shrinkage¶
The following functions are related to calculation of creep and shrinkage.
Creep¶
- structuralcodes.codes.ec2_2004.phi(h_0: float, f_cm: float, RH: int = 50, cement_class: Literal['R', 'N', 'S'] = 'R', t0: int = 7, t: int = 18263) float [source]¶
Calculates the creep number.
EN 1992-1-1:2004, Eq. (B.1).
- Parameters:
h_0 (float) – The product of 2 times the cross-sectional area divided by the exposed circumference according to (B.6).
f_cm (float) – The mean concrete strength,
RH (int) – The relative humidity in percent, defaults to 50%.
- Keyword Arguments:
cement_class (str) – The cement class, defaults to ‘R’. Possible values: ‘R’, ‘N’, ‘S’,
t0 – The age of the concrete at the time (in days) of loading.
t – The age of the concrete at the time (in days) of evaluation (50 years default).
- Returns:
The creep value for the load, phi(t, t0).
- Return type:
float
- Raises:
ValueError – checks if the cement class equals R, N or S.
- structuralcodes.codes.ec2_2004.beta_c(t0: float, t: float, beta_H: float) float [source]¶
Calculates the factor beta_c.
EN 1992-1-1:2004, Eq. (B.7).
- Parameters:
t0 (float) – The concrete age in days a the time of loading.
t (float) – The concrete age at the evaluated time.
beta_H – Parameter defined in (B.8).
- Returns:
Parameter defined by Equation (B.7), beta_c.
- Return type:
float
- structuralcodes.codes.ec2_2004.beta_H(h_0: float, f_cm: float, RH: int) float [source]¶
Calculates beta_H.
EN 1992-1-1:2004, Eq. (B.8a and b).
- Parameters:
h_0 (float) – The effective cross sectional thickness, Equation (B.6).
f_cm (float) – The mean concrete strength.
RH (int) – The relative humidity in percent.
- Returns:
The calculation parameter defined in (B.8).
- Return type:
float
- structuralcodes.codes.ec2_2004.t0_adj(t0: float, alpha_cement: float) float [source]¶
Calculates the adjusted age of the concrete.
EN 1992-1-1:2004, Eq. (B.9).
- Parameters:
t0 (float) – The concrete age in days at the time of loading.
alpha_cement (float) – Exponent derived from the sement type.
- Returns:
The adjusted age of the concrete.
- Return type:
float
- structuralcodes.codes.ec2_2004.beta_fcm(f_cm: float) float [source]¶
Calculates beta_f_cm.
EN 1992-1-1:2004, Eq. (B.4).
- Parameters:
f_cm (float) – The mean concrete strength.
- Returns:
The factor defined in Equation (B.4).
- Return type:
float
- structuralcodes.codes.ec2_2004.phi_RH(h_0: float, f_cm: float, RH: int) float [source]¶
Calculates phi_RH.
EN 1992-1-1:2004, Eq. (B.3).
- Parameters:
h_0 (float) – The effective cross sectional thickness, Equation (B.6).
f_cm (float) – The mean concrete strength.
RH (int) – The relative humidity in percent.
- Returns:
The calculation parameter (B.3).
- Return type:
float
Shrinkage¶
- structuralcodes.codes.ec2_2004.eps_cs(h_0: float, f_cm: float, cement_class: Literal['R', 'N', 'S'] = 'R', RH: int = 50, t_S: int = 28, t: int = 18263) float [source]¶
Calculates the shrinkage strain.
EN 1992-1-1:2004, Eq. (3.8).
- Parameters:
h_0 (float) – The effective cross sectional thickness, Equation (B.6).
f_cm (float) – The mean concrete strength.
cement_class (str) – The cement class, defaults to ‘R’. Possible values: ‘R’, ‘N’, ‘S’.
- Keyword Arguments:
RH (int) – The relative humidity in percent, defaults to 50.
t_S (int) – the number of days when shrinkage begins, default: 28 days.
t (int) – the concrete age at the time (in days) of evaluation, default: 50 years.
- Returns:
The shrinkage. Given as absolute, not in percent or ppm.
- Return type:
float
- Raises:
ValueError – Checks if the cement class equals R, N or S.
- structuralcodes.codes.ec2_2004.beta_RH(RH: int, RH_0: int = 100) float [source]¶
Calculates beta_RH.
EN 1992-1-1:2004, Eq. (B.12).
- Parameters:
RH (int) – The relative humidity in percent.
- Keyword Arguments:
RH_0 (int) – The reference relative humidity, default: 100%.
- Returns:
Calculation parameter from Equation (B.12).
- Return type:
float
- structuralcodes.codes.ec2_2004.eps_cd_0(cement_class: str, f_cm: float, RH: int) float [source]¶
Calculates eps_cd_0.
EN 1992-1-1:2004, Eq. (B.11).
- Parameters:
cement_class (str) – The cement class, defaults to ‘R’. Possible values: ‘R’, ‘N’, ‘S’.
f_cm (float) – The mean concrete strength.
RH (int) – The relative humidity in percent.
- Returns:
The nominal value for shrinkage.
- Return type:
float
- Raises:
ValueError – Checks if the cement class equals R, N or S.