TAGGED: ansys-mechanical, drop, lsdyna, lsdyna-lstc-centos-linux
-
-
December 16, 2024 at 9:30 am752612542Subscriber
hi all,
When I use Mechanical for drop testing in Linux, I use pymechanical to read the geometry file:
mechanical = pymechanical.launch_mechanical(exec_file=workbench_path, verbose_mechanical=True, batch=True, loglevel="DEBUG", log_file=True, log_mechanical="pymechanical")Â
geo_import_format = Ansys.Mechanical.DataModel.Enums.GeometryImportPreference.Format.AutomaticÂ
geo_import_preferences = Ansys.ACT.Mechanical.Utilities.GeometryImportPreferences()
geo_import = Model.GeometryImportGroup.AddGeometryImport()
geo_import.Import("{geo_path:s}", geo_import_format, geo_import_preferences)
xxxxxx
dyna = Model.AddLSDynaAnalysis()
xxxxxxxx
However, I recently learned that directly importing the geometry file into Mechanical and then using LSDYNA is incorrect. Could you please tell me how to complete the drop test using a Python script?
-
December 16, 2024 at 9:49 am752612542Subscriber
On Windows, my process is as follows:
1. Open Mechanical.
2. Import the geometry file.
3. Then run the script, which uses dyna = Model.AddLSDynaAnalysis(), but this way I am unable to solve the problem.
Unless I follow these steps:
1. Open Workbench.
2. Open LSDYNA.
3. Import the geometry model.
4. Run the script, which allows for normal solving.
-
December 18, 2024 at 11:33 ammohan.ursAnsys Employee
Hey,
This forum is to discuss workbench LS Dyna and LS Dyna suite. If you need help with pyansys i suggest you look into Ansys Developer Portal | Ansys Developer Portal and forum for the same can be accessed here Home - Community Forum
Also try exploring these examples LS-Dyna analysis — pymechanical-examples and Ball plate — PyDYNA.Regards,
Mohan Urs
-
- You must be logged in to reply to this topic.
- LS-DYNA Installation Issues with Student Workbench 2024 R2
- Mathematical model generation stuck at 10%
- About combine different unconnected body into one part
- Cross-coupled stiffness elements in LS-DYNA
- LS-Dyna CESE SMP d vs MPP d solver
- CESE solver – Ignition mechanism
- Initial Stress Shell Application and HistVarCosine in LS-DYNA
- shape memory alloy material in LS-DYNA
- *** Error 40058 (SOL+58) retractor 1000002:convergence failure at time1.01E+02
- MAT072R3- concrete damage rel3 validation
-
1436
-
599
-
591
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.