Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
2e70179
Draft initial structure for the concrete class
mortenengen Dec 13, 2022
b8f67bb
Update docstring of base material
mortenengen Dec 13, 2022
c299dcc
minimum reinforcement areas functions
DanielGMorenaFhecor Dec 15, 2022
59a04f5
raise ValueError test functions for min area
DanielGMorenaFhecor Dec 27, 2022
b7167aa
crack_min_steel_without_direct_calculation
DanielGMorenaFhecor Jan 12, 2023
7189d31
Commit
DanielGMorenaFhecor Jan 12, 2023
4a0fcfb
crack without direct calculation tests
DanielGMorenaFhecor Jan 12, 2023
84c0140
adjusted bond strength
DanielGMorenaFhecor Jan 12, 2023
e0f1baa
hc_eff_concrete_tension formulation and testing
DanielGMorenaFhecor Jan 12, 2023
f2cbb49
requiremets.txt updated
DanielGMorenaFhecor Jan 12, 2023
333dcbe
rho_p_eff
DanielGMorenaFhecor Jan 12, 2023
59f1198
kt load duration
DanielGMorenaFhecor Jan 12, 2023
34d85d2
strain diff formula
DanielGMorenaFhecor Jan 12, 2023
a8ab129
chapter completed
DanielGMorenaFhecor Jan 13, 2023
ce4e432
imports and renamed functions
DanielGMorenaFhecor Jan 13, 2023
938c0f5
removed duplicate file
DanielGMorenaFhecor Jan 13, 2023
6ba6dc9
removed testing file
DanielGMorenaFhecor Jan 13, 2023
a9c9263
test renaming and docstring corrections
DanielGMorenaFhecor Jan 16, 2023
50c65b7
pull from upstream
DanielGMorenaFhecor Feb 8, 2023
ea3552b
Merge branch 'dev' of https://github.com/fib-international/structural…
DanielGMorenaFhecor Mar 9, 2023
4fd8b7e
230309 requested changes applied
DanielGMorenaFhecor Mar 9, 2023
1cffa61
small lint fixes
DanielGMorenaFhecor Mar 9, 2023
b483d40
vscode config updated
DanielGMorenaFhecor Mar 9, 2023
e9d953d
Merge branch 'dev' of https://github.com/fib-international/structural…
DanielGMorenaFhecor May 26, 2023
182e538
Merge branch 'dev' of https://github.com/fib-international/structural…
DanielGMorenaFhecor Dec 18, 2023
e509fb9
Merge branch 'dev' of https://github.com/fib-international/structural…
DanielGMorenaFhecor Mar 4, 2024
d57f945
Merge branch 'dev' of https://github.com/fib-international/structural…
DanielGMorenaFhecor Apr 4, 2024
bc049e4
Merge branch 'dev' of https://github.com/DanielGMorenaFhecor/structur…
DanielGMorenaFhecor Jul 30, 2024
b37ba36
ec-2-2023 8.2.2 added
DanielGMorenaFhecor Jul 31, 2024
ff14d07
8.2.5
DanielGMorenaFhecor Aug 1, 2024
0d3d00d
shear EC2-8.2 finished
DanielGMorenaFhecor Aug 1, 2024
17cdf47
Merge branch 'dev' of https://github.com/fib-international/structural…
DanielGMorenaFhecor Aug 20, 2024
33ec3ee
Merge branch 'dev' of https://github.com/fib-international/structural…
Sep 25, 2024
296c5f0
Merge branch 'dev' into ec2_2023-8.2
mortenengen Oct 11, 2024
5260d21
Fix docstrings
mortenengen Oct 11, 2024
3bdaed3
Merge remote-tracking branch 'upstream/dev' into dev
Dec 2, 2024
7f80d3c
anch
DanielGMorenaFhecor May 21, 2025
a54524b
Merge branch 'dev' into ec2_2023-8.2
DanielGMorenaFhecor May 23, 2025
82d0ed7
full coverage
DanielGMorenaFhecor May 26, 2025
5df9e3e
Merge branch 'dev' into ec2_2023-8.2
mortenengen Sep 17, 2025
74053ee
first fixes
DanielGMorenaFhecor Oct 21, 2025
c850c02
feat: improved _section_8_2_shear functions and testing
DanielGMorenaFhecor Nov 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path>
</svg>
""",
""", # noqa: E501
'class': '',
},
],
Expand Down
129 changes: 129 additions & 0 deletions structuralcodes/codes/ec2_2023/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,136 @@
wk_cal,
wk_cal2,
)
from ._section_8_2_shear import (
Asf_flange,
Fcd,
Ftd,
Ftd_max,
Nvd,
NVds_inclined,
a_cs,
a_v,
as_min,
bw_nom,
check_tau_Ed_flange_verification,
cot_theta_inclined,
cot_theta_max_shear_constant_nu,
cot_theta_max_shear_variable_nu,
cot_theta_min,
cot_theta_simultaneous,
cv1,
cv2,
d_dg,
d_eff,
d_eff_angle,
d_eff_p,
delta_MEd,
eps_x_flang,
epsilon_x,
epsilon_xc_comp,
epsilon_xc_tens,
epsilon_xt,
k1,
k_duct,
k_vp,
kdowel,
kv,
mu_v,
nu,
rho_l,
rho_l_p,
rho_l_planar,
rho_w,
sigma_cd,
sigma_cd_flange,
sigma_cd_inclined,
sigma_swd,
sigma_swd_inclined,
tau_Ed,
tau_Ed_flange,
tau_Ed_planar,
tau_Edi,
tau_Edi_composite,
tau_Rd,
tau_rd,
tau_Rd_inclined,
tau_Rd_sy,
tau_Rd_sy_inclined,
tau_Rdc,
tau_Rdc_0,
tau_Rdc_comp,
tau_Rdc_max,
tau_rdc_min,
tau_Rdi,
tau_Rdi_no_yielding,
tau_Rdm,
v_Ed,
)

