Objective:
Learn how to run a field optimization.- Creating a Parametric FE Model
- Define the Objective
- Define the Constraint
- Run the Field Optimization
- Field Optimization Post-Processing
Procedure:
What is Field Optimization? Field optimization is a numerical design operation that optimizes design parameter values within the bounds of a design space (based on a set of objectives and constraints). Field optimization allows the user to run an optimization algorithm on specific parameters, such as lattice or shell thickness, to achieve the best geometry for the desired objective (while considering complex and multivariate design constraints). Before starting with field optimization, we have two requirements: FE Volume Mesh and Boundary Conditions (BCs) to apply the Constraints. Follow the instructions in the links below to prepare your model for field optimization. FE Mesh- How to create an FE Volume Mesh
- How to choose boundaries of an FE Mesh - FE Boundary by Body
- How to Use Boundary Conditions
- How to use a CAD Face in a boundary condition
1. Creating a Parametric FE Model
Follow this link to learn about FE Models and how to create them. The Parametric FE Model would need one of the Parametric Domains as an input.
A table with data: Row 1: Parametric Domain, , Design Parameters, Field Optimizable Design Parameters. Row 2: Parametric Lattice Domain, , Unit Cell, Boundary Behaviour, Cell Size, Min and Max Thickness. Row 3: Parametric Shell Domain, , , Min and Max Shell Thickness. Row 4: Parametric Shell-Infill Domain, , Unit Cell, Cell Size, Min and Max Infill ThicknessMin and Max Shell Thickness. Row 5: Parametric Voronoi Domain, , , Min and Max Cell SizeMin and Max Thickness.
Fill in the other inputs’ Material, Min, and Max allowable values for optimization. Note: The initial value is only used for visualization purposes, whereas the minimum and maximum values drive field optimization. We highly recommend using the input to check whether your Min and Max are printable. Tip: If you wish to optimize only the Thickness instead of the Cell size in a Parametric Voronoi Domain, use a constant Cell size value for Min and Max. Once you generate the Parametric Domain, a window with several options for visualizing the results appears in the viewport.- Implicit view - allows you to view the resulting geometry by changing the Initial values in the input of the Parametric Domain block.

- Property Fields - allows a user to view the homogenized mechanical properties of the structure across the design space before performing field optimization. The properties that can be accessed from the HUD are Relative density, Density, Young’s Modulus, Poisson’s Ratio, and Shear Modulus.

-
- State Fields - allows a user to view values of the design parameters across the design space before performing the field optimization. For example, in this case, the controllable design parameter is thickness which would be the same as our Initial input value.

2. Define the Objective
The Optimization objective is what property, or ‘Design Response,’ we hope to minimize or maximize within our part. nTop supports several design responses, including Structural Compliance, Volume Fraction, Displacement, and Stress. Use the Optimization Objective block to specify the design response(s). In this example, the objective is to minimize structural compliance.- Add a Structural Compliance Response block.
- Insert the Displacement Restraint and the Force block.
- Add an Optimization Objective block
- Set the goal to Minimize
- Insert the Structural Compliance Response into the Design Response List

3. Define the Constraint
Field optimization can also take constraints as input. Without Constraints, the optimization will probably result in parameter values at their maximum/minimum bounds. Constraints can include upper or lower limits on other Design Responses and others. The most commonly used constraint applies a minimum or maximum bound to a design response, such as compliance, volume fraction, displacement, or stress. This field optimization example is constrained such that the volume fraction of the final part is less than 0.4. In other words, the resulting optimized part will have a targeted volume of 40% of the whole design space. Notice that the volume fraction cutoff in the Design Response Constraint block is a variable for easy adjustment.- Add an Optimization Constraint List block
- Insert a Design Response Constraint block
- Insert a Volume Fraction Response block into the Response input
- Set the value to .4
- Optional: Right-click on the Value input to create a variable to change the Volume Fraction quickly.

4. Run the Field Optimization
- Add a Field Optimization block,
- Insert the Parametric FE Model
- Insert the Objective
- Insert the Constraints

- Implicit view - allows you to view the resulting geometry. Under the “render, as needed” drop-down, each iteration will render when you move the slider bar. Use the “render all” option in the drop-down to render more than 1 iteration at a time to view the progression of the field optimization results easily.
- Property Fields - allows you to view the mechanical properties of the resulting structure across the design space. You can display the results across the original mesh and render them in real time for any saved iteration.
- State Fields - allows you to view values of the design parameters across the design space. You can display the results across the original mesh and render them in real time for any saved iteration.
5. Field Optimization Post-Processing
To get the resultant Implicit Body, you must grab the Implicit chip from the Properties panel (optimized model > parametric fe domains > Properties > body).
- Add a Boolean Union block
- Input the Smoothened Body and the Interface Bodies
- Set the Blend radius to 2 mm (to keep the transitions between bodies congruent)

