MSC Nastran > Running an Analysis > 3.16 Toptomize
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
3.16 Toptomize
When preparing for a pure topology, topometry, or topography optimization analysis run, select Toptomize as the Action on the Analysis application form. This allows setup and submission of SOL 200 jobs.
The functionality is similar and in many cases identical to running a normal analysis as described in Review of the Analysis Form, 250 and other sections in this chapter. Each button and its subordinate form that appears when the Action is set to Toptomize is explained briefly below.
Use the Optimize action for sizing optimization and combined sizing and topology optimization as explained in Optimize, 453.
Button/Subordinate Form:
Description:
Translation Parameters...
These parameters are described in Translation Parameters, 255 and are not specific to optimization.
Optimization Parameters...
This form is used to define optimization parameter for the job. Parameters set in this form and its subordinate form define some of the values on the DOPTPRM entry. These are explained in the MD Nastran Quick Reference Guide under this entry and the user is referred there for details. Note that no DOPTPRM entry is written if all values are default values. Valid values, such as which optimizer is available, depends on the setting of the Nastran version in the Translation Parameters form described above. Results file formats can also be set in this form as described in Results Output Format, 340.
Objectives & Constraints...
This form allows you to define the objective and constraints for the topology, topometry or topography optimization run. Please see Objectives & Constraints, 456 below.
Optimization Controls...
This form allows you to define various controls and settings necessary for topology, topometry, or topography optimization jobs. Please see Optimization Control, 457 below.
Design Domain...
This form allows you to select the property sets that define the active design domain. Manufacturing constraints are defined via this form also. Please see Design Domain, 459 below.
Direct Text Input...
Use of this form is described in Direct Text Input, 266.
Subcases...
Use of this form is described in Subcases, 346. There are two differences that are significant to this form, however. For optimization, subcases are created based on solution sequence, e.g. Statics 101, Normal Modes 103, etc. You must set the solution sequence before creating the subcase, otherwise the default 101 will be used. Secondly, an additional subordinate form allows you to select existing constraint sets and an objective for the particular subcase being created if necessary. Objectives and constraints are created using the Design Study tool under the Tools pull down menu. Note that not all subcase parameters are identical between a normal analysis and an optmization analysis. Also see the note on Contact above: page 454.
Subcase Select...
Use of this form is described in Subcase Select, 444. One difference is that for optimization you must set the solution type to see the subcases defined for a particular solution sequence. Otherwise by default only SOL 101 subcases are displayed. A selected subcase will display the associated solution sequence number in front of its label.
Analysis Manager...
This gives access to the Analysis Manager for submitting, monitoring, aborting and generally managing a Nastran job. This button will not appear if the Analysis Manager is not installed or licensed.
Objectives & Constraints
This form is used to define the optimization type and select the objective and constraints of the optimization run. All widgets on this form are explained in the table below.
Widget Parameter:
Description:
Type
Select the optimization type for job to be set up, either Topology, Topometry, or Topography. Topology is the default.
Objective Function(s):

Minimize Compliance

Maximize Frequency

Track Modes

Mode Numbers
The objective of the optimization is set with the widgets in this frame. The default is to Minimize Compliance. Multiple static subcases are allowed.
 
Optionally you can also maximize frequency (or eigenvalue). You specify the mode number in the provided databox. If the provided mode is not the first mode or you provide modes such as 1 5 and 6, you can turn on the Track Modes toggle. This is recommended as modes can change with each design cycle. The MODTRAK case and bulk data entries are written in this case using the number of modes called out for extraction as set up in the modal subcase. Multiple modal subcases are allowed.
 
A DESOBJ case control entry is written to the deck which calls out the appropriate DRESP1 and/or DRESP2 entries with the COMP, FREQ, or EIGN options. Multiple DRESP1 entries are written when the Constraint Target is Mass Fraction with multiple property sets selected and subsequently referenced or combined using an average function on the DRESP2 entry.
 
Only one objective is allowed, however you can specify to Minimize Compliance and Maximize Frequency in which case you need to also specify a single Frequency Constraint Target. This target along with the compliance minimization objective is combined onto a DRESP2 entry using a DEQATN entry to formulate the objective relationship. In this case a single modal subcase is required.
 
Note that when multiple static subcases are selected, a DRSPAN entry is written to each subcase as necessary to ensure the objective function properly spans all subcases.
Frequency Constraint Targets
Specify the mode number(s) and corresponding frequencies to be constrained in the optimization run. At least one modal subcase is required. This is typically used when the Objective Function is set to Maximize Frequency. If the Objective Function is set to both Minimize Compliance and Maximize Frequency, then a singe mode frequency target is required and only one modal subcase is allowed.
 
