Evaluating Field-MOPs in optiSLang

You can evaluate field-MOPs or random field models for new sets of input parameters to quickly approximate new field designs. You can export any field quantity, including geometric mesh information, for use in an optiSLang workflow.

This multi-part tutorial shows how to evaluate a field-MOP in optiSLang:

Exporting the Field-MOP for Simulation

To export a field-MOP for simulation from oSP3D:

  1. Load the oSP3D database file circuit_fmop.sdb in oSP3D_examples\ansys\circuit.

  2. Select File > Export for simulation > Generate field objects in optiSLang.

  3. On the Define reference design directory template page, define a reference design path of your choice.

    All files added or modified are exported relative to this path.

  4. Click Create new file and do the following:

    1. Select Ansys external data CSV for node data as the file type.

    2. Supply a file name of your choice.

    3. Click Save.

  5. In the Data to export table, select the quantity identifier to export.

  6. Set Design ident to Evaluate Field-MOP.

     

  7. Click Next.

  8. On the Define output of simulation data page, set the file to be exported.

  9. Click Finish.

The Export to simulation directory contains all files for evaluating the exported field-MOP and creating a new field design for a set of input parameters. For more information, see the oSP3D script file randomfield_simulate_single_design.ssc .

 

 

Using the "Generate_oSL3D" Node in optiSLang

To use the Generate_SoS node in optiSLang:

  1. In optiSLang, create a Parametric System containing a Generate_oSL3D node.

     

  2. Edit the Generate_oSL3D node and open the SIM file exported in the previous tutorial.

    The scalar input parameters required by the exported field-MOP are recognized.

  3. Add these scalar input parameters to the list of parameters.

     

  4. Click OK.

  5. Save and run the project.

    The field-MOP is evaluated for default input parameters. Output files are created in the working directory, including the CSV file defined in the previous section and oSP3D log output.

     

  6. Use the newly created parametric system to generate new field design for further analysis, such as an optimization of some objective function derived from the output field.