Composipy Optimization Functions#

This page contains functiosn used to optimize the composite plate. Optimization algorithms are gradient based and they use Scipy and optimization engine.

Since optimization is in continuous they result in Lamination Parameters as result. Then, Lamination Parameters are supposed to be convereted into stacking sequences somehow by the user.

Maximize Buckling Load#

composipy.optimize.maximize_buckling_load(a, b, T, E1, E2, v12, G12, Nxx=0, Nyy=0, Nxy=0, m=7, n=7, panel_constraint='PINNED', options=None, tol=None, plot=False, points_to_plot=30, penalty=True)[source]#
Parameters
  • a (float) – Plate dimension a

  • b (float) – Plate dimension b

  • E1 (float) – Young Modulus direction 1

  • E2 (float) – Young Modulus direction 2

  • v12 (float) – Poisson ratio

  • G12 (float) – Shear Modulus

  • Nxx (float, default 0) – Normal load in x direction

  • Nyy (float, default 0) – Normal load in y direction

  • Nxy (float, default 0) – Normal load in xy direction

  • m (float, dafault 7) – Size of shape function along x axis

  • n (float, default 0) – Size of shape function along y axis

  • panel_constraint (composipy constraints format) – Plate boundary constraints

  • options (scipyminimize optiions) –

  • tol (scipy minimize tol) –

  • plot (bool, default False) – Plot optimization function

  • points_to_plot (float, default 30) – Number of points to plot

  • penalty (bool, default True) – Applies boundary conditions into the feasible region. If penalty is True, the boundary condition is the triangle the delimits 0, 45, 90° If penalty is False, the boundary conditions is the parabola that defines the natural constraints.

Returns

res

Return type

scipy minimize result

Minimize panel weight#

composipy.optimize.minimize_panel_weight(a, b, E1, E2, v12, G12, Nxx=0, Nyy=0, Nxy=0, m=7, n=7, x0=[0.1, 0.0, 0.0], panel_constraint='PINNED', options=None, tol=None)[source]#
Parameters
  • a (float) – Plate dimension a

  • b (float) – Plate dimension b

  • E1 (float) – Young Modulus direction 1

  • E2 (float) – Young Modulus direction 2

  • v12 (float) – Poisson ratio

  • G12 (float) – Shear Modulus

  • Nxx (float, default 0) – Normal load in x direction

  • Nyy (float, default 0) – Normal load in y direction

  • Nxy (float, default 0) – Normal load in xy direction

  • m (float, dafault 7) – Size of shape function along x axis

  • n (float, default 0) – Size of shape function along y axis

  • x0 (list, default [0.1, 0.0, 0.0]) – Initial value

  • panel_constraint (composipy constraints format) – Plate boundary constraints

  • options (scipyminimize optiions) –

  • tol (scipy minimize tol) –

  • plot (bool, default False) – Plot optimization function

  • points_to_plot (float, default 30) – Number of points to plot

Returns

res

Return type

scipy minimize result