-
-
August 25, 2024 at 3:48 pm
s310413
SubscriberHi 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 am
Erik Kostson
Ansys EmployeeHi 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.
Innovation Space
Trending discussions
- LPBF Simulation of dissimilar materials in ANSYS mechanical (Thermal Transient)
- Convergence error in modal analysis
- APDL, memory, solid
- Meaning of the error
- How to model a bimodular material in Mechanical
- Simulate a fan on the end of shaft
- Nonlinear load cases combinations
- Real Life Example of a non-symmetric eigenvalue problem
- How can the results of Pressures and Motions for all elements be obtained?
- Contact stiffness too big
Top Contributors
-
4167
-
1487
-
1363
-
1194
-
1021
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.