A DESSUB case control is written to the deck which calls out the appropriate DCONSTR and DRESP1 entries. This constraint because part of the objective if both Minimize Compliance and Maximize Frequency objective functions are specified and is incorporated via a DEQATN entry referenced on a DRESP2 entry called out by a DESOBJ case control.
Constraint Target
Specify the constraint target. For Topology, only Mass Fraction is allowed. For Topography, only Weigh or Volume is allowed. For Topometry, either of the three are allowed. You must specify the mass fraction, weight or volume target. By default, the mass fraction is 0.4 (40% of the original mass). However, volume and weight have no defaults. If the Objective Function is set to only Maximize Frequency, then a Constraint Target is not required (can be set to None) for Topometry and Topography only.
 
A DESGLB case control is written, which calls out the appropriate DCONSTR and DRESP1 entries. For Weight and Volume, only a single DCONSTR/DRESP1 entry combination is written as the entire design domain can only have one weight or volume constraint. For Mass Fraction, multiple combinations are written with the same DCONSTR ID.
Optimization Control
Use this form to set various controls used during the optimization run. They are briefly described here but the user is referred to the MSC Nastran Quick Reference Guide for further information. Leaving a field blank will trigger usage of the default in most cases. Some parameters must be provided or the analysis cannot proceed. Setting the Maximum Design Cycles is the most common usage of this form to limit the analysis to something reasonable. Each optimization type has different settings:
Topology Parameters:
Description:
(all values written to the TOPVAR entry unless otherwise indicated)
Initial Design (XINIT)
Required. Initial value. It is recommended that this match the mass target constraint. This value defaults to the mass value target constraint set on the Objectives and Constraints form.
Lower Bounds (XLB)
Optional. Lower bound to prevent the singularity of the stiffness matrix. Leave blank to use Nastran default of 0.001. Real 0.0 < XLB <= 0.1
Maximum Design Cycles (DESMAX)
This is the maximum number of design cycles after which the optimization run is forced to quit. This is written on the DOPTPRM entry. Default is 30. This option is not written if default is used. The entire DOPTPRM entry is not written if all options are defaulted.
Penalty Factor (POWER)
Optional. A penalty factor used in the relation between topology design variables and element Young’s modulus. Leave blank to use Nastran default of 3.0. Real 1.0 <= POWER <= 6.0
Move Limit (DELXV)
Optional. Fractional change allowed for the design variable during approximate optimization. Leave blank to use Nastran default of 0.2. Real > 0.0 Note that if this is left blank and DELX is specified on the DOPTPRM entry (Optimization Parameters form), Nastran will use that value in place of this one.
Tolerance of Convergence (CONV1)
Optional. Relative criterion to detect convergence. If the relative change in objective between two optimization cycles is less then CONV1, then optimization is terminated. Leave blank to use Nastran default of 0.0001. Real > 0.0. This is written to the DOPTPRM entry.
Minimum Member Size (TDMIN)
Optional. Indicates the minimum member size. No default. No minimum is used if not specified. Recommendation is that it be set to three times a representative element dimension. Real > 0.0. This is written to the DOPTPRM entry and is for 2D and 3D elements only.
Checkboard-Free Method (TCHECK)
Optional. On by default. Turns on/off topology filtering (allows of minimizes checker boarding effects). This is written to the DOPTPRM.
Results Output Format
Results file formats can also be set in this form as described in Results Output Format, 340.
Topometry Parameters:
Description:
(all values written to the TOMVAR entry unless otherwise indicated)
Initial Design (XINIT)
Required. Initial design value of property to optimize. Optimization job will not proceed without this value defined. Real > 0.0
Lower Bounds (XLB)
Optional. Lower bound of the property to optimize. Leave blank to use Nastran default of XLB=0.5*XINIT. Real > 0.0.
Upper Bounds (ULB)
Optional. Upper bound of the property to optimize. Leave blank to use Nastran default of XUB=1.5*XINIT. Real > 0.0.
Maximum Design Cycles (DESMAX)
This is the maximum number of design cycles after which the optimization run is forced to quit. This is written on the DOPTPRM entry. Default is 30. This option is not written if default is used. The entire DOPTPRM entry is not written if all options are defaulted.
Move Limit (DELXV)
Optional. Fractional change allowed for the design variable during approximate optimization. Leave blank to use Nastran default of 0.2. Real > 0.0 Note that if this is left blank and DELX is specified on the DOPTPRM entry (Optimization Parameters form), Nastran will use that value in place of this one.
Tolerance of Convergence (CONV1)
Optional. Relative criterion to detect convergence. If the relative change in objective between two optimization cycles is less then CONV1, then optimization is terminated. Leave blank to use Nastran default of 0.0001. Real > 0.0. This is written to the DOPTPRM entry.
Property to Optimize (PNAME)
Required. The property to optimize. No Nastran default. This is dependent on the model dimensionality is some cases. Default is set to Thickness for 2d problems but is not appropriate for 1D models where cross sectional Area would be the most common choice.
Results Output Format
Results file formats can also be set in this form as described in Results Output Format, 340.
Topography Parameters:
Description:
(all values written to the BEADVAR entry unless otherwise indicated)
Lower Bounds (XLB)
Optional. Lower bound on the bead height. Leave blank to use Nastran default of 0.0. See the Upper Bounds (XUB) description.
Upper Bounds (XUB)
Optional. Upper bound on the bead height. Leave blank to use Nastran default of 1.0. To force grids to move only the positive bead vector direction (one side of the surface), use XLB = 0.0. To force grids to move only in the negative bead vector direction (the other side of the surface), use XUB = 0.0. To allow grids to move in both positive and negative bead vector directions, use XLB < 0.0 and XUB > 0.0.
Maximum Design Cycles (DESMAX)
This is the maximum number of design cycles after which the optimization run is forced to quit. This is written on the DOPTPRM entry. Default is 30. This option is not written if default is used. The entire DOPTPRM entry is not written if all options are defaulted.
Move Limit (DELXV)
Optional. Fractional change allowed for the design variable during approximate optimization. Leave blank to use Nastran default of 0.2. Real > 0.0 Note that if this is left blank and DELX is specified on the DOPTPRM entry (Optimization Parameters form), Nastran will use that value in place of this one.
Tolerance of Convergence (CONV1)
Optional. Relative criterion to detect convergence. If the relative change in objective between two optimization cycles is less then CONV1, then optimization is terminated. Leave blank to use Nastran default of 0.0001. Real > 0.0. This is written to the DOPTPRM entry.
Minimum Bead Width (MW)
Required. Minimum bead width. There is no default. This controls the width of beads and the recommended value is 1.5 to 2.5 times the average element width. Real > 0.0
Maximum Bead Height (MH)
Required. Maximum bead height. There is no default. This controls the maximum height of beads when XUB = 1.0 (or left blank). Real > 0.0
Draw Angle (ANG)
Required. Draw angle in degrees. This controls the angel of the sides of the beads and the recommended values is between 60 and 75 degrees.
Buffer Zone (BF)
Optional. Buffer zone. This parameter creates a buffer zone between elements in the topography design region and elements outside the design region when turned on, which is the default.
Exclude from Design (SKIP)
Optional. Boundary skip. This indicates which element nodes are excluded from the design region. Constraints indicates all constrained nodes and Loads indicates all nodes referenced by forces, moments and enforced displacements. Both are on by default.
Results Output Format
Results file formats can also be set in this form as described in Results Output Format, 340.
Design Domain
The property sets that define the intended design domain are set on this form as well as manufacturing constraints. The form works by clicking on a valid property set (row) in the top spread sheet. This action adds the selected row to the bottom spread sheet, which are the active domains during the optimization run. To remove domains, click on the rows of interest in the bottom spread sheet and press the Remove Selected Rows button.
From this form you can also define manufacturing constraints to impose on the topology optimization. Each property set is written to a TOPVAR, TOMVAR, or BEADVAR entry in the input file depending on the optimization Type set in the Objectives & Constraints form. The values of various parameters on these entries can be different for each property set. It is recommended that you review the settings for each property set defined in the design domain before submitting the job. When a property set is added to the selected design domain properties spreadsheet, some of the values are set in the various columns from the settings on the Optimization Control form. To change these settings for an individual property set, simply click on the cell to be changed. A widget will appear above the spreadsheet allowing you to change the value. Use the Enter key to accept the new value into the spreadsheet. The same can be done when opening the Manufacturing Constraints form. The values set in the Manufacturing Constraint forms will correspond only to the property sets that are selected from the Design Domain spreadsheet. If you do not select any rows in the Design Domain spreadsheet, then any change made on the Manufacturing Constraints form will be applied to all property sets in this spreadsheet. For this reason, care should be taken to verify all changes are what is intended.
The tables below indicate the parameters that can be set for each property set of the design domain. Any parameter set on this form overrides any global setting of that parameter that may be defined under the Objective & Constraints form or the Optimization Control form. For more information on each parameter, the user is directed to the MSC Nastran Quick Reference Guide.
Topology Parameters:
Description:
(all values written to the TOPVAR entry unless otherwise indicated)
Frac Mass Target (FRMASS)
The fraction mass target for the specified property set. The initial value is picked up from the setting on the Objectives & Constraints form. If one of these cells is set, all rows must be set. You can remove the values from all rows and the value from the Objectives & Constraints form will be used. Otherwise these values override the value from the Objectives and Constraints form. Values in these cells are also written the corresponding DCONSTR/DRESP1 entries with FRMASS option as well as the TOPVAR entry.
Lower Bounds (XLB)
Lower Bounds. The original value is picked up from the setting on the Optimization Control form. Typically these cells are blank by default. If one of these cells is set, all rows must be set. You can remove the values from all rows and the value from the Optimization Control form will be used. Otherwise these values override the value from the Optimization Control form.
Manufacturing Constraints:

