Skip to content

reappearing_cross_section with spreading<1 #237

@RichardPfr

Description

@RichardPfr

If the spreading is smaller than 1 currently the reappearing_cross_section calculation returns an empty array:

@RollPass.reappearing_cross_section
def reappearing_cross_section(self: RollPass):
return difference(self.out_profile.cross_section, self.in_profile.cross_section)

Though spreading smaller than 1 is a circumstance that can realistically happen (at high rolling velocities for example) so the area difference should still be included somewhere by either:

  • including it in the current reappearing_cross_section - though this would be semantically incorrect, as its not actually a reappearing cross section then
  • add an additional value like "reduced_cross_section" (name is still misleading but i cant think of a better one) that only returns an array if the circumstance desribed above is the case.

I would say the first is still the better option, just so that bloat is reduced (and it also dirctly works with existing code).
@axtimhaus / @ChRen95 What do you think?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions