fconcrete.Structural.Load module

class fconcrete.Structural.Load.Load(force, momentum, x_begin, x_end, q=0, order=0, displacement=0)[source]

Bases: object

Class that defines a load.

Methods

PontualLoad(load, x) Define a pontual load.
UniformDistributedLoad(q, x_begin, x_end) Define a uniform and distributed load.
classmethod PontualLoad(load, x)[source]

Define a pontual load.

Call signatures:

fc.PontualLoad(load, x)
>>> pontual_load_1 = fc.Load.PontualLoad(-10.0, 200)
>>> pontual_load_2 = fc.Load.PontualLoad('-10.0kN', '2m')
>>> repr(pontual_load_1) == repr(pontual_load_2)
True
Parameters:
load : number or python:str

Represent the load measure. If it is a number, default unit is kN, but also [force] unit can be given. Example: ‘20kN’, ‘10N’, etc

x : number or python:str

Where the load is going to end. If it is a number, default unit is cm, but also [length] unit can be given. Example: ‘20cm’, ‘10dm’, etc

classmethod UniformDistributedLoad(q, x_begin, x_end)[source]

Define a uniform and distributed load.

Call signatures:

fc.UniformDistributedLoad(q, x_begin, x_end)
>>> uniform_load_1 = fc.Load.UniformDistributedLoad(0.1, 0, 2000)
>>> uniform_load_2 = fc.Load.UniformDistributedLoad('10.0kN/m', '0m', '20m')
>>> repr(uniform_load_1) == repr(uniform_load_2)
True
Parameters:
q : number or python:str

Represent the load by length measure. If it is a number, default unit is kN/cm, but also [force]/[length] unit can be given. Example: ‘20kN/m’, ‘10N/m’, etc

x_begin : number or python:str

Where the load is going to start. If it is a number, default unit is cm, but also [length] unit can be given. Example: ‘20cm’, ‘10dm’, etc

x_end : number or python:str

Where the load is going to end. If it is a number, default unit is cm, but also [length] unit can be given. Example: ‘20cm’, ‘10dm’, etc

class fconcrete.Structural.Load.Loads(loads)[source]

Bases: object

Class that defines a load list with easy to work properties and methods.

Methods

add(self, loads) Add a array of Load in the Loads instance.
create(loads) Creates a instance of Loads with array of Load.
add(self, loads)[source]

Add a array of Load in the Loads instance.

classmethod create(loads)[source]

Creates a instance of Loads with array of Load.