Model.assignidpooltocweldelements#

Model.assignidpooltocweldelements()#

Nastran has a separate ID pool for cweld elements, which is cweld_idpool. In OptiStruct, cweld falls under structural_idpool. When you load a model in OptiStruct and switch profiles to Nastran, cweld elements should fall under cweld_idpool in Nastran and under structural_idpool in OptiStruct and vice-versa.

Example#

Keep * * cweld * * elements under the correct ID pools in OptiStruct and Nastran profiles#
import hm
import hm.entities as ent

model = hm.Model()

model.assignidpooltocweldelements()