This section reviews the user interface and the processes performed in each step
of the wizard Simple Analysis (Fluent Demo 1)
.
Reviewing the Analysis Step
The first step is Analysis, which imports the mesh file and
creates the analysis. It requires that a value be specified for the property
Velocity
.
In this step:
The callback
<onrefresh>
invokes the functionImportMesh
. This function imports the file final.msh and displays the mesh in the Mesh view.The callback
<onupdate>
invokes the functionCreateAnalysis
when is clicked. This function sets up the analysis.The element
<property>
defines the propertyVelocity
. This property is shown in Fluent as a float field with a default value of3
. You enter the desired value. In this example, a value of5
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 functionCreateReport
.The element
<layout>
specifies the custom layout to apply to the results. This is a child element within the element<uidefinition>
.The wizard takes the results obtained and displays them:
The element
<property>
defines the propertyPressureDrop
. This calculated value is displayed in Fluent as a ready-only field.The static pressure results are shown in the Graph and Contours views.