OptimisationProblem.solve

OptimisationProblem.solve(path, cpus=1, output=True, save=False, smooth=None)[source]

Run Topology Optimisation procedure

Warning

ToscaStructure cannot read a model made of parts and assemblies. The model is automatically flatten and in case of incompatibilities, the names of nodes, elements and groups are automatically changed by the software. Check the input file automatically generated in the optimisation folder.

Parameters
  • path (str, optional) – folder location where the optimisation results will be saved, by default ‘C:/temp’

  • cpus (int) – number of cpus used by the solver.

  • output (bool, optional) – if True provides detailed output in the terminal, by default True

  • save (bool, optional) – save results, by default False. CURRENTLY NOT IMPLEMENTED!

  • smooth (obj, optional) – if a compas_fea2.optimisation.SmoothingParameters subclass object is passed, the optimisation results will be postprocessed and smoothed, by defaut None (no smoothing)