Skip to content

Add formulas 6.29, 6.29rho, and 6.30 from 1993-1-1 #583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

GerjanDorgelo
Copy link
Contributor

Description

adds the equations

Fixes #582

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Checklist:

  • I have added tests that prove my fix is effective or that my feature works
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes

…uced yield strength and plastic resistance moment
@GerjanDorgelo GerjanDorgelo self-assigned this May 2, 2025
Copy link

github-actions bot commented May 2, 2025

Thank you so much for contributing to Blueprints! This is your Pull Request # 15 to this project.
Your contributions help thousands of engineers work more efficiently and accurately.

Now that you've created your pull request, please don't go away; take a look at the bottom of this page for the automated checks that should already be running. If they pass, great! If not, please click on 'Details' and see if you can fix the problem they've identified. A maintainer should be along shortly to review your pull request and help get it added!

@GerjanDorgelo GerjanDorgelo changed the title Add formulas 6.29, 6.29rho, and 6.30 Add formulas 6.29, 6.29rho, and 6.30 from 1993-1-1 May 2, 2025
@viktor-rick viktor-rick self-requested a review May 7, 2025 07:57
@viktor-rick viktor-rick added the in review This MR has been reviewed, and changes are made accordingly label May 7, 2025
Parameters
----------
rho : DIMENSIONLESS
[$\rho$] Reduction factor for shear force, see 6.2.8(3) (dimensionless).
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
[$\rho$] Reduction factor for shear force, see 6.2.8(3) (dimensionless).
[$\rho$] Reduction factor for shear force, see equation 6.29rho (dimensionless).

Comment on lines +47 to +48
if v_ed <= 0.5 * v_pl_rd:
return 0
Copy link
Collaborator

Choose a reason for hiding this comment

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

Return 0 is only the case when there is Torsion.

_equation: str = (
r"\begin{cases} "
r"0 & \text{if } V_{Ed} \leq 0.5 \cdot V_{pl,Rd} \\ "
r"\left( \frac{2 \cdot V_{Ed}}{V_{pl,Rd}} - 1 \right)^2 & \text{if } V_{Ed} > 0.5 \cdot V_{pl,Rd} "
Copy link
Collaborator

Choose a reason for hiding this comment

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

Return 0 is only the case when there is Torsion.

formula = Form6Dot29Rho(v_ed=v_ed, v_pl_rd=v_pl_rd)

# Expected result, manually calculated
manually_calculated_result = 0.0 # dimensionless
Copy link
Collaborator

Choose a reason for hiding this comment

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

Return 0 is only the case when there is Torsion, doesn't need to be tested



class Form6Dot30ReducedPlasticResistanceMoment(Formula):
r"""Class representing formula 6.30 for the calculation of [$M_{y,v,Rd}$]."""
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
r"""Class representing formula 6.30 for the calculation of [$M_{y,v,Rd}$]."""
r"""Class representing formula 6.30 for the calculation of [$M_{y,V,Rd}$]."""

gamma_m0: DIMENSIONLESS,
m_y_c_rd: NMM,
) -> None:
r"""[$M_{y,v,Rd}$] Reduced design plastic resistance moment [$Nmm$].
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
r"""[$M_{y,v,Rd}$] Reduced design plastic resistance moment [$Nmm$].
r"""[$M_{y,V,Rd}$] Reduced design plastic resistance moment [$Nmm$].

w_pl_y : MM3
[$W_{pl,y}$] Plastic section modulus about the y axis [$mm^3$].
rho : DIMENSIONLESS
[$\rho$] Shear force ratio (see 6.2.8 (3) or (4)) [-].
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
[$\rho$] Shear force ratio (see 6.2.8 (3) or (4)) [-].
[$\rho$] Shear force ratio (see 6.2.8 (3) or equation 6.29 (rho)) [-].

False,
)
return LatexFormula(
return_symbol=r"M_{y,v,Rd}",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
return_symbol=r"M_{y,v,Rd}",
return_symbol=r"M_{y,V,Rd}",

[
(
"complete",
r"M_{y,v,Rd} = \min\left(\frac{\left[W_{pl,y} - \frac{\rho \cdot (h_w \cdot t_w)^2}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
r"M_{y,v,Rd} = \min\left(\frac{\left[W_{pl,y} - \frac{\rho \cdot (h_w \cdot t_w)^2}"
r"M_{y,V,Rd} = \min\left(\frac{\left[W_{pl,y} - \frac{\rho \cdot (h_w \cdot t_w)^2}"

),
(
"complete_with_units",
r"M_{y,v,Rd} = \min\left(\frac{\left[W_{pl,y} - \frac{\rho \cdot (h_w \cdot t_w)^2}{4 \cdot t_w}\right] "
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
r"M_{y,v,Rd} = \min\left(\frac{\left[W_{pl,y} - \frac{\rho \cdot (h_w \cdot t_w)^2}{4 \cdot t_w}\right] "
r"M_{y,V,Rd} = \min\left(\frac{\left[W_{pl,y} - \frac{\rho \cdot (h_w \cdot t_w)^2}{4 \cdot t_w}\right] "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in review This MR has been reviewed, and changes are made accordingly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[🔧 Formula Request]: Add formulas from chapter 6.2.8 from Eurocode 1993-1-1.
2 participants