fedoo.constitutivelaw.BeamMesh

class BeamMesh(material, section_mesh, Jx, k=0, name='', *, output_points=None, rotate_mesh=False)

Beam properties and fiber quadrature from a planar section mesh.

Pass a 2D section_mesh with tri3, tri6, quad4, quad8 or quad9 elements in physical units. Its coordinate columns correspond to the section’s y and z directions. The section is centered at its area centroid. By default the input axes are retained, with a warning if they are not principal axes. Set rotate_mesh=True to align the section with the closest principal axes for uncoupled elastic bending. centroid and principal_angle (the applied rotation in radians) describe the transformation. Orient the beam’s local axes accordingly.

Area and second moments use the element Gauss rules. Supply the Saint-Venant torsion constant Jx (use 0 for a planar bending model) and, if needed, a transverse shear factor k. The mesh is not used to solve torsional warping or recover torsional stresses. Wrap the section in BeamNonLinear to use its quadrature points as material fibers.

__init__(material, section_mesh, Jx, k=0, name='', *, output_points=None, rotate_mesh=False)

Beam properties constitutive law.

This constitutive law should be associated with the weakform fedoo.weakform.BeamEquilibrium

Parameters:
  • material (ConstitutiveLaw name (str) or ConstitutiveLaw object) – Material Constitutive Law used to get the elastic modulus and shear modulus. The ConstitutiveLaw object should have attributes E and G that gives the young modulus and the shear modulus (as fedoo.constitutivelaw.ElasticIsotrop).

  • A (scalar or arrays of gauss point values) – Beam section area.

  • Jx (scalar or arrays of gauss point values) – Torsion constant.

  • Iyy (scalar or arrays of gauss point values) – Second moment of area with respect to y (beam local coordinate system).

  • Izz (scalar or arrays of gauss point values) – Second moment of area with respect to z (beam local coordinate system).

  • k (scalar or arrays of gauss point values, default: 0) – Shear shape factor. If k=0 (default) the beam use the bernoulli hypothesis.

  • name (str) – name of the WeakForm.

Notes

The current beam formulation supports isotropic linear elastic materials only. Material orientations are ignored; the beam cross-section orientation is defined by the assembly element frame.

Methods

BeamMesh.compute_linear_density()

BeamMesh.compute_rotary_density()

Mass moments per unit length, using polar area inertia about x.

BeamMesh.fiber_quadrature()

Use the section mesh's Gauss points and area weights.

BeamMesh.from_section_description(description)

Restore a recovery-only section without a material/solver registry.

BeamMesh.get_all()

Return a dict with all the known ConstitutiveLaw (with a name).

BeamMesh.get_beam_rigidity()

BeamMesh.get_local_frame(assembly)

Current local basis rows in global coordinates, in Gauss-point order.

BeamMesh.get_strain(assembly[, position])

Recover local kinematic section strain without elastic properties.

BeamMesh.get_stress(assembly[, position])

Recover local stress at normalized points, defaulting to output_points.

BeamMesh.initialize(assembly, pb)

Initialize the constitutive law for the current problem.

BeamMesh.normalize_section_coordinates(position)

Inverse centroid-preserving map, including heterogeneous dimensions.

BeamMesh.normalized_output_points([n_points])

Sampling coordinates; varying pipe radii may yield (points, 2, GP).

BeamMesh.normalized_section_coordinates(position)

Map normalized (y,z) toward each bounding face about the centroid.

BeamMesh.reset()

Reset the constitutive law.

BeamMesh.sample_points([n_points])

Normalized section points; default to section-mesh nodes.

BeamMesh.scale_section_points(points)

Yield physical points, broadcasting varying dimensions along beams.

BeamMesh.section_bounds()

Physical bounding-box bounds relative to the section centroid.

BeamMesh.section_coordinates(position)

Resolve normalized coordinates; scalar positions are ambiguous.

BeamMesh.section_description()

Portable section schema; arrays retain their beam data association.

BeamMesh.section_mesh([n_points])

Mesh in normalized centroid-relative (y,z) coordinates.

BeamMesh.set_local_frame(local_frame[, location])

Define the material coordinate frame.

BeamMesh.set_start(assembly, pb)

Begin a new time iteration.

BeamMesh.shear_stress(force_y, force_z, y, z)

Average transverse shear; subclasses may supply section distributions.

BeamMesh.to_start(assembly, pb)

Restart the current time iteration.

BeamMesh.torsion_strain(twist, y, z)

Circular-section torsion kinematics, independent of material stiffness.

BeamMesh.torsion_stress(torque, y, z)

Circular-section torsion, or no torsion for generic sections.

BeamMesh.update(assembly, pb)

Update the constitutive law for the current problem state.

BeamMesh.corate

the objective rate is weakform.corate.

BeamMesh.fibers

Section Gauss points and area weights as (y, z, weights).

BeamMesh.is_section_law

BeamMesh.linear_density

Mass per unit beam length.

BeamMesh.n_points

Approximate section sampling budget, an integer of at least eight.

BeamMesh.name

Name of the constitutive law.

BeamMesh.output_points

Configured normalized output coordinates, or None without sampling.

BeamMesh.recovery

BeamMesh.rotary_density

Mass moments of inertia per unit beam length.

BeamMesh.section_dimensions

BeamMesh.section_registry

BeamMesh.section_type

BeamMesh.A

Section surface

BeamMesh.Jx

Torsion constant

BeamMesh.Iyy

Second moment of area with respect to y

BeamMesh.Izz

Second moment of area with respect to z

BeamMesh.k

Shear shape factor.

BeamMesh.is_initialized

Tag set to True once the law is intialized.