Chapter 3. Importing Dakota Studies

If you already have a Dakota input file you want to import into the GUI, there are many ways to achieve this.

Import from disk

You can import from disk in one of three ways:

  • If you are on the welcome screen for the Dakota GUI, select “Import Dakota study from local filesystem.” (select Help > Welcome if you want to get the Welcome screen back).
    DakotaGuiManual_68_Chapter3_1.png
    You will be presented with a file browser that will auto-import a Dakota input file into a new project.
  • If you have already created a Dakota project, simply right-click on the Dakota project in the project navigator view and select “Import” from the context menu.
  • If you are starting from scratch, select File > Import (make sure you have created at least one project first).

For the latter two options, you will be presented with the Eclipse Import wizard.

DakotaGuiManual_68_Chapter3_2.png

From this first page, select General > File System.  Then select Next.

DakotaGuiManual_68_Chapter3_3.png

Click on Browse (next to “From directory”) and browse to the folder where your Dakota input file lives.  After selecting a folder, the Import wizard will populate with files from the folder.  Select the one(s) you want.

DakotaGuiManual_68_Chapter3_4.png

Select Browse (next to “Into folder”) to tell the Import wizard where to place your Dakota input file.  You will need to have already created a project to place the input file in.

When you are done, click Finish.

Search the Dakota examples repository

The Dakota GUI provides a Google-like search functionality that allows you to browse through curated input file examples written by the Dakota team.

You can access the Search dialog in one of two ways:

  • Select “Search the Dakota examples repository” from the Welcome screen (select Help > Welcome if you want to get the Welcome screen back)
    DakotaGuiManual_68_Chapter3_5.png
     
  • Right-click on an existing Dakota project, then select New > File from Dakota examples.

    DakotaGuiManual_68_Chapter3_6.png

The Search dialog is straightforward to use.  Simply type in a keyword that represents what you’re looking for and hit Search.

DakotaGuiManual_68_Chapter3_7.png

DakotaGuiManual_68_Chapter3_8.png

Select the input file you want and click Download.  The Search dialog will either create a new project to hold this input file, or add it to your currently selected project.

Start a new Dakota input file from scratch

If you want to create a new Dakota input file completely from scratch, either:

  • Right click on an existing project, then select New > File.
  • Select File > New > Other… then select General > File from the New wizard that appears.
    DakotaGuiManual_68_Chapter3_9.png
    Click Next.  On the next screen, select which parent project you want to place the file in.
    DakotaGuiManual_68_Chapter3_10.png

Note:  The Dakota GUI currently observes .in file extensions for parsing Dakota input files.  Therefore, you must name your file with a .in extension if you want to leverage input file parsing in the GUI.