Skip to content

Conversation

@DanielGMorenaFhecor
Copy link
Collaborator

Small code for Chapter 8.6 from the new Eurocode 2:2023.

mortenengen and others added 29 commits December 13, 2022 21:01
Co-authored-by: talledodiego <38036285+talledodiego@users.noreply.github.com>
@DanielGMorenaFhecor DanielGMorenaFhecor added the enhancement New feature or request label Aug 5, 2024
@DanielGMorenaFhecor DanielGMorenaFhecor added the EC2 2023 Eurocode 2 (2023) label Aug 5, 2024
@DanielGMorenaFhecor DanielGMorenaFhecor self-assigned this Aug 5, 2024
@DanielGMorenaFhecor DanielGMorenaFhecor linked an issue Aug 5, 2024 that may be closed by this pull request
1 task
@mortenengen mortenengen removed this from the EC2 2023: Ultimate limit state milestone Aug 5, 2024
@mortenengen mortenengen changed the base branch from dev to dev-ec2-2023 October 10, 2024 19:31
Copy link
Member

@mortenengen mortenengen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

I have merged dev and provided a minor fix to the docstring.

There are some lines that are not covered by tests. Please add tests so that we reach 100% coverage on the added lines.

Copy link
Collaborator

@talledodiego talledodiego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect. Just a couple of minor comments.

wk_cal,
wk_cal2,
)
from ._section_8_6_partially_loaded_areas import sigma_Rd_u
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe it is better the name sigma_Rdu? The u is not a subscript of Rd

"""Calculate the design resistance for partially loaded areas without
horizontal force components.

EN1992-1-1:2023 Eq. (8.126).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually here there is not only (8.126) implemented, but also (8.127), (8.128), (8.129),...

A 1:1 implementation of (8.126) would require as input arguments in the function signature: fcd, Ac1, Ac0, nu_part

Comment on lines +55 to +58
# Eccentrically reduced loaded area
a0_red = a0 - 2 * ea
b0_red = b0 - 2 * eb
Ac0_red = a0_red * b0_red # in mm²
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Continuing above comment, for instance if we are in concentrically loaded area with don't need eccentiricity and determination of Ac0,red, so I find it strange having to specify this as a mandatory input.
One possible solution is refactor these equations into multiple functions. Alternatively we could use default values documenting it?
What do you think?

@talledodiego talledodiego moved this from Compliance review to Changes requested in EC2 2023 PR tracker Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

EC2 2023 Eurocode 2 (2023) enhancement New feature or request

Projects

Status: Changes requested
Status: Under review 👀

Development

Successfully merging this pull request may close these issues.

EC2 2023: Transfer of concentrated forces into member

3 participants