Skip to content

Drivetrain code implementation: potential inconsistencies / area of development #593

@ibrahim-hanif

Description

@ibrahim-hanif

Description

This issue concerns the implementation of von Mises stress utilisation constraint TubevonMisesStressUtilization.py within ...WISDEM?wisdem\commonse\utilization_constraints.py, that I reckon may have a implementation mistake.
Would be grateful if you could cross check this again. Thank you 😄

Current behavior (line 179)

# von mises stress
    a = ((axial_stress + hoop_stress) / 2.0) ** 2
    b = ((axial_stress - hoop_stress) / 2.0) ** 2
    c = shear_stress**2
    von_mises = np.sqrt(a + 3.0 * (b + c))

Expected behavior

# von mises stress
    a = ((axial_stress + hoop_stress) ** 2)  / 2.0
    b = ((axial_stress - hoop_stress) ** 2)  / 2.0
    c = shear_stress**2
    von_mises = np.sqrt( (a+b) + 3c ) 

von Mises stress can be written as:
Image
source: Eq. 5-14, Shigley's Mechanical Engineering Design 11e in SI Units, Richard Budynas, Keith Nisbett

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions