Model.realizemasselementstosolvermasses#
- Model.realizemasselementstosolvermasses(collection)#
Creates nodal group solvermasses out of mass elements.
Currently used in solver conversion from OptiStruct/Nastran to LS-DYNA.
- Parameters:
collection (Collection) – The collection containing the mass elements entities to convert.
Example#
Convert all mass elements in the model#import hm import hm.entities as ent model = hm.Model() elemlist_all = [el for el in hm.Collection(model, ent.Element) if el.config == 1] element_collection = hm.Collection(elemlist_all) model.realizemasselementstosolvermasses(collection=element_collection)