morphogen.laser.periodic

The periodic cell of a laser-architectured sheet and its homogenized tensile tests.

A pattern repeated over a whole sheet — a family of straight tracks at its spacing, crossed families, corrugations, a honeycomb — is periodic: its lattice (lattice()) is spanned by two vectors a1, a2 (mm; reduced to the most compact pair, reduce_basis()). The cell (PeriodicCell) is the parallelogram they span, meshed by quadrilaterals whose nodes match on opposite edges. Its displacements are periodic up to the macroscopic displacement gradient H: a node of the right (top) edge moves as its image on the left (bottom) edge plus H a1 (H a2); one node is held (no translation), H is symmetric (no rotation): the computational homogenization of periodic media (Michel, Moulinec & Suquet 1999). The unknowns are the displacements of the independent nodes and H (PeriodicCell.map()).

Tensile test of the sheet (cell_test()) in the direction n at angle degrees from x (the rolling direction), t across: H = a n⊗n + b t⊗t + c (n⊗t + t⊗n), a prescribed, b and c free — their conjugate forces, the volume of the cell times the mean nominal stresses P_tt and P_nt + P_tn, vanish: a uniaxial stress. The mean nominal stress P_nn against the engineering strain |(I + H) n| − 1 gives the yield and tensile strengths and the uniform elongation (the maximum of the nominal stress: Considère’s, the sheet’s own, no specimen necking); the width strain (the distance between two lines of the sheet along n, the edges of a strip: ln (det(I + H) / |(I + H) n|)) over the thickness strain (the mean of ln λ3 over the cell) gives Lankford’s coefficient — those of the sheet, free of the edges of a specimen and of where its tracks fall in its gauge (Hill 1963: the representative volume).

Biaxial stretching (ratio): b prescribed with a so that the true strains across and along n keep the ratio, ln(1 + b) = ratio ln(1 + a), c free: the linear strain paths of sheet forming, from uniaxial tension (−½) through plane strain (0) to equibiaxial stretching (1); the result’s stress is then the mean nominal stress P_nn (its maximum: the diffuse necking along n), fields["nominal"] holds P_nn, P_tt and P_nt (mean_nominal()).

The shear (free_shear): free by default, its conjugate stress vanishing, so that a sheet whose tracks are oblique to n shears as it is stretched; held at zero, the principal axes of the mean stretch stay along n and t, the mean shear stress then free: the path of the strains is prescribed in full, as by the tools of a forming operation and in the analysis of Marciniak and Kuczyński.

morphogen.laser.periodic.reduce_basis(a1, a2) → tuple[ndarray, ndarray][source]

The Lagrange–Gauss reduction of a basis of a plane lattice: the shortest pair of vectors spanning it (at 60° to 120° from each other), counter-clockwise.

morphogen.laser.periodic.lattice(pattern: dict, along: float | None = None) → tuple[ndarray, ndarray][source]

The lattice vectors (mm, reduced) of a pattern repeated over the sheet (see the module): straight (spacing across the tracks, along them: by default the spacing, 2 mm at most, the treatment being the same all along a track), corrugated and fourier (period along, spacing across, shifted by the phase between neighbours), crossed (along each family, from a track of the other family to the next: spacing2 / sin 2θ along the first, spacing / sin 2θ along the second), honeycomb (the centres of the hexagons), none (a square of 2 mm); all turned by the pattern’s rotation.

class morphogen.laser.periodic.PeriodicCell(a1: ndarray, a2: ndarray, origin: ndarray, mesh: QuadMesh, master: ndarray, shift: ndarray)[source]

Bases: object

The parallelogram spanned by a1 and a2 from origin (mm), meshed by n1 x n2 quadrilaterals (mesh); master: the independent node each node moves with (itself for the independent ones, i < n1 and j < n2); shift: the multiples (k1, k2) of a1 and a2 between them.

classmethod build(a1, a2, *, element: float = 0.25, centre=(0.0, 0.0), shape=None) → PeriodicCell[source]

The cell of a lattice centred at centre, its elements about element mm, or shape = (n1, n2) elements along a1 and a2.

property area: float

The area of the cell (mm²).

property independent: ndarray

The independent nodes (i < n1, j < n2), in the order of the unknowns.

box(margin: float = 0.0) → tuple[float, float, float, float][source]

The box (x0, x1, y0, y1) around the cell, widened by margin.

map(angle: float = 0.0) → csr_matrix[source]

The map T of the unknowns q (the displacements of the independent nodes, then a, b, c of H, see the module, for the direction at angle degrees) to the nodal displacements u = T q.

morphogen.laser.periodic.mean_nominal(membrane: Membrane) → ndarray[source]

The mean nominal stress of a membrane in its current state (2 x 2, MPa): J σ F⁻ᵀ (J the change of volume, det F λ3) averaged over its layers and its area; over a periodic cell, the macroscopic nominal stress (Hill–Mandel).

morphogen.laser.periodic.cell_test(membrane: Membrane, cell: PeriodicCell, angle: float = 0.0, *, max_strain: float = 0.25, step: float = 0.004, max_step: float = 0.02, drop: float = 0.05, tol: float = 1e-05, max_iterations: int = 20, max_steps: int = 400, failure_margin: float | None = None, record_history: bool = False, keep_fields: bool = False, monitors: dict | None = None, ratio: float | None = None, until=None, free_shear: bool = True) → TensileResult[source]

The tensile test of the sheet in the direction at angle degrees from x (see the module) on the membrane of the cell: the engineering strain along it up to max_strain (the steps and stops of load_test()); the result’s stress is the mean nominal stress along the direction, its width and thickness strains give Lankford’s coefficient (r_value()). monitors: more functions of the unknowns recorded at each step, after the membrane has taken its new state (fields["monitors"]). ratio: biaxial stretching, the true strain across the direction prescribed at ratio times the true strain along it (see the module); until: the test stops when this function of the unknowns returns true (after the monitors of the step); free_shear: false holds the shear c at zero (see the module).