Ref. Coordinate System

Minimum Member Size

Symmetric Constraints

Extrusion Constraints

Casting Constraints
These are accessed from the Manufacturing Constraints form.
 
Any direction, plane, or axis specified for the constraints will be in the Reference Coordinate Frame specified.
 
By default all constraints are off. You may turn any on that are applicable. Some combinations are not possible in Nastran and the interface should indicate if an incompatible combination is selected.
 
Note that all of these values can differ for each selected design domain from the Design Domain form (bottom spreadsheet). By selecting a row from the spreadsheet, you can see the settings change on the Manufacturing Constraints form if there are differences. If multiple rows are selected, only the settings for the top row are displayed on the Manufacturing Constraints from. If a change is made to a value with multiple rows selected, the new value is associated to all the selected property sets. If no property sets are selected, it is the same as if all are selected. So care should be taken when changing values on this form to ensure only the property sets of interest are being affected.
 
Topometry Parameters:
Description:
(all values written to the TOMVAR entry unless otherwise indicated)
Property to Optimize (PNAME)
The property to optimize. The original value is picked up from the setting on the Optimization Control form. If one of these cells is set, all rows must be set. You can clear the values from all rows and the value from the Optimization Control form will be used. Otherwise these values override the value from the Optimization Control form.
Initial Design (XINIT)
Initial Value on the property value to optimize. Operates similar to Property to Optimize above.
Lower Bounds (XLB)
Lower Bounds on the property value to optimize. Operates similar to Initial Value above
Upper Bounds (ULB)
Upper Bound on the property value to optimize. Operates similar to Lower Bound above.
Manufacturing Constraints:
Not supported for Topometry.
Topography Parameters:
Description:
(all values written to the BEADVAR entry unless otherwise indicated)
Minimum Bead Width (MW)
Minimum bead width. The original value is picked up from the setting on the Optimization Control form. If one of these cells is set, all rows must be set. You can clear the values from all rows and the value from the Optimization Control form will be used. Otherwise these values override the value from the Optimization Control form.
Maximum Bead Height (MH)
Maximum bead height. Operates similar to Minimum Bead Width.
Draw Angle (ANG)
Draw angle in degrees. Operates similar to the above parameters.
Lower Bounds (XLB)
Lower bound on the bead height. Operates similar to the above parameters.
Upper Bounds (XUB)
Upper bound on the bead height. Operates similar to the above parameters.
Buffer Zone (BF)
Buffer zone. Operates similar to the above parameters.
Exclude from Design (SKIP)
Boundary skip. Operates similar to the above parameters.
Manufacturing Constraints:

