The Optimization Task

An optimization task always consists of the same basic elements: design area, objective function and eventually also constraints. This chapter explains the standard procedure for creation of an optimization task.

The following describes the general procedure for the definition of an optimization task. These procedures are supported by the task manager in Tosca ANSA® environment (TAe) as well as the command tree in Tosca Structure.pre screen of Tosca Structure.gui (GUI).

Analysis model

  • Question: Which file(s) contains the FE-model for the optimization?
  • Procedure: Link file(s) to optimization task.
    • In TAe:Select MODEL_LINK > FILE > Edit and choose your model file.
    • In GUI: Select Command > FEM_INPUT and choose your model file.

Design area

  • Question: Which surface area of the FE model should be selected for shape modifications?
  • Procedure: Assign node group with surface nodes to design area.
    • In TAe: DESIGN_AREA > Edit and choose predefined group or select new group.

    • In GUI: Choose or define the node group with the surface nodes of the selected design area GROUP_DEF Command and define the design variables DV_SHAPE.

  • Question: Which area of the model should be selected for smoothing of the FE mesh?
  • Procedure: Assign element group to MESH_SMOOTH area.
    • In TAe: Select DESIGN_AREA > New > MESH_SMOOTH and choose predefined group or select new group.

    • In GUI: Choose or define the element group defining the mesh smoothing area (GROUP_DEF) and define the mesh smoothing (MESH_SMOOTH).

  • Question: Are there nodes in the design area or in the mesh smoothing area that are subject to certain restrictions? How can these restrictions be described?
  • Procedure: Define design variable constraints for node group.
    • In TAe: Select DESIGN_AREA > DV_CONSTRAINTS > New > <type of restriction> and choose predefined group or select new group for this restriction. If required, define link conditions using modules buttons.

    • In GUI: Choose or define node groups with common restrictions (GROUP_DEF). Define the restrictions using LINK_SHAPE and DVCON_SHAPE.

Objective function

  • Question: Which terms describe the values to be optimized? Should these values be minimized or maximized or otherwise combined?
  • Procedure: Choose terms for optimization (design responses) and target.
    • In TAe: Select OBJ_FUNC_ITEM_1 > New > <term for optimization>. Choose Edit for choice of target type (min, max, minmax).

    • In GUI: Define the design response (DRESP) and assign it to the objective function (OBJ_FUNC).

Constraint

  • Question: Which design response describes the constraint? Which value should the constraint have?
  • Procedure: Choose term for constraint and set target value or upper/lower boundary.
    • In TAe: Select CONSTRAINT > New > <term for constraint>

    • In GUI: Define the design response (DRESP) and assign it to the constraint (CONSTRAINT).

Optimization task

  • Question: Are all of the command definitions listed above complete and ready for the optimization job?
  • Procedure: If necessary complete any additional required definitions and prepare the optimization job.
    • InTAe: Automatically prepared by task manager.

    • In GUI: Reference all definitions above in OPTIMIZE.

Stop Condition

  • Question: Should the optimization stop after a number of iterations (or certain other conditions)?
  • Procedure: Define a stop condition.
    • In TAe: Select GLOBAL_STOP_CONDITION > Edit and change number of iterations.

    • In GUI: Select Command > STOP.

Check Run

  • Question: Would prior testing of the restriction definitions be useful?
  • Procedure: Apply test displacements.
    • In TAe: Select BEAD_OPTMIZATION... > New > TEST_SHAPE on SHAPE_OPTMIZATION_CONTROLLER or CHECK_INPUTS > New > TEST_SHAPE_CHECK.

    • In GUI: Select Command > TEST_SHAPE.

Completion

  • Question: Has all the required data been specified?
  • Procedure: If yes, finish the definition of the optimization problem and save your definition.
    • In TAe: Select OUTPUT and change the jobname. (or proceed with the default jobname). Update writes the parameter file.

    • In GUI: Save as <jobname>.par.

The essential commands required for the optimization model in shape optimization are described in the following. The order of their appearance corresponds to the order of the above listed procedures.

The definitions for the optimization job are assembled in a parameter file. The exact syntax of the commands can be looked up in commands manual. The following figure gives an overview of a standard optimization task and the relation between the several commands. Only commands which are referenced in the OPTIMIZE command will be included in the optimization.