User Tools

Site Tools


wiki:sns:intactgh:ex_7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:sns:intactgh:ex_7 [2023/08/03 15:33] eliwiki:sns:intactgh:ex_7 [2024/02/06 10:51] (current) graham
Line 1: Line 1:
 ======Sampling Custom Points====== ======Sampling Custom Points======
  
-The files for the geometry and setup can be downloaded here: {{ :wiki:sns:intactgh:Sampling_points.zip }}+🧰The files for the geometry and setup can be downloaded here: {{ :wiki:sns:intactgh:sampling_points.zip }} \\ 
 +*Legacy* files for Rhino 7 can also be found here: {{ :wiki:sns:intactgh:sampling_points_rhino7.zip }}
  
 This example will show you how to sample points of an object using the solution sampler block.  This example will show you how to sample points of an object using the solution sampler block. 
  
-First, a point need to be placed on/in the geometry. This works with many points, but for this example, we will just sample one. The point is located on the geometry here.+First, a point needs to be placed on/in the geometry. This works with many points, but for this example, we will just sample one. The point is located on the geometry here.
  
-{{ :wiki:sns:intactgh:ex7pic2.png?400 }}+{{ :wiki:sns:intactgh:ex7pic2.png?800 }}
  
-It is necessary to use a point or geometry object to reference this point from Grasshopper. This can be done by right clicking and setting the point.+It is necessary to use a point or geometry object to reference this point from Grasshopper. This can be done by right-clicking and setting the point.
  
 {{ :wiki:sns:intactgh:ex7pic1.png?400 }} {{ :wiki:sns:intactgh:ex7pic1.png?400 }}
  
-Now, the solution sampler object can be placed. Connect the solver output to the solution input on the solution sampler. The sampler will display the results from the last solved simulation.+Now, the solution sampler object can be placed. Connect the solver output to the solution input on the solution sampler. The sampler will display the results from the last solved simulation. Note that the material input is left empty since all components in the assembly are of the same material (Aluminum 6061).
  
-{{ :wiki:sns:intactgh:ex7pic3.png?400 }}+{{ :wiki:sns:intactgh:ex7pic3.png }}
  
 The outputs of the solution sampler are (T) is a list of the solution quantities and its corresponding index. The index corresponds to the values (V). The final output is a list of the points (P) that were sampled. The outputs of the solution sampler are (T) is a list of the solution quantities and its corresponding index. The index corresponds to the values (V). The final output is a list of the points (P) that were sampled.
Line 23: Line 24:
 It is notable that the (V) output was flattened. This makes the solution quantities all appear in one branch. It is recommended to connect a panel and experiment with what flatten, graft, simplify, and reverse do for manipulating data. It is notable that the (V) output was flattened. This makes the solution quantities all appear in one branch. It is recommended to connect a panel and experiment with what flatten, graft, simplify, and reverse do for manipulating data.
  
-To isolate a specific solution quantity, it is useful to use a list item object. Set the index of the solution quantity you'd like to sample, and the output will correspond. For example, this is how you sample the von mises stress at the point. This is especially helpful when sampling a large number of points.+To isolate a specific solution quantity, it is useful to use a list item object. Set the index of the solution quantity you'd like to sample, and the output will correspond. For example, this is how you sample the von mises stress at the point. This is especially helpful when sampling many points.
  
 {{ :wiki:sns:intactgh:ex7pic5.png?400 }} {{ :wiki:sns:intactgh:ex7pic5.png?400 }}
  
-The list of points and their index'can be found by connecting a panel to the points (P) output. +The list of points and their indexes can be found by connecting a panel to the points (P) output. 
wiki/sns/intactgh/ex_7.1691098421.txt.gz · Last modified: 2023/08/03 15:33 by eli