Rectangular fiber section

Post Reply
gsdeshmukh
Posts: 6
Joined: Wed Dec 07, 2022 7:26 pm

Rectangular fiber section

Post by gsdeshmukh » Wed Dec 07, 2022 7:44 pm

Dear Friends
I'm trying to give inputs to fiber section to be used as beam. as shown in fig 1.
STKO .jpg
Fig 1
STKO .jpg (122.05 KiB) Viewed 1690 times
when i insert all required data in form and save it, the section where red ? is placed, i cant see graphical view of data.
is there anything wrong with it ?

Also Had this in terminal window
Traceback (most recent call last):
File "C:/Program Files/STKO\external_solvers\opensees\physical_properties\sections\RectangularFiberSection.py", line 310, in onConfinementParamsChanged
outputString = self.confinementModel.computeConfinement(self.confinementModel_params)
File "C:/Program Files/STKO\external_solvers\opensees\physical_properties\sections\RectangularFiberSection.py", line 1509, in computeConfinement
s_lat = getLateralEquivalentPressure(lat_pressure_computation,s2,s3,fc)
File "C:/Program Files/STKO\external_solvers\opensees\physical_properties\sections\RectangularFiberSection.py", line 1897, in getLateralEquivalentPressure
return func(s2,s3,fc)
File "C:/Program Files/STKO\external_solvers\opensees\physical_properties\sections\RectangularFiberSection.py", line 1870, in willam_warnke
D = 4*(C**2-T**2)*cosTheta**2;
OverflowError: (34, 'Result too large')
Error:
Traceback (most recent call last):
File "C:/Program Files/STKO\external_solvers\opensees\physical_properties\sections\RectangularFiberSection.py", line 243, in __init__
self.onConfinementParamsChanged()
File "C:/Program Files/STKO\external_solvers\opensees\physical_properties\sections\RectangularFiberSection.py", line 320, in onConfinementParamsChanged
self.console_text_edit.append(outputString)
UnboundLocalError: local variable 'outputString' referenced before assignment

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:/Program Files/STKO\external_solvers\opensees\physical_properties\sections\RectangularFiberSection.py", line 310, in onConfinementParamsChanged
outputString = self.confinementModel.computeConfinement(self.confinementModel_params)
File "C:/Program Files/STKO\external_solvers\opensees\physical_properties\sections\RectangularFiberSection.py", line 1509, in computeConfinement
s_lat = getLateralEquivalentPressure(lat_pressure_computation,s2,s3,fc)
File "C:/Program Files/STKO\external_solvers\opensees\physical_properties\sections\RectangularFiberSection.py", line 1897, in getLateralEquivalentPressure
return func(s2,s3,fc)
File "C:/Program Files/STKO\external_solvers\opensees\physical_properties\sections\RectangularFiberSection.py", line 1870, in willam_warnke
D = 4*(C**2-T**2)*cosTheta**2;
OverflowError: (34, 'Result too large')
MpcXObjectEditor Error: python exception:
Python error
local variable 'outputString' referenced before assignment (Type: <class 'UnboundLocalError'>)
TraceBack:
File "C:/Program Files/STKO\external_solvers\opensees\utils\xobject_utils.py", line 26, in on_edit_begin
module.onEditBegin(editor, xobj)

File "C:/Program Files/STKO\external_solvers\opensees\physical_properties\sections\RectangularFiberSection.py", line 1205, in onEditBegin
__constants.gui = RectangularFiberSectionWidget(editor, xobj)

File "C:/Program Files/STKO\external_solvers\opensees\physical_properties\sections\RectangularFiberSection.py", line 249, in __init__
self.onConfinementParamsChanged()

File "C:/Program Files/STKO\external_solvers\opensees\physical_properties\sections\RectangularFiberSection.py", line 320, in onConfinementParamsChanged
self.console_text_edit.append(outputString)


I created one fresh section and then i cloned it to other. Is it the reason for this red error ?

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Rectangular fiber section

Post by STKO Team » Wed Dec 14, 2022 11:54 am

There is an error in the computation of the automatic confinement.
Are you sure the numbers for stirrups are consistent with the rest of the section?

gsdeshmukh
Posts: 6
Joined: Wed Dec 07, 2022 7:26 pm

Re: Rectangular fiber section

Post by gsdeshmukh » Fri Dec 16, 2022 12:19 pm

The problem is solved.
I used clone command to create new fiber model.
Instead of that i modelled it as a fresh and all errors resolved automatically.
The fiber model is small as i used unit of lengths as meters and that of forces as kN, due to which it was looking so smal, when i zoomed in after modelling it fresh, i can see that too.

Thanks for reply.

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Rectangular fiber section

Post by STKO Team » Mon Dec 19, 2022 8:20 am

Actually, the drawing of the section should zoom automatically. If it doesn't, it means that something was left as default (in mm) and it's much larger then others.

Post Reply