Skip to content

Reference

Created on Wed Jan 16 18:02:25 2019

@author: lpaone

ConcreteSection

Class that instantiate a general concrete section

Reference for geometry is:

             ----------------
             |              |
             |              |
             |    Y ^       |
             |      |       |
             |      |   X   |
             |      O--->   |
             |              |
             |              |
             |              |
             ----------------

for forces and moments (N compression negative)

             ----------------
             |              |
             |              |
             |      --.     |
             |  My     \    |
             |  <<--O   ;   |
             |      |  /    |
             |     <--      |
             |  N = Fx < 0  |
             |              |
             ----------------

calBarycenter(alphaWeight=False, weights=False)

Calculate barycenter for ideal section using homogeneization

Calculate barycenter for ideal section using homogeneization. For normal use and not for design alphaWeight and weights should be left False.

Parameters:

Name Type Description Default
alphaWeight
False
weights
False

Returns:

Type Description
Point2d

A point 2D that represent barycenter

calProp_Ihx(alphaWeight=False, weights=False, barycenter=False)

Function calculates moment of inertia along x-axis where x-axis is horizontal axis that goes through xhg-axis. This axis is the barycenter axis of homogeneized section Args: barycenter: if True prop will be calculated on barycentric axis alphaWeight: moltiplication factor for all rebars weights: TODO

Returns:

Name Type Description
float float

barycenter axis of homogeneized section

getConcrStress()

Retrive concrete stresses ordered as shape vertex order

For example in rectangular shape order will be:

index shape vertex
i=0 'BL'
i=1 'BR'
i=2 'TL'
i=3 'TR'

Returns:

Bases: ConcreteSection

setDimH(h)

Set dimension height in [mm] for section rectangular

Parameters:

Name Type Description Default
h float

height in [mm]

required

setDimW(w)

Set dimension width in [mm] for section rectangular

Parameters:

Name Type Description Default
w float

width in [mm]

required

solverSLS_NM(N=0.0, M=0.0, uncracked=False)

Solver for axial and flexural effort (N and M) in rc-section. M positive if positive fiber is in compression and N negative if produces compression. Normal effort N is applied on barycenter of rectangular section.

Parameters:

Name Type Description Default
N float

Normal effort negative for compression

0.0
M float

Flexural effort positive intended if it strech inferior fibers

0.0
uncracked bool

If True section will be intended totally responsive in traction and compression

False

Returns:

Type Description
float

max compression on concrete vertices

float

max traction on steel rebars

float | None

(float|Any) measured from top to bottom also if M is negative None will be returned when N and M are 0. When cases are pure tension or compression math.inf will be returned.