-
-
August 25, 2024 at 3:48 pms310413Subscriber
Hi everyone, I'm trying to automate a simulation and I need to write the input file (.dat) of a static structural analysis. In mechanical ACT console I tried with the command
ExtAPI.DataModel.Project.Model.Analyses[0].WriteInputFile('filename')
but I don't know if and where it is saving the .dat file. Does anyone know where the file is saved and eventually how can save it in a desired folder? Thanks
-
August 26, 2024 at 7:58 amErik KostsonAnsys Employee
Hi so in file name you give also the directory path so e.g. , say it is in D drive and folder called Test:
See here how it is done:
https://discuss.ansys.com/discussion/142/how-can-i-write-an-input-file-through-actAll the best
Erik
-
Viewing 1 reply thread
- The topic ‘Mechanical scripting’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- How to apply Compression-only Support?
- At least one body has been found to have only 1 element in at least 2 directions
- Error when opening saved Workbench project
- Geometric stiffness matrix for solid elements
- Script Error Code:800a000d
- Timestep range set for animation export
- Image to file in Mechanical is bugged and does not show text
- Elastic limit load, Elastic-plastic limit load
- Element has excessive thickness change, distortion, is turning inside out
Top Contributors
-
1727
-
624
-
599
-
591
-
366
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.