Ref. Coordinate Frame

Extrusion Direction

Nodes to Exclude/Include
These are accessed from the Manufacturing Constraints form.
 
Any vector specified for the draws direction of the beads will be in the Reference Coordinate Frame specified.
 
By default the Extrusion Direction is Normal to the surface. If Vector is specified, a user defined vector can be specified in any acceptable manner with the select mechanism.
 
Optionally the user may select a group of nodes to include or exclude from the design domain.
 
Note that all of these values can differ for each selected design domain from the Design Domain form (bottom spreadsheet). By selecting a row from the spreadsheet, you can see the settings change on the Manufacturing Constraints form if there are differences. If multiple rows are selected, only the settings for the top row are displayed on the Manufacturing Constraints from. If a change is made to a value with multiple rows selected, the new value is associated to all the selected property sets. If no property sets are selected, it is the same as if all are selected. So care should be taken when changing values on this form to ensure only the property sets of interest are being affected.
Postprocessing
Postprocessing topology optimization results requires that you read element density values (the new mesh from optimization) using the Nastran results .xdb file (e.g. jobname.xdb) or .des file (e.g. jobname.des) through the Tools | Design Study | Postprocessing menu and use that application to view the results rather than through the Patran Results application. See Tools>Design Studies>Post-Process (p. 554) in the Patran Reference Manual.