beam

class granoo3.lib.beam

Bases: granoo3.lib.bond

a mechanical spring that links two elements

Methods Summary

get_bending_stiffness(arg1)

computes and returns the bending stiffness

get_current_bending_stress(arg1)

get the current bending stress

get_current_normal_stress(arg1)

get the current normal stress

get_current_stress(arg1)

get the current stress

get_current_tensile_stress(arg1)

get the current tensile stress

get_current_torsion_stress(arg1)

get the current torsion stress

get_inertia(arg1)

get the inertia momentum of the beam : pi*D^4/64

get_max_stress(arg1)

get the max stress value (stress limit for breaking the beam)

get_poisson_ratio(arg1)

get the Poisson's ratio value

get_radius(arg1)

get the radius value

get_section(arg1)

get the area of the beam : pi*R^2

get_tensile_stiffness(arg1)

computes and returns the tensile stiffness

get_young_modulus(arg1)

get the Young's modulus value

new(arg1, arg2)

build new object

set_max_stress(arg1, arg2)

set the maximal accepted stress value.

set_poisson_ratio(arg1, arg2)

set the Poisson's ratio value

set_radius(arg1, arg2)

set the radius value

set_young_modulus(arg1, arg2)

set the Young's modulus value

Methods Documentation

get_bending_stiffness((beam)arg1) float[STATIC]

computes and returns the bending stiffness

get_current_bending_stress((beam)arg1) float[STATIC]

get the current bending stress

get_current_normal_stress((beam)arg1) float[STATIC]

get the current normal stress

get_current_stress((beam)arg1) float[STATIC]

get the current stress

get_current_tensile_stress((beam)arg1) float[STATIC]

get the current tensile stress

get_current_torsion_stress((beam)arg1) float[STATIC]

get the current torsion stress

get_inertia((beam)arg1) float[STATIC]

get the inertia momentum of the beam : pi*D^4/64

get_max_stress((beam)arg1) float[STATIC]

get the max stress value (stress limit for breaking the beam)

get_poisson_ratio((beam)arg1) float[STATIC]

get the Poisson’s ratio value

get_radius((beam)arg1) float[STATIC]

get the radius value

get_section((beam)arg1) float[STATIC]

get the area of the beam : pi*R^2

get_tensile_stiffness((beam)arg1) float[STATIC]

computes and returns the tensile stiffness

get_young_modulus((beam)arg1) float[STATIC]

get the Young’s modulus value

static new((element)arg1, (element)arg2) beam[STATIC]

build new object

set_max_stress((beam)arg1, (float)arg2) None[STATIC]

set the maximal accepted stress value. If the current stress is higher than the max stress the beam is automatically deleted. You can set zero here if you don’t need this behavior.

set_poisson_ratio((beam)arg1, (float)arg2) None[STATIC]

set the Poisson’s ratio value

set_radius((beam)arg1, (float)arg2) None[STATIC]

set the radius value

set_young_modulus((beam)arg1, (float)arg2) None[STATIC]

set the Young’s modulus value