ANSA Input

ANSA is a powerful pre-processing software from BETA CAE systems. Using the Task Manager, ANSA provides an interface for you to set up an optimization task and define optimization parameters (for example, thicknesses), material parameters, or control variables for shape morphing (see ANSA tutorials for further information). ANSA is reading and writing a DV file to interface with any third party optimizer.

After selecting the DV file from the ANSA input node, all parameters defined in the ANSA task manager can be registered as optiSLang parameters or input slots using drag and drop. If the input node is connected to a parametric system, the range information provided by the DV file is used to define the initial parameter limits for any variation study in optiSLang.

Expected File Content

The input DV file is a machine readable ASCII file, see the following example for reference.

#
# ANSA_VERSION: 18.0.0
#
# file created by A N S A Wed Jan 17 16:40:39 2018
#
# Output from:
# hook.ansa
#
# DESIGN VARIABLES
#---------------------------------------------------------------------------------------------
# ID | DESIGN VARIABLE NAME | TYPE | RANGE | CURRENT VALUE | MIN VALUE --> MAX VALUE | STEP
#---------------------------------------------------------------------------------------------
1, OuterWidth, REAL, BOUNDS, -2., -8., 0.
2, Section_A, REAL, BOUNDS, 1., 0., 10.
3, Section_B, REAL, BOUNDS, 1., 0., 12.
4, Section_C, REAL, BOUNDS, 1., 0., 10.
#---------------------------------------------------------------------------------------------
Extracted Information

For each parameter, the following information is extracted:

  • Id (ID)

  • Name (DESIGN VARIABLE NAME)

  • Value (CURRENT VALUE)

  • Lower Bound (MIN VALUE)

  • Upper Bound (MAX VALUE)

  • Type (TYPE)

  • Range (RANGE)

IDNameValueLower BoundUpper BoundTypeRange
1OuterWidth-2-80REALBOUNDS
2Section_A1010REALBOUNDS
3Section_B1012REALBOUNDS
4Section_C1010REALBOUNDS
Run Options

This node has general Run Options. The number of supported options is individual for each node.