__all__ = [
'as_min',
'check_tau_Ed_flange_verification',
'd_dg',
'NVds_inclined',
'cv1',
'kdowel',
'tau_Rdi_no_yielding',
'cv2',
'kv',
'mu_v',
'tau_Edi',
'tau_Rdi',
'tau_Edi_composite',
'eps_x_flang',
'tau_Ed_flange',
'Asf_flange',
'sigma_cd_flange',
'tau_Rdm',
'sigma_cd_s',
'sigma_swd_inclined',
'tau_Rd_sy_inclined',
'tau_Rd_inclined',
'delta_MEd',
'tau_rd',
'sigma_swd',
'bw_nom',
'Fcd',
'Nvd',
'Ftd',
'Ftd_max',
'd_eff_p',
'sigma_cd',
'sigma_cd_inclined',
'rho_l_planar',
'rho_l_p',
'epsilon_x',
'epsilon_xc_comp',
'epsilon_xc_tens',
'epsilon_xt',
'nu',
'cot_theta_inclined',
'cot_theta_max_shear_constant_nu',
'cot_theta_max_shear_variable_nu',
'cot_theta_min',
'rho_w',
'cot_theta_simultaneous',
'tau_Rd',
'tau_Rd_sy',
'a_cs',
'a_v',
'k1',
'rho_l',
'tau_Rdc',
'tau_Rdc_0',
'tau_Rdc_comp',
'tau_Rdc_max',
'k_vp',
'tau_Ed',
'd_eff',
'd_eff_angle',
'v_Ed',
'tau_Ed_planar',
'tau_rdc_min',
'A_phi_correction_exp',
'alpha_c_th',
'alpha_s_th',
Expand Down Expand Up @@ -97,6 +225,7 @@
'srm_cal',
'wk_cal',
'wk_cal2',
'k_duct',
]

__title__: str = 'EUROCODE 2 1992-1-1:2023'
Expand Down
Loading