Ansys DCS

The DCS node provides a connection between optiSLang projects and Ansys Design Point Service projects. Input values can be generated for the Design Point Service, and after a successful computation, the resulting output values and files can be retrieved and further processed using optiSLang.

Requirements

The DCS node works in conjunction with an Design Point Service instance. For instructions on setting up the instance, see the DCS for Design Points Guide.

DCS Tab

Displays information on the currently used project as well the available parameters and responses. A connection must be set up and a project selected before parameters and responses are displayed.

OptionDescription
Project, ConfigurationDisplays the currently used project and its configuration, or n/a if a project is not selected.
ReloadReloads parameters or responses for the project. Is available when parameters or responses have changed in Design Point Service.
SelectSelects the project and configuration the node should work on. Required for any parameters or responses to be displayed. Only available if you have set up a connection to Design Point Service.
Parameters, ResponsesDisplays the available project inputs (parameters) and outputs (responses). Drag the desired parameters or responses from their list to one of the panes on the side to use them in optiSLang. To further adjust the parameters, or inspect the response values after a run, use the settings of the relevant parametric system or the project overview.
Output Files Tab

Allows you to select design output files to be sent to the local system.

All selected files are retrieved after a successful design computation. To select or clear files, select the check box next to the ID or use one of the following actions available in the context menu or the multi-action button below the table.

  • Check Selected

  • Check All

  • Uncheck Selected

Selecting Register Selected to Files creates an entry in the list of registered files. See Registering Files for further information.

If Use distinct working directory is selected, it creates an extra subdirectory below the design directories for the retrieved output files. If this check box is cleared, retrieved output files are stored directly in the design directories.

Connection Tab

Displays information about the connection to Design Point Service.

URL displays the URL of the Design Point Service. Last user displays the user name used to log into the selected service previously.

To create an initial connection and log into the Design Point Service, click Connect/Log In. You can also use it to re-login if the previous login expired, or completely change the login used for the connection.


Note:  Only the URL and user name are stored. The password is not stored in the project, a time limited token allowing access to the server is created and stored. This is a security feature but you may need to log into the server again occasionally.


Scripting Features

The Python scripting interface provides a special method login() that accepts a user name and password. This can be useful in automated batch run scenarios. You will need to re-login to the server occasionally. Running a Python script that performs a login prior to the project execution ensures that the login is always new enough for the project to run.

Standard Slots

This node only has common integration slots.

Run Options

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

Supported Versions

See the Supported Integration Versions table.