m_n_kappa.SingleSpanUniformLoad#
- class m_n_kappa.SingleSpanUniformLoad(length, load=1.0)#
Bases:
ABCSingleSpan
single span with uniform load
New in version 0.1.0.
- Parameters:
length (float) – length of the beam-span
load (float) – line-load the beam is uniformly loaded with (default: 1.0)
See also
SingleSpanSingleLoads
single-span with a number of single loads
Examples
For computation of the internal forces of a single span girder under a uniform load
SingleSpanUniformLoad
has to be initialized as follows.>>> from m_n_kappa import SingleSpanUniformLoad >>> uniform_loading = SingleSpanUniformLoad(length=8000, load=10)
The total loading from the uniform loading may be derived as follows.
>>> uniform_loading.loading 80000.0
The maximum moment is returned by attribute
maximum_moment
.>>> uniform_loading.maximum_moment 80000000.0
Similar moment is computed by using
positions_of_maximum_moment()
and pass the resulting valuemoment()
.>>> uniform_max_loading_position = uniform_loading.positions_of_maximum_moment() >>> uniform_loading.moment(at_position=uniform_max_loading_position[0]) 80000000.0
The resulting transversal shear loads at the support are computed as follows.
>>> uniform_loading.transversal_shear_support_left, uniform_loading.transversal_shear_support_right (40000.0, -40000.0)
Using the corresponding
transversal_shear()
-method gives us at the position of maximum moment a value of 0.0, as expected.>>> uniform_loading.transversal_shear(at_position=uniform_max_loading_position[0]) 0.0
Methods
load_by
(moment, at_position)load by the given moment at the given position
load_by_moment
(maximum_moment)compute load by given maximum moment
factor showing how the moment is distributed
moment
(at_position)moment at the given position
positions-value of the maximum-deformation
position_value where the moment is the maximum
transversal_shear
(at_position)transversal shear value at the given position
Attributes
length of the beam span
line load the beam is loaded with
total load of the beam span
maximum moment
positions of load-introduction
value of transversal shear at the left support
value of transversal shear at the right support
- load_by(moment, at_position)#
load by the given moment at the given position
- Parameters:
moment (float) – moment the load leads to
at_position (float) – position-value of the moment
- Returns:
load by the moment at the position
- Return type:
float
- load_by_moment(maximum_moment)#
compute load by given maximum moment
- Parameters:
maximum_moment (float) – maximum moment
- Returns:
load leading to the given maximum moment
- Return type:
float
- load_distribution_factor()#
factor showing how the moment is distributed
- Return type:
float
- moment(at_position)#
moment at the given position
- Parameters:
at_position (float) – position where the moment is to be computed
- Returns:
moment at the given position
- Return type:
float
- position_of_maximum_deformation()#
positions-value of the maximum-deformation
- Return type:
float
- positions_of_maximum_moment()#
position_value where the moment is the maximum
- Return type:
list[float]
- transversal_shear(at_position)#
transversal shear value at the given position
- Parameters:
at_position (float) – position where the transversal shear is to be computed
- Returns:
transversal shear at the given position
- Return type:
float
- property length: float#
length of the beam span
- property load: float#
line load the beam is loaded with
- property loading: float#
total load of the beam span
- property maximum_moment: float#
maximum moment
- property positions: list[float]#
positions of load-introduction
- property transversal_shear_support_left#
value of transversal shear at the left support
- property transversal_shear_support_right#
value of transversal shear at the right support