2025 API Programmer's Guide
Elements and Groups to Solvermasses
The PAM-CRASH keyword MASS has been mapped from the elements/groups entity to the solvermasses entity. The PAM-CRASH keywords NSMAS and NSMAS2 have been mapped from groups entity to solvermasses entity. See the solvermasses data name documentation for more details.
To create a MASS keyword
(nodes):
*createentity solvermasses config=401
# OR
*createentity solvermasses config=401 type=0
To create a MASS keyword
(GES):
*createentity solvermasses config=401 type=1
To create a NSMAS
keyword:
*createentity solvermasses config=402
# OR
*createentity solvermasses config=402 nsmas_type=0
To create a NSMAS2
keyword:
*createentity solvermasses config=402 nsmas_type=1
To set value to ‘mass_addmx’ field on MASS card and ‘nsmas_mare’ field on NSMAS card
respectively:
*setvalue solvermasses id=1 STATUS=1 mass_addmx=1.0
*setvalue solvermasses id=1 STATUS=1 nsmas_mare=2.0
Similarly, for querying a field on MASS or NSMAS
cards:
hm_getvalue solvermasses id=1 dataname= mass_addmx
hm_getvalue solvermasses id=1 dataname= nsmas_mare
New Commands
- Classify
- Connectors
- General/Core
- Geometry
- Meshing
- Skeleton
Modified Commands
The following commands have new options or enhanced capabilities. Existing scripts
are not affected and only need to be updated if usage of the new functionality is
desired:
- Data Names
- solvermasses - Added new data names mass_addix, mass_addiy, mass_addiz, mass_addmx, mass_addmy, mass_addmz, mass_disr, mass_diss, mass_dist, mass_ifra, mass_ixy, mass_iyz, mass_ixz, nsmas_mare, nsmas_mlen, nsmas_mvol, nsmas_type, and Optional_Line5. Added new config values 401, 402, and 403.
- General/Core
- *setoption/hm_getoption - Added new options g_ce_ae_primitive_display and geometry_create_mesh_mode.
- Meshing
- *midmesh_extract - Added new option Method.
- *voxel_lattice_hex_mesh_add_entities - Added parts to the list of valid values for entity_type.
- *voxel_lattice_hex_mesh_add_entities_with_buffer - Added parts to the list of valid values for entity_type.
- *voxel_lattice_hex_mesh_remove_entities - Added parts to the list of valid values for entity_type.
Removed Commands
The following commands/options have been removed and are no longer available for use
in scripts:
-
- *solidmap_initialize_edges – Use the new command name *solidmap_solids_begin3 instead.