-
In the upper-right corner of the simulation activity, click the arrow to expand
the simulation activity.
-
From the Simulation Applications section of the action bar, click Fluid Simulation
, and drop it to the right of the Automation Script
adapter in the same activity.
-
In the process diagram, click the Fluid Simulation
adapter to open its shortcut toolbar, and then click
to
open the adapter's editor.
-
Click the Run
tab
-
In the Simulation section, change the simulation type to
Parameter.
-
Create an object parameter for the fluid flow simulation.
-
Click
to
search for the physics simulation object.
-
In the top bar, search for and select
MyNameBottlePourTest A.1.
The Create New Parameter dialog box
appears, and the selected simulation object appears in the
Object Selection field.
-
In the Create New Parameter dialog box, enter
CFD Simulation for the parameter's
name.
-
Accept all other default values and click
OK.
Optimization Process Composer creates an object parameter for the fluid flow simulation. In the
simulation process, you can now refer to this parameter.
-
From the Simulation section, confirm that
CFD Simulation is selected.
-
In the Performance section, enter
8 for the number of Cores to
use when running the simulation.
-
From the Mode options, select Iterative
run with the Branch and save full results
option to save the simulation data.
You can now view lightweight, 3D results in Results Analytics.
-
In the Duplication and Deletion section, enter
${Run_Number} for the Copy
prefix.
The run number represents the iteration in the DOE that drives the simulation
process. The app prepends the run number to the name of each model when each iteration of the
process runs.
-
Create a parameter for the fluid flow results named CFD
Result.
-
From Capture copy in object parameter, click
to create a parameter.
-
Enter CFD Result for the parameter's name.
-
Accept all other defaults, and click OK.
-
From the Capture copy in object parameter
options, confirm that CFD Result is
selected.
-
For the Field plot prefix, place your pointer before the
default text, and enter ${Run_Number}.
Each time the simulation process runs, the app prepends the iteration number to the names of the field plots.
-
Similarly, for the History plot name, place your pointer
before the default text, and enter ${Run_Number}.
-
Expand the Advanced section, and select Run
in dedicated session from the Execution
mode options.
-
Click the Input
tab.
-
In the tree, expand , and select the following publications:
- NumberOfRibsBottomSection
- RadiusTopSection
Selecting these publications creates activity parameters, which allows
them to map them to the DOE adapter that you add later. The DOE adapter creates designs that have different numbers of ribs on the bottom section of
the bottle. In addition, the DOE varies the radius of the top of the
bottle.
-
Click the Output
tab.
-
In the tree, expand , and select Result Manager\Result Of Flow Analysis
Case.1\MASSFLOW.1\Maximum.
Selecting this sensor creates an activity parameter, allowing you to map
it to the DOE that you create later. Mapping parameters between activities
allows them to update as each activity runs.
-
Click OK.
-
Double-click the name of the activity, and rename it to
Fluid.
|