MF 45 Handout STAMPA Fin
MF 45 Handout STAMPA Fin
MF 45 Handout STAMPA Fin
0 New Features
Summary
1. Workflow Enhancement
4. Algorithm Improvements and New Tools (ISF, Lipschitz, MOGT, MCDM, RELIABILITY)
Workflow Enhancements
Workflow Enhancement
1. New Layout
4. Star-CCM+ Node
Node Palette
Bookmark favorite nodes Node search text box
Once file name is defined new options are available: Is relative: a file with the given name is expected to be connected to this node Embedded: if selected, the given template file is saved inside the prj Select Parameter Chooser
Select variables from the model and drag to right (or use + button above) If workflow is empty, new variables will be created with the same name
If workflow already contains some variables with same names, a prompt panel appears: You may need to link the existing ones You may need to create new parameters with different names
If workflow already contains some variables with same names, a prompt panel appears: You may need to link the existing ones You may need to create new parameters with different names
Fast solver
Heavy solver
Note: only files of the last design can be transferred (in this case it practically coincides with the best design; generally, the file of the best design may need to be reproduced in the main .prj)
In nested .prj, variables (scalar, vector, matrix, string) which are exchanged as data (constant) with external project can be defined by corresponding variables Files can be transferred in the same way (File Attachment Nodes)
Selecting DesignDB option in the generic Buffer Node, users can transfer a complete database from one project to another In this way, users can first run a global search optimization, then apply a refinement
Second .prj: enter Buffer DB in Design Table and DOE table so that the NBI algorithm will run refinement starting from those points
Subprocess
Put a subprocess node inside the workflow Open it and select Edit Subprocess
A workflow containing different modules (CAD, structural analysis, etc.) Part of this workflow is common to other projects (the analysis is defined by the same node, here an EasyDriver), so we may use a subprocess for it In addition, we want to repeat the analysis until a result is obtained (to save a design in case of random errors, license server loss, etc..)
The external prj will only contain the I/O variables to be used in the optimzation and the part of workflow to be executed directly The subprocess node will instead contain the part of workflow to be executed by the subprocess
I/O Parameters of Data node type are used here (their values should come from the external project) In addition, the file to be obtained by the external project is defined here via Input File Attachment Node The process is saved as a .prc file
Use Parameter Chooser to link internal subprocess parameters to external .prj optimization variables
Define as loop condition(After type) : exitPort =Fail if the exit condition of the subprocess is Fail, the loop cycle will continue This prevents design failure due to random problems; however a max number of loops can be specified (here 10)
Only internal parameters can be introspected: internal CAD, B.C. ...not external CAD
Autobuilt Workflow
Nodes Preferences
As of mF 4.5.0, Node preferences become PC settings and not User settings as before: they are saved in a folder visible and modifiiable by every user of that PC. This folder can be set with the variable all.users.home.dir from : C:\Programs\modeFRONTIER450\etc\jobagent\jobagent.properties Otherwise, mF uses the defaults : Windows = C:\ProgramData Linux = /usr/local/modeFRONTIER NOTE : Keep Alive option of every node has been moved in the Preferences menu
GRID Improvements
1. port specification for firewall setups (to be set on every pc node): etc\jobagent\jobagent.properties 2. more than 1 prj can run on the same grid (and so on the same integrations) 3. Nodes can be added / modified on the fly during the Run
Dashboard
Gadget Palette Common Legend
Files or Images
Info Project
Designs
Scheduler
Process Table
Design Data
CLASSIC
NEW
Run Options: new feature to select which files to keep after the job execution (never, always, or not on failure conditions)
Filtering options
- Partitive Clustering - an additional step introduced after the Run Algorithm step: DB Index chart K-Means function can be directly applied to the Clusters Table without having to return to the Browse menu (cancelled): more user-friendly, reduction of clicks
RSM Enhancements RSM node new parameter chooser RSM Wizard enhancements RSM Validation
RSM Node
Before
After
- Parameter Chooser; new variable nodes are created if the desired inputs/outputs are not present in the workflow; variable nodes are linked if the desired inputs/outputs exist (linked or not to the node)
Directly select Enable RSM validation tool: first train RSM on a table then select another table for validation At the end, look at validation table
Alternatively, select RSM validation tool from the design space, select RSM to validate, and look at table
For each RSM, the following information is reported: Mean absolute error Mean relative error Mean normalized error R-Squared error AIC
- New RSM algorithm DACE-Kriging introduced at the specific request of Honda - At present DACE-Kriging will be distributed to version 4.4.2 users as a plugin, together with the necessary documentation, benchmarking and instructions for its integration into the above version; regularly available as of version 4.5 - SS-ANOVA is now also available as a stand-alone RSM
-The left term guarantees a good fit to the data. - The right term represents a penalty on roughness.
If possible, perform interaction screening. Verify Collinearity Indices. If at least one is much greater than 1, the screening analysis is bad. Stop here (sampling is not adequate). Set a filter. Perform another Screening Analysis, if necessary. The set of important variables are plotted in the cumulative chart or are printed in bold in the RSM Functions Creation.
The internal optimization routine finds the lambda and theta values and also minimizes the GCV score (collinearity index)
Algorithm Improvements
New scheduler arrangements ISF Lipschitz MOGT MCDM New MORDO distributions RELIABILITY
Scheduler Arrangements
The list of scheduler algorithms has been re-arranged by algorithm type: the new categorization is much more user-friendly, maintaining numeric consistency
Lipschitz
Local Lipschitz constant could be used as a complexity indicator Large Lipschitz constant Small Lipschitz constant The design space is tessellated in zones and Lipschitz constants are estimated locally (higher where gradients are higher: more points needed)
Lipschitz
Number of designs that will be evaluated If activated, points will be added only inside spheres centered on marked points (radius is fraction of input range) Definition of which variables are to be used for analysis
New option: A fraction of the designs can be produced by ISF (to avoid excessive accumulation in highest Lipschitz constant areas)
Best X= X1 is found
Best Y= Y1 is found
The adaptive decomposition of the variables can also be made through SS-ANOVA as an alternative to t-Student SS-ANOVA is efficient for identifying the significant variables even when the database is small and when Full Factorial isnt used (as required by t-Student) Another t-Student limitation was that when the database grew, the significance of any parameters tended to reach 100%
New MOGT
Why MCDM ?
Ranking between alternatives is a common and difficult task. Multiple Criteria Decision Making (MCDM) is a process finalized to solve decision problems involving multiple and conflicting goals During this process there are different actors:
1. The Decision Maker (DM) chooses one reasonable alternative from among a limited set of available ones; 2. Alternatives are the possible solutions; 3. Attributes are parameters that the DM uses to make a decision.
Select designs
Tolerance occurs when difference of rank value is higher than 0.09 (designs in yellow)
Raising preference (0.5) red preferred designs are reduced; tolerance is still 0.09
73
New Distributions
New probability distribution functions are available for Robust Design analysis (including their link to Polynomial Chaos) Available built-in distribution types: Uniform Normal Logistic Chi-square Exponential Log-Uniform Student
When this option is checked and a repeated design is found, the sample is generated again and statistical properties are computed again (e.g., test on same design changing PC order, etc.) During an optimization, option can be unchecked to avoid repeating performance analysis for repeated designs
90% original
The optimization which aims to find an optimal design and minimizes the failure probability is called Reliability-Based Design Optimization We introduce a RBDO methodology based on Polynomial Chaos Expansion
F (x, t , ) = i (x, t ) i ( )
i =0
To find the unknown i coefficients and finally express the moments we must sample F in N points to minimize:
Hermite Polynomials
F ( ) ( )
N k j =1 j i =0 i i j
The advantage of PCE methodology is that the convergence to exact distribution moments follows an exponential rate: accurate and fast
F (x, t , ) = i (x, t ) i ( )
i =0
G(u)<0 G(u)>0
FULL MONTECARLO
(large sampling obtained analitically)
Boomerang trajectory is computed by a Matlab script, solving motion equations by Runge-Kutta Aerodymical forces are provided by a Response Surface (meta-model) trained by a series of different CFD analysis (changing velocity and angle of attack) All the simulations have been executed by modeFRONTIER*, including the CAD parameterisation and the optimization to find optimal geometry
*R. Russo, A. Clarich, C. Poloni, E, Nobile, Optimization of a Boomerang shape using modeFRONTIER, AIAA Proceedings, Indianapolis, September 2012
Input variables Velocity (V) Spin Aim angle Tilt Angle Objectives Returning distance RD 99-ile Range
Reliability Settings in mF
Set percentile(s)
Optimal range
Optimal return
Input variables Velocity (V) Spin Aim angle Tilt Angle Objectives Returning distance RD 99-ile Range