TAGGED: ansys-apdl, ansys-mapdl, ansys-mechanical-apdl, cad-import, pyansys, PyMAPDL
-
-
August 30, 2023 at 1:22 pm
tim.hertinger
SubscriberHello,
I have a problem while importing a .sat file into pyANSYS by the following way:
from ansys.mapdl.core import launch_mapdl
mapdl = launch_mapdl()from ansys.mapdl.core import examples
# note that this method just returns a file path
bearing_file = "C:/Users/HertingerT/Desktop/Gestufte Lagerung/33213.sat"mapdl.aux15()
mapdl.satin(name="bearing", extension=".sat" ,path=bearing_file, entity="ALL", fmt="1")
print(mapdl.geometry)
mapdl.vplot(vtk=True)mapdl.exit()
Is there a general problem with the code or is that related to the .sat file?
Here is the output in pyANSYS:
MAPDL Selected Geometry
Keypoints: 0
Lines: 0
Areas: 0
Volumes: 0Thank you,
Tim
-
August 30, 2023 at 2:24 pm
Erik Kostson
Ansys EmployeeHi
Can you post this in the pymapdl forum below as this might be a limitation or issue.https://github.com/ansys/pymapdl/issues
Erik
-
August 31, 2023 at 5:10 am
tim.hertinger
SubscriberHi Erik,
thanks for your reply.
I´ve also tried to remove the whitespace in the folder directory but that doesn´t help to solve the problem.
I will post that issue in the pymapdl forum as well.
BG
Tim
-
August 31, 2023 at 6:51 am
Erik Kostson
Ansys EmployeeHi
There is a post there from our team with some suggestions on how to use the command (so ‘file’ can not have the .sat extension in it) https://github.com/ansys/pymapdl/issues/2285
Use the below code that works:
filepath = ‘C:\\Users\\HertingerT\\Desktop\\GestufteLagerung’
file = ‘33213’ # no .sat extension here!#### Launch pymapdl
mapdl = launch_mapdl(run_location= here,override=True)
mapdl.aux15()
mapdl.satin(name = file , extension = ‘sat’, path = filepath, entity = ‘ALL’, noan = 0)
mapdl.allsel()
mapdl.vplot()mapdl.exit()
-
- The topic ‘Import .sat Data in pyANSYS’ is closed to new replies.
- The legend values are not changing.
- LPBF Simulation of dissimilar materials in ANSYS mechanical (Thermal Transient)
- Convergence error in modal analysis
- APDL, memory, solid
- How to model a bimodular material in Mechanical
- Meaning of the error
- 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?
-
3887
-
1414
-
1241
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.