{"id":171208,"date":"2023-06-05T07:05:57","date_gmt":"2023-06-05T07:05:57","guid":{"rendered":"\/knowledge\/forums\/topic\/i-need-a-journal-file-for-my-simulation-and-it-works-well-when-i-run-fluent-in-foreground-however-when-i-try-to-start-it-in-background-mode-or-on-a-server-with-rsm-via-workbench-it-gives-me-an-erro\/"},"modified":"2023-07-31T12:35:16","modified_gmt":"2023-07-31T12:35:16","slug":"i-need-a-journal-file-for-my-simulation-and-it-works-well-when-i-run-fluent-in-foreground-however-when-i-try-to-start-it-in-background-mode-or-on-a-server-with-rsm-via-workbench-it-gives-me-an-erro","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/i-need-a-journal-file-for-my-simulation-and-it-works-well-when-i-run-fluent-in-foreground-however-when-i-try-to-start-it-in-background-mode-or-on-a-server-with-rsm-via-workbench-it-gives-me-an-erro\/","title":{"rendered":"I Need a Journal file for my Simulation and it works well when I run Fluent in foreground. However, when I try to start it in Background mode or on a Server with RSM via Workbench, it gives me an error saying that it is not possible to read two Journal files at once. How can avoid this error?"},"content":{"rendered":"<p>When a ANSYS FLUENT job is submitted to the Remote Solver Manager (RSM), RSM automatically generates a journal file, named \u201cSolutionPending.jou\u201d, including Scheme commands based on the run properties and runs the solver using this journal file. Thus, it is not allowed to directly run ANSYS FLUENT with your own journal file.  First of all we have to create a macro where the content of the journal could pasted. Here a small example:  (cx-macro-define &#8216;( (testmacro . &#8221; \/define\/boundary-conditions\/velocity-inlet inlet-y no no yes yes no 7.7 no 0. yes yes &#8220;TInFluent&#8221;&#8221; no no no yes 5. 0.88 &#8220;&#8221; ) ) ) Fluent will save the macros file as a scheme file.   Afterwards the scheme file containing the macros needs to be registered as startup scheme in the Workbench. This could be done by right clicking on the setup cell and choosing \u201cRegister Startup Scheme\u201d. After doing this step the macros are loaded automatically in Fluent.   Then you have to switch \u201cAutomatic Solution and Case Modification\u201d under \u201cCalculation Activities\u201c on. In the \u201cAutomatic Solution and Case Modification\u201d panel you can now edit the field \u201ccase Modification\u201d and write the name of the macro you want to use in the Setup under \u201cCommands\u201d and the number of iterations (steady) or timesteps (unsteady) Fluent would execute with the new settings. &#8220;<\/p>\n","protected":false},"template":"","class_list":["post-171208","topic","type-topic","status-publish","hentry","topic-tag-18-1","topic-tag-installation-licensing-systems","topic-tag-remote-solve","topic-tag-rsm","topic-tag-workbench-platform-sys"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["2\/6\/2023 20:20"],"_bbp_forum_id":["153867"],"_bbp_author_ip":["209.182.204.162"],"_btv_view_count":["1977"],"siebel_km_number":["2050625"],"product_version":["18.1"],"km_published_date":["2017-07-03T00:00:00.000Z"],"family":["Installation\/Licensing\/Systems"],"application_name":["Workbench Platform - SYS"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/171208","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\/171208\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=171208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}