


{"id":292398,"date":"2023-07-10T23:03:43","date_gmt":"2023-07-10T23:03:43","guid":{"rendered":"\/forum\/forums\/topic\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\/"},"modified":"2023-07-10T23:03:43","modified_gmt":"2023-07-10T23:03:43","slug":"failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\/","title":{"rendered":"Failed to move file from solver directory to scratch directory: file.rst"},"content":{"rendered":"<p>I am now writing a script to loop through different loading conditions and material conditions. For each iteration, I perform the static structural analysis and collect the deformation from some nodes of the mesh (the node IDs are pre-set). In the end, I write all of them into a .csv file. The problem now is the code <strong>only<\/strong> collects data from the <strong>first<\/strong> iteration since I open Ansys Mechanical. From then on, if I don&#8217;t reopen Ansys Mechanical, all the deformation collected is the same as the first iteration (for other conditions). Apart from the first iteration since I opened Ansys Mechnical, a warning like this popped up for every consecutive iteration: <em>Failed to move file from solver directory to scratch directory: file.rst<\/em>.&nbsp;<\/p>\n<p>For the most inside loop, my code looks like this:<\/p>\n<p><span style=\"font-size: 10pt\">for load in loading:<\/span><\/p>\n<p><span style=\"font-size: 10pt\">&nbsp; &nbsp; &nbsp; &nbsp; ####Change loading conditions (The location of loading)<\/span><br \/><span style=\"font-size: 10pt\">&nbsp; &nbsp; &nbsp; &nbsp; pressure = DataModel.GetObjectById(3778)&nbsp;<\/span><br \/><span style=\"font-size: 10pt\">&nbsp; &nbsp; &nbsp; &nbsp; selection = ExtAPI.SelectionManager.CreateSelectionInfo(SelectionTypeEnum.GeometryEntities)<\/span><br \/><span style=\"font-size: 10pt\">&nbsp; &nbsp; &nbsp; &nbsp; selection.Ids = [load]<\/span><br \/><span style=\"font-size: 10pt\">&nbsp; &nbsp; &nbsp; &nbsp; pressure_3778.Location = selection<\/span><\/p>\n<p><span style=\"font-size: 10pt\">&nbsp; &nbsp; &nbsp; &nbsp; <strong>####ClearGeneratedData and Resolve for new condition.<\/strong><\/span><\/p>\n<p><span style=\"font-size: 10pt\"><strong>&nbsp; &nbsp; &nbsp; &nbsp; ####I thought this step would solve the warning, but not really.<\/strong><\/span><br \/><span style=\"font-size: 10pt\">&nbsp; &nbsp; &nbsp; &nbsp; solution.ClearGeneratedData()<\/span><br \/><span style=\"font-size: 10pt\">&nbsp; &nbsp; &nbsp; &nbsp; solution.Solve()<\/span><\/p>\n<p><span style=\"font-size: 10pt\">&nbsp; &nbsp; &nbsp; &nbsp; ####Later will be data collection&#8230;<\/span><\/p>\n<p>May I ask if anyone ever encounters this? I searched for the warning message on the forum, but there was not much answer. Thanks!<\/p>\n<p>&nbsp;<\/p>\n<p>Best,<\/p>\n<p>Ted<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"template":"","class_list":["post-292398","topic","type-topic","status-closed","hentry","topic-tag-filerst-1","topic-tag-mechanical","topic-tag-script"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"I am now writing a script to loop through different loading conditions and material conditions. For each iteration, I perform the static structural analysis and collect the deformation from some nodes of the mesh (the node IDs are pre-set). In the end, I write all of them into a .csv file. The problem now is\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Failed to move file from solver directory to scratch directory: file.rst | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"I am now writing a script to loop through different loading conditions and material conditions. For each iteration, I perform the static structural analysis and collect the deformation from some nodes of the mesh (the node IDs are pre-set). In the end, I write all of them into a .csv file. The problem now is\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-07-10T23:03:43+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-07-10T23:03:43+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Failed to move file from solver directory to scratch directory: file.rst | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I am now writing a script to loop through different loading conditions and material conditions. For each iteration, I perform the static structural analysis and collect the deformation from some nodes of the mesh (the node IDs are pre-set). In the end, I write all of them into a .csv file. The problem now is\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/mechanical\\\/#listItem\",\"name\":\"mechanical\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/mechanical\\\/#listItem\",\"position\":3,\"name\":\"mechanical\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/mechanical\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\\\/#listItem\",\"name\":\"Failed to move file from solver directory to scratch directory: file.rst\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\\\/#listItem\",\"position\":4,\"name\":\"Failed to move file from solver directory to scratch directory: file.rst\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/mechanical\\\/#listItem\",\"name\":\"mechanical\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\\\/\",\"name\":\"Failed to move file from solver directory to scratch directory: file.rst | Ansys Learning Forum\",\"description\":\"I am now writing a script to loop through different loading conditions and material conditions. For each iteration, I perform the static structural analysis and collect the deformation from some nodes of the mesh (the node IDs are pre-set). In the end, I write all of them into a .csv file. The problem now is\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\\\/#breadcrumblist\"},\"datePublished\":\"2023-07-10T23:03:43+00:00\",\"dateModified\":\"2023-07-10T23:03:43+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Failed to move file from solver directory to scratch directory: file.rst | Ansys Learning Forum","description":"I am now writing a script to loop through different loading conditions and material conditions. For each iteration, I perform the static structural analysis and collect the deformation from some nodes of the mesh (the node IDs are pre-set). In the end, I write all of them into a .csv file. The problem now is","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/forum\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mechanical\/#listItem","name":"mechanical"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mechanical\/#listItem","position":3,"name":"mechanical","item":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mechanical\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\/#listItem","name":"Failed to move file from solver directory to scratch directory: file.rst"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\/#listItem","position":4,"name":"Failed to move file from solver directory to scratch directory: file.rst","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mechanical\/#listItem","name":"mechanical"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\/","name":"Failed to move file from solver directory to scratch directory: file.rst | Ansys Learning Forum","description":"I am now writing a script to loop through different loading conditions and material conditions. For each iteration, I perform the static structural analysis and collect the deformation from some nodes of the mesh (the node IDs are pre-set). In the end, I write all of them into a .csv file. The problem now is","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\/#breadcrumblist"},"datePublished":"2023-07-10T23:03:43+00:00","dateModified":"2023-07-10T23:03:43+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"Failed to move file from solver directory to scratch directory: file.rst | Ansys Learning Forum","og:description":"I am now writing a script to loop through different loading conditions and material conditions. For each iteration, I perform the static structural analysis and collect the deformation from some nodes of the mesh (the node IDs are pre-set). In the end, I write all of them into a .csv file. The problem now is","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\/","article:published_time":"2023-07-10T23:03:43+00:00","article:modified_time":"2023-07-10T23:03:43+00:00","twitter:card":"summary_large_image","twitter:title":"Failed to move file from solver directory to scratch directory: file.rst | Ansys Learning Forum","twitter:description":"I am now writing a script to loop through different loading conditions and material conditions. For each iteration, I perform the static structural analysis and collect the deformation from some nodes of the mesh (the node IDs are pre-set). In the end, I write all of them into a .csv file. The problem now is"},"aioseo_meta_data":{"post_id":"292398","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"content","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2024-10-28 17:59:52","updated":"2024-10-28 17:59:52","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mechanical\/\" title=\"mechanical\">mechanical<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tFailed to move file from solver directory to scratch directory: file.rst\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/forum\/topics\/"},{"label":"mechanical","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mechanical\/"},{"label":"Failed to move file from solver directory to scratch directory: file.rst","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/failed-to-move-file-from-solver-directory-to-scratch-directory-file-rst\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["3017","13386","254589","63948"],"_bbp_author_ip":["23.206.193.154"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["11920"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_notification_enabled":["404862","446160"],"_bbp_topic_id":["292398"],"_bbp_forum_id":["27791"],"_bbp_engagement":["3017","13386","63948","254589"],"_bbp_voice_count":["4"],"_bbp_reply_count":["5"],"_bbp_last_reply_id":["338348"],"_bbp_last_active_id":["338348"],"_bbp_last_active_time":["2023-12-13 08:39:44"]},"test":"sizhemandrew-cmu-edu"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/292398","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\/292398\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=292398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}