-
Notifications
You must be signed in to change notification settings - Fork 6
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
base: main
Are you sure you want to change the base?
Add formulas 6.29, 6.29rho, and 6.30 from 1993-1-1 #583
Conversation
…uced yield strength and plastic resistance moment
Thank you so much for contributing to Blueprints! This is your Pull Request # 15 to this project. 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! |
…d yield strength and plastic resistance moment
…r-628-from-eurocode-1993-1-1
…eurocode-1993-1-1' of https://github.com/Blueprints-org/blueprints into 582-formula-request-add-formulas-from-chapter-628-from-eurocode-1993-1-1
…nt to include conditional cases
Parameters | ||
---------- | ||
rho : DIMENSIONLESS | ||
[$\rho$] Reduction factor for shear force, see 6.2.8(3) (dimensionless). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[$\rho$] Reduction factor for shear force, see 6.2.8(3) (dimensionless). | |
[$\rho$] Reduction factor for shear force, see equation 6.29rho (dimensionless). |
if v_ed <= 0.5 * v_pl_rd: | ||
return 0 |
There was a problem hiding this comment.
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} " |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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}$].""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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$]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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)) [-]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[$\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}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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] " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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] " |
Description
adds the equations
Fixes #582
Type of change
Please delete options that are not relevant.
Checklist: