{"id":164924,"date":"2023-03-17T08:58:59","date_gmt":"2023-03-17T08:58:59","guid":{"rendered":"\/knowledge\/forums\/topic\/during-the-simulation-run-fluent-creates-many-small-files-in-my-tmp-or-on-windows-tmp-directory-which-are-not-deleted-after-the-run-what-could-be-the-reason-for-this-and-how-can-i-prevent-the\/"},"modified":"2023-07-31T12:26:33","modified_gmt":"2023-07-31T12:26:33","slug":"during-the-simulation-run-fluent-creates-many-small-files-in-my-tmp-or-on-windows-tmp-directory-which-are-not-deleted-after-the-run-what-could-be-the-reason-for-this-and-how-can-i-prevent-the","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/during-the-simulation-run-fluent-creates-many-small-files-in-my-tmp-or-on-windows-tmp-directory-which-are-not-deleted-after-the-run-what-could-be-the-reason-for-this-and-how-can-i-prevent-the\/","title":{"rendered":"During the simulation run, Fluent creates many small files in my \/tmp (or &#8211; on Windows &#8211; %tmp%) directory which are not deleted after the run. What could be the reason for this and how can I prevent the creation of the files?"},"content":{"rendered":"<p>The reason for this could be that you use the scheme command &#8220;pick&#8221; to extract certain output of a text command somewhere in your setup.   Currently, every call of &#8220;pick&#8221; (or a related scheme command like &#8220;pick-hard&#8221;, &#8220;pick-robust&#8221;, &#8220;pick-a-real&#8221;, etc.) leads to the creation of a text file in the temporary directory of your system. The file might be empty or contain the output of the text command for which &#8220;pick&#8221; is called, depending on the specific version of &#8220;pick&#8221; you are using. The files are not cleaned up after the simulation run and thus could fill up the temp-directory after some time.  This behavior will be corrected in version 2019 R3. Meanwhile, if you need to use &#8220;pick&#8221; but want to get rid of the files that it creates, you can identify the pattern that is used for the files and include a system command which periodically removes the generated files using the &#8220;Execute Command&#8221; feature. On many Linux systems, the file name is &#8220;file??????&#8221;, where each ? stands for a random letter or digit, for example &#8220;fileA4cx9Z&#8221;. When you use the standard temporary directory \/tmp, then the command would look like this:  (system &#8220;rm -f \/tmp\/file??????&#8221;)  On Windows, the corresponding command for the same file name pattern would look like this: (system &#8220;del \/f %tmp%file??????&#8221;)  Please be aware that on some systems, the file names do not have the prefix &#8220;file&#8221;, but just consist of a number of random digits\/letters, so you would need to remove, e.g., &#8220;??????&#8221; instead which is quite risky &#8211; you might want to clean up the temporary directory manually in these cases instead of using the automatic removal procedure as described above.<\/p>\n","protected":false},"template":"","class_list":["post-164924","topic","type-topic","status-publish","hentry","topic-tag-19-2","topic-tag-fluent","topic-tag-fluid-dynamics","topic-tag-general-fluent"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["3-15-2023  20:20:05"],"_bbp_forum_id":["27796"],"_bbp_author_ip":["23.56.168.180"],"_btv_view_count":["817"],"siebel_km_number":["2057987"],"product_version":["19.2"],"km_published_date":["2019-01-15T00:00:00.000Z"],"family":["Fluid Dynamics"],"application_name":["FLUENT"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/164924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/164924\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=164924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}