ExportLSDynaKeywordFileParams
Last update: 29.04.2026class ansys.meshing.prime.ExportLSDynaKeywordFileParams(model=None, material_properties=None, database_keywords=None, output_format=None, analysis_type=None, compute_spotweld_thickness=None, write_thickness_file=None, output_controls_d3_part=None, get_zone_mesh_results=None, json_data=None, **kwargs)
Parameters to control LS-DYNA keyword file export settings.
Parameters:
model: Model
Model to create a ExportLSDynaKeywordFileParams object with default parameters.
material_properties: str, optional
Materials in LS-DYNA format to be added to the file.
This is a beta parameter. The behavior and name may change in the future.
database_keywords: str, optional
Database keywords in LS-DYNA format to be added to the file.
This is a beta parameter. The behavior and name may change in the future.
output_format: LSDynaFileFormatType, optional
Output file format used to write LS-DYNA file.
This is a beta parameter. The behavior and name may change in the future.
analysis_type: LSDynaAnalysisType, optional
Option to specify LS-DYNA analysis type.
This is a beta parameter. The behavior and name may change in the future.
compute_spotweld_thickness: bool, optional
Option to compute spot weld thickness using shell thickness when set to true. Else, use search radius as thickness.
This is a beta parameter. The behavior and name may change in the future.
write_thickness_file: bool, optional
Option to write a thickness file for spotweld fatigue analysis. If true, writes a file named [exportedFilename].k.thick.txt containing thickness information.
This is a beta parameter. The behavior and name may change in the future.
output_controls_d3_part: bool, optional
Option to create D3Part card in output controls.
This is a beta parameter. The behavior and name may change in the future.
get_zone_mesh_results: bool, optional
Option to collect and return zone-wise mesh information for elements in the exported model.
This is a beta parameter. The behavior and name may change in the future.
json_data: dict, optional
JSON dictionary to create a ExportLSDynaKeywordFileParams object with provided parameters.
Examples
>>> export_lsdyna_keyword_file_params = prime.ExportLSDynaKeywordFileParams(model = model)
Methods
| Name | Description |
|---|---|
ExportLSDynaKeywordFileParams.print_default() |
Print the default values of ExportLSDynaKeywordFileParams object. |
ExportLSDynaKeywordFileParams.set_default([...]) |
Set the default values of the ExportLSDynaKeywordFileParams object. |
Attributes
| Name | Description |
|---|---|
ExportLSDynaKeywordFileParams.analysis_type |
Option to specify LS-DYNA analysis type. |
ExportLSDynaKeywordFileParams.compute_spotweld_thickness |
Option to compute spot weld thickness using shell thickness when set to true. |
ExportLSDynaKeywordFileParams.database_keywords |
Database keywords in LS-DYNA format to be added to the file. |
ExportLSDynaKeywordFileParams.get_zone_mesh_results |
Option to collect and return zone-wise mesh information for elements in the exported model. |
ExportLSDynaKeywordFileParams.material_properties |
Materials in LS-DYNA format to be added to the file. |
ExportLSDynaKeywordFileParams.output_controls_d3_part |
Option to create D3Part card in output controls. |
ExportLSDynaKeywordFileParams.output_format |
Output file format used to write LS-DYNA file. |
ExportLSDynaKeywordFileParams.write_thickness_file |
Option to write a thickness file for spotweld fatigue analysis. |