Sections
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: