.HM.ent.tcl file

The .HM.ent.tcl file is a HyperMesh command file.

File Creation

The .HM.ent.tcl file is created when a topology optimization is performed (see Topology Optimization in the OptiStruct User Guide).

File Contents

When executed in HyperMesh, the .HM.ent.tcl file organizes all elements in the model into ten new entity sets based on their material densities at the final iteration. The sets are named 0.0-0.1, 0.1-0.2, 0.2-0.3, and so on, up to 0.9-1.0. All elements with a material density between 0% and 10% are contained in 0.0-0.1. All elements with a material density between 10% and 20% are contained in 0.1-0.2, and so on. You can then visualize the results by masking the entity sets which contain those elements with lower density.


  1. Ensure the corresponding model is loaded in HyperMesh when executing the command file.
  2. The advantage of this method over the .HM.comp.tcl method is that the elements remain in their original components, but can still be selected and masked by entity set.