Follow Along: Objectives and Constraints
Transcript
Now that we’ve created an FE model and set boundary conditions, in this case, our load case and restraints, we can go ahead and start filling in our Topology Optimization block. To get started, you can continue working in the file used in the previous optional video, or you can download the starter file below.
We’ll begin by creating a section titled “Topology Optimization,” and we’ll add the Topology Optimization block to our notebook. Now, we’ll add the FE model that we’ve already created, and this would be the same model from any simulation we’ve already run in this workflow. Our objective input is where we define what we want to gain out of this optimization. Often, we’ll assign multiple design responses to give multiple load cases. This is more realistic, as most parts aren’t subjected to only one load case.
To add an objective to our Topology Optimization block, we can double-click and choose Optimization Objective. When applying multiple objectives, we can use this weights input to assign different weightings to each of the inputs. If the weights input is left blank, all objectives will be assigned the same weighting. Our design responses for the optimization objectives can be found in the Topology Optimization ribbon underneath “Design Responses.” Here, we have four different responses: volume fraction, structural compliance, stress response, and displacement response.
Additional design responses can be found in the beta tab underneath “Topology Optimization.” A commonly used response can be found in our design responses, and that would be this structural compliance response. We can pull this into our design response, and for its load case, we can assign our two boundary conditions we established earlier. We’ll pull in this fixed restraint and our force.
Taking a look at our FE model above, our two fixed holes will be these two outer holes, and our force will be applied downward on this middle hole. Scrolling back down to our objectives, I’ll select that we want to minimize the structural compliance of this entire body. If you want to apply this objective to only one specific region, you can use this optional input. The constraints input in the Topology Optimization block will most commonly apply a minimum or bound to a design response.
Like objectives, multiple constraints can be applied to a Topology Optimization block. Those constraints can be found here in our Topology Optimization ribbon in addition to our pattern repetition constraint, which can be found in our beta tab. For this example, I’ll apply a volume fraction constraint as well as a planar symmetry constraint. I’ll set the volume fraction constraint as 0.25, indicating that our nTop results will have a volume 25% or less of our original volume.
I’ll use the planar symmetry constraint to ensure that our nTop result is identical on either side of the bracket. To do this, I’ll create a plane from normal and set our origin at the centroid of our design region. Now, we can see that this plane from normal splits this FE model down the middle. I’ll add these two constraints to our Topology Optimization block, and now I’ve finished setting up my objectives and constraints.
Follow along to establish Objectives and Constraints within the Topology Optimization block. If you would prefer to walk through this lesson in PDF format, you can download our PDF guide below.
You can continue working in the nTop file we created in the FE Model and Boundary Conditions review video earlier in the course. Or, download the starter file below.
Example File:
This file was last updated in nTop 5.12.2
