Skip to content

TemplateRCRect

Created on Thu Apr 27 09:28:00 2019

@author: lpaone

KvargsPlot

Bases: TypedDict

Plot interaction domain built with interactionDomainBuild2d().

Plot interaction domain built with interactionDomainBuild2d(). Example: sec.interactionDomainPlot2d(xLabel = 'N [KN]', yLabel = 'M [KN*m]', export = filePath + '/' + fileName)

Parameters:

Name Type Description Default
xLabel str

Label for x-axis

required
yLabel str

Label for y-axis

required
titleAddStr str

Main title above the figure

required
scale_Nx float

Scale factor for Nx. Default is 0.001 [KN]

required
scale_Mz float

Scale factor for Mz. Default is 0.000001 [KN/m]

required
lines List[Point2D]

Line series to add

required
markers bool

Add markers on domain. Default is True

required
export str

File name to export figure

required
savingSingleDomains List[int]

For multidomain, plot only indices assigned to list

required

Returns:

Type Description

None

RCTemplRectEC2

Bases: ConcreteSection

__rebarDistances(rebars)

Parameters:

Name Type Description Default
rebars List[StructSectionItem]
required

Returns:

Type Description
Tuple[float, float]

A Tuple that containts cover (float) and interdistance (float)

__rebarEquivalent(rebars)

Parameters:

Name Type Description Default
rebars List[StructSectionItem]
required

Returns:

Type Description
float

Equivalent diameters (float) of rebars gived.

__rebarsInAeff(rebars)

Parameters:

Name Type Description Default
rebars List[StructSectionItem]

list of rebars with stress > 0

required

Returns:

Type Description
Tuple[float, float, List[StructSectionItem], float, float]

A Tuple that containts - heff (float): - dsg (float): - inAeff (List[StructSectionItem]): - As (float)

alphaPhi(Asmin, Asmax, phi)

Determina il moltiplicatore alpha al variare di phi tale che per phi che và da 0 ed 1 l'area và da Amin ad Amax

assignSteelAreaWithAlphaWeight(areas)

Assegna area totale d'acciaio distribuendola sulle armature in modo che l'area totale corrisponda ad . Non vengono considerati i pesi

calCriticalMoment(N=0.0)

Method for calculating moment that cracks rc section

Method for calculating moment that cracks rc section. The method can consider also normal effort N.

Parameters:

Name Type Description Default
N

Normal effort value. Negative means compression

0.0

Returns:

Type Description
Tuple[float, float]

Tuple with Mcr positive and Mcr megative

crackParam()

Get crack parameters assigned after calling the solverCrack() function.

Returns:

Type Description
CrackParameters

A Tuple[CrackParameters, CrackParameters]. Index 0 contains

CrackParameters

bottom crack parameters. Index 1 contains top crack parameters.

getSection()

Restituisce la sezione embedded di tipo EXAStructural

interactionDomainPlot2d(**kwargs)

Print interaction domain

Print interaction domain builded with interactionDomainBuild2d() Ex: sec.interactionDomainPlot2d(xLabel = 'N [KN]', yLabel = 'M [KN*m]', export = filePath + '/' + fileName)

Parameters:

Name Type Description Default
**kwargs

Variadic arguments. See class KvargsPlot

{}

Returns:

Type Description
None

None

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.