How to create a set through formula?


Exporting an entity set to a solver deck can lead to a very long id list.

For that reason, some users prefer to define a set of nodes or a set of elements through a combination of formulaic expressions.

 

This can be done in HyperMesh as explained below.

 

  1. From the Model Ribbon select Sets

Ein Bild, das Text, Screenshot, Schrift enthält.Automatisch generierte Beschreibung

 

  1. From Set Type select formula
  2. Right-Click on Number of Clauses and select Edit

Ein Bild, das Text, Software, Computersymbol, Screenshot enthält.Automatisch generierte Beschreibung

 

 

  1. Click on Insert to Setup a New Clause
  2. Choose a Clause Type
  3. Enter the required values and click OK to create the Set

Ein Bild, das Text, Software, Computersymbol, Screenshot enthält.Automatisch generierte Beschreibung

 

The element set, defined in this example, creates the following lines in the OptiStruct solver deck:

 

$HMSET        1        2 "set1" 18
$HMSETTYPE         1 "formula" 18
SET     1       ELEM    LIST
+       50        THRU  60