Sensitivity Analysis of a Feeder Clamp using the COMSOL Integration Node

This tutorial allows you to complete a sensitivity analysis of the Feeder Clamp:

The feeder clamp is parametrized by the feeder force (Ffeeder), clamp width (W), and inner (d) and outer (D) diameters. The responses are the maximum directional displacements (X and Y) at load case 2.

Task Description

This tutorial demonstrates how to do the following:

  • Generate an optiSLang workflow using the COMSOL integration node

  • Set up the COMSOL integration node settings

  • Define and register the parameters and the responses

Preparation

Before you start the tutorial, download the feeder_clamp.mph file from here and add it to your project reference directory *.opr.

Tutorial Steps

Creating a New Project

  1. Start optiSLang.

  2. Create a new empty project.

  3. From the Modules > Systems > Algorithms > Sampling folder, drag the Sensitivity system to the Scenery pane and let it drop.

  4. From the Modules > Process chain elements > Integrations folder, drag the COMSOL node into the Sensitivity system and let it drop.

  5. In the Initialize Integration dialog, click the OK button to accept the defaults.

Setting up the COMSOL integration node

  1. Double-click the COMSOL integration node (or right-click the COMSOL node and select Edit).

  2. Go to the Settings tab.

    Here you can set a custom COMSOL executable path in Executable file and/or set a Custom plugins directory.


    Note:  From version COMSOL 6.3 onward, you must use command-line script (a batch file (*.bat) or a command script (*.cmd)) path in Executable file to run the COMSOL and set the Custom plugins directory. The batch file or command script must contain the following:

    "comsolbatch" -disablemodelclassmethodexec on -clientsidemodelclass on %*

    where [comsolbatch] should be replaced with the path to the comsolbatch executable file.

    Detailed information is provided in the optiSLang Help documentation.


  3. Click Test Run and check the results in the Test Run Results window that pops up.

Selecting the Input File

  • In the Parametrization tab, browse the reference folder *.opr and select the feeder_clamp.mph file.

Selecting Parameters and Response

  1. In the Inputs table, select D, d, Ffeeder, and W and drag them to the Parameter pane to register them as inputs.

  2. In the Outputs pane, select Afeeder and Awasher and drag them to the Responses pane to register them as outputs.

Setting up the Sensitivity

  1. Double-click the Sensitivity system to open the settings.

  2. On the Parameter tab, check registered parameters.

  3. On the Dynamic sampling tab, set dynamic sampling:

    1. Select Dynamic sampling.

    2. Select "Plain Monte Carlo" as the Sampling type.

    3. Set Number of samples to 10.

  4. Click Ok.

Saving and Running the project

  1. To save the project, click  .

  2. Right-click the Sensitivity system and select Start from here.

  3. To review the result, double-click the Sensitivity system and switch to the Result designs tab.

    To view the optiSLang Postprocessing, right-click the Sensitivity system and select Show Postprocessing.