TAGGED: ansys-mechanical, drop-test-simulation, lsdyna
-
-
December 18, 2024 at 8:18 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?
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:34 ammohan.ursAnsys Employee
Hey,
This is a duplicate post of how to run drop using pymechanical. So i will be closing this discussion. Please refrain from creating duplicates of same discussions. You can check the answer to your query from the same link.
Regards,
Mohan Urs
-
- The topic ‘how to run drop using pymechanical’ is closed to new replies.
- 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.