msgpi.sg.execu.run#

msgpi.sg.execu.run(solver, input_name, analysis, smdim=2, aperiodic=False, output_gmsh_format=True, reduced_integration=False, scrnout=True, logger=None)#

Run codes.

Parameters
  • solver (str) – solver name of VABS or SwiftComp

  • input_name (str) – Name of the input file.

  • analysis ({0, 1, 2, 3, 4, 5, '', 'h', 'dn', 'dl', 'd', 'l', 'fi', 'f', 'fe'}) –

    Analysis to be carried out.

    • 0 or ‘h’ or ‘’ - homogenization

    • 1 or ‘dn’ - (VABS) dehomogenization (nonlinear)

    • 2 or ‘dl’ or ‘d’ or ‘l’ - dehomogenization (linear)

    • 3 or ‘fi’ - initial failure indices and strength ratios

    • 4 or ‘f’ - (SwiftComp) initial failure strength

    • 5 or ‘fe’ - (SwiftComp) initial failure envelope

  • smdim (int) – (SwiftComp) Dimension of the macroscopic structural model.

  • aperiodic (bool) – (SwiftComp) If the structure gene is periodic.

  • output_gmsh_format (bool) – (SwiftComp) If output dehomogenization results in Gmsh format

  • reduced_integration (bool) – (SwiftComp) If reduced integration is used for certain elements.

  • scrnout (bool, default True) – Switch of printing solver messages.

  • logger (logging.Logger) – Logger object