Reviewing the Wizard in FluentDemo2

This section reviews the wizard interface and the processes performed in each step of the wizard Simple Analysis (Fluent Demo 2).

Reviewing the Analysis Step

The first step is Analysis, which imports the CAS file and creates the analysis. It requires that a value be specified for the property Velocity.

In this step:

  • The callback <onrefresh> invokes the function ImportModel. This function imports the file final.cas and displays the model in the Mesh view.

  • The callback <onupdate> invokes the function CreateAnalysis when the step’s Next button is clicked. This function sets up the analysis.

    • The element <property> defines the property Velocity. It is shown in Fluent as a float field with a default value of 3. You can enter the desired value. In this example, a value of 2 is entered.

    • Also defined are additional actions to be performed as part of the analysis.

    • Intermediate results are shown dynamically in the Scaled Residuals window as the analysis is performed.

Reviewing the Results Step

The second step is Results, which creates a report of the results.

In this step:

  • The callback <onrefresh> invokes the function CreateReport.

  • The attribute <layout> specifies the custom layout to apply to the results. Custom layouts are defined in the element <uidefinition>.

  • The wizard takes the results obtained and displays them:

    • The element <property> defines the property PressureDrop. This calculated value is displayed in Fluent as a ready-only field.

    • The static pressure results are shown in the Graph and Contours views.