fedoo.constitutivelaw.BeamNonLinear
- class BeamNonLinear(section, fibers=None, *, material=None, name='')
Beam section integrated from nonlinear material points (fibers).
The axial strain of a fiber at \((y, z)\) in the local section frame is \(\varepsilon_{11} = \varepsilon_X + z\,\kappa_Y - y\,\kappa_Z\). A private copy of
materialis evaluated at every fiber of every beam Gauss point under uniaxial stress ("1Dstress"). The normal force and bending moments are the fiber integrals \(N = \int \sigma_{11}\), \(M_Y = \int z\,\sigma_{11}\), \(M_Z = -\int y\,\sigma_{11}\), and the section tangent couples them once the section yields.Transverse shear and torsion keep the elastic treatment of the underlying section (\(kGA\) and \(GJ_x\), with the initial elastic shear modulus of the material), as the nonlinear shells do.
- Parameters:
section (BeamProperties) – Section geometry:
BeamRectangular,BeamCircular,BeamPipeorBeamMesh, or a subclass that definessection_boundsand provides quadrature or accepts explicitfibers. A section given by its properties only (BeamProperties) is refused. Its material is the fiber material unlessmaterialis given. Section dimensions must be uniform.fibers (tuple of arrays, optional) – Explicit physical centroid-relative coordinates and area weights
(y, z, weights). By default, usesection.fiber_quadrature(). To change the resolution, pass the result of calling that method with the section’s quadrature options.material (Mechanical3D or str, optional) – Fiber material, for instance
fedoo.constitutivelaw.Simcoon. It must support the"1Dstress"stress state and have uniform constants. Defaults to the section material. A name shared with the section resolves to the section: pass the law object in that case.name (str, optional) – Name of the constitutive law.
Notes
The fiber material sees a small strain in the corotated element frame, so geometric nonlinearities follow the corotational beam kinematics. Shape functions, inertia and the elastic shear and torsion stiffness use the initial elastic constants of the material. Stresses are only available at the fibers: saved
Stressfields use the fibers as section points, with elastic shear and torsion stresses added.The elastic constants and the density are read when the section is built: set the material density before. A section instance holds the material state of one assembly.
Examples
import fedoo as fd fd.ModelingSpace("3D") steel = fd.constitutivelaw.Simcoon( "EPICP", [210e3, 0.3, 0.0, 355.0, 500.0, 0.3] ) rectangle = fd.constitutivelaw.BeamRectangular(steel, 20.0, 10.0) fibers = rectangle.fiber_quadrature(n_y=8, n_z=4) section = fd.constitutivelaw.BeamNonLinear(rectangle, fibers=fibers) wf = fd.weakform.BeamEquilibrium(section, nlgeom=True)
- __init__(section, fibers=None, *, material=None, name='')
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
Mass moments per unit length, using polar area inertia about x.
Return physical centroid-relative (y, z, weights) for fiber integration.
Restore a recovery-only section without a material/solver registry.
Return a dict with all the known ConstitutiveLaw (with a name).
BeamNonLinear.get_local_frame(assembly)Current local basis rows in global coordinates, in Gauss-point order.
BeamNonLinear.get_strain(assembly[, position])Recover local kinematic section strain without elastic properties.
BeamNonLinear.get_stress(assembly[, position])Fiber stresses (6, n_fibers, n_beam_gauss_points) in local axes.
Return
(y, z, stress)over the fibers at one beam Gauss point.BeamNonLinear.initialize(assembly, pb)Initialize the constitutive law for the current problem.
BeamNonLinear.integration_stresses(assembly)Local fiber stresses, shape (6, n_fibers, n_beam_gauss_points).
Inverse centroid-preserving map, including heterogeneous dimensions.
Sampling coordinates; varying pipe radii may yield (points, 2, GP).
Map normalized (y,z) toward each bounding face about the centroid.
Reset the constitutive law.
BeamNonLinear.sample_points([n_points])Normalized section points; default to section-mesh nodes.
Yield physical points, broadcasting varying dimensions along beams.
Physical bounding-box bounds relative to the section centroid.
BeamNonLinear.section_coordinates(position)Resolve normalized coordinates; scalar positions are ambiguous.
Portable section schema; arrays retain their beam data association.
BeamNonLinear.section_mesh([n_points])Mesh in normalized centroid-relative (y,z) coordinates.
BeamNonLinear.set_local_frame(local_frame[, ...])Define the material coordinate frame.
BeamNonLinear.set_start(assembly, pb)Begin a new time iteration.
BeamNonLinear.shear_stress(force_y, force_z, ...)Average transverse shear; subclasses may supply section distributions.
BeamNonLinear.to_start(assembly, pb)Restart the current time iteration.
BeamNonLinear.torsion_strain(twist, y, z)Circular-section torsion kinematics, independent of material stiffness.
BeamNonLinear.torsion_stress(torque, y, z)Circular-section torsion, or no torsion for generic sections.
BeamNonLinear.update(assembly, pb)Update the constitutive law for the current problem state.
the objective rate is
weakform.corate.Fiber coordinates and weights
(y, z, weights).Mass per unit beam length.
Number of fibers per beam Gauss point.
Approximate section sampling budget, an integer of at least eight.
Name of the constitutive law.
Configured normalized output coordinates, or None without sampling.
Mass moments of inertia per unit beam length.
Private copy of the fiber material law.
Initial elastic constants, read by the beam element and the elastic shear and torsion terms.
Section surface
Torsion constant
Second moment of area with respect to y
Second moment of area with respect to z
Shear shape factor.
Tag set to True once the law is intialized.