


{"id":304121,"date":"2023-08-30T13:22:06","date_gmt":"2023-08-30T13:22:06","guid":{"rendered":"\/forum\/forums\/topic\/import-sat-data-in-pyansys\/"},"modified":"2023-09-01T07:06:07","modified_gmt":"2023-09-01T07:06:07","slug":"import-sat-data-in-pyansys","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/import-sat-data-in-pyansys\/","title":{"rendered":"Import .sat Data in pyANSYS"},"content":{"rendered":"<p>Hello,&nbsp;<\/p>\n<p>I have a problem while importing a .sat file into pyANSYS by the following way:<\/p>\n<p>from ansys.mapdl.core import launch_mapdl<br \/>mapdl = launch_mapdl()<\/p>\n<p>from ansys.mapdl.core import examples<\/p>\n<p># note that this method just returns a file path<br \/>bearing_file = &#8220;C:\/Users\/HertingerT\/Desktop\/Gestufte Lagerung\/33213.sat&#8221;<\/p>\n<p>mapdl.aux15()<\/p>\n<p>mapdl.satin(name=&#8221;bearing&#8221;, extension=&#8221;.sat&#8221; ,path=bearing_file, entity=&#8221;ALL&#8221;, fmt=&#8221;1&#8243;)<br \/>print(mapdl.geometry)<br \/>mapdl.vplot(vtk=True)<\/p>\n<p>mapdl.exit()<\/p>\n<p>Is there a general problem with the code or is that related to the .sat file?<\/p>\n<p>Here is the output in pyANSYS:<\/p>\n<p>MAPDL Selected Geometry<br \/>Keypoints: &nbsp;0<br \/>Lines: &nbsp; &nbsp; &nbsp;0<br \/>Areas: &nbsp; &nbsp; &nbsp;0<br \/>Volumes: &nbsp; &nbsp;0<\/p>\n<p>Thank you,<\/p>\n<p>Tim<\/p>\n","protected":false},"template":"","class_list":["post-304121","topic","type-topic","status-closed","hentry","topic-tag-ansys-apdl","topic-tag-ansys-mapdl-1","topic-tag-ansys-mechanical-apdl","topic-tag-cad-import","topic-tag-pyansys-1","topic-tag-PyMAPDL-1"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["255882","58821"],"_bbp_author_ip":["23.206.193.146"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["436"],"_bbp_status":["publish"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["304121"],"_bbp_forum_id":["27791"],"_bbp_engagement":["58821","255882"],"_bbp_voice_count":["2"],"_bbp_reply_count":["3"],"_bbp_last_reply_id":["304260"],"_bbp_last_active_id":["304260"],"_bbp_last_active_time":["2023-08-31 06:51:39"]},"test":"tim-hertingersafholland-de"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/304121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/304121\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=304121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}