Skip to content

None continious section issue #240

@zmpulse

Description

@zmpulse

Describe the bug
None continious section bringing strange results.

To Reproduce
Steps to reproduce the behavior:

  1. copy paste below code
import sectionproperties
import sectionproperties.pre.library.steel_sections as steel_sections
import sectionproperties.analysis.section as cross_section
from sectionproperties.analysis.section import Section

from sectionproperties.pre.library.primitive_sections import rectangular_section

i_sec1 = steel_sections.i_section(d=500, b=200, t_f=16, t_w=10.2, r=21, n_r=12)
i_sec1.plot_geometry()
i_sec2 = rectangular_section(d=200, b=10.2)
i_sec2.plot_geometry()
analysis_geom = (i_sec1 - i_sec2.shift_section(94.9,50))
analysis_geom.plot_geometry()
analysis_mesh=analysis_geom.create_mesh(mesh_sizes=[5, 2.5])
section = Section(analysis_geom,analysis_mesh)
section.calculate_geometric_properties()
section.calculate_plastic_properties()
section.calculate_geometric_properties()
section.calculate_warping_properties()
section.plot_centroids()
stress_post = section.calculate_stress(N=1e3, Vy=3e3, Mxx=1e6)
stress_post.plot_stress_vm()

Expected behaviour
should increase stress from calculation without opening as below :
image
Perhaps the results are exploding up 6.2640e+04 MPa.
image

I have added a last line in section.py in calculate_combine_stress to force the higher value than my criteria to be reassonnable with below formula:
self.sig_vm=[213 if i>=213 else i for i in self.sig_vm]

image

It is a really strange behavior. The load don't seems to be transfer to the full section only a partial section near the cut seems to support everything.

Additional context
I have dig to solve the issue but I really need your help...

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineeringIssue related to engineering methods/assumptionsinvalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions