{"id":171029,"date":"2023-06-05T07:05:33","date_gmt":"2023-06-05T07:05:33","guid":{"rendered":"\/knowledge\/forums\/topic\/to-save-disk-space-i-would-like-to-use-the-selected-variables-option-for-the-output-of-transient-result-files-trn-however-the-output-variables-list-does-not\/"},"modified":"2023-07-31T12:29:54","modified_gmt":"2023-07-31T12:29:54","slug":"to-save-disk-space-i-would-like-to-use-the-selected-variables-option-for-the-output-of-transient-result-files-trn-however-the-output-variables-list-does-not","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/to-save-disk-space-i-would-like-to-use-the-selected-variables-option-for-the-output-of-transient-result-files-trn-however-the-output-variables-list-does-not\/","title":{"rendered":"To save disk space, I would like to use the \u201cSelected Variables\u201d option for the output of transient result files (*.trn). However, the \u201cOutput Variables List\u201d does not contain all variables that I want to include in the data set. How can I include the missing variables in the \u201cSelected Variables\u201d data set?"},"content":{"rendered":"<p>1) For most variables, it is possible to simply add the variables that cannot be selected in the \u201cOutput Variables List\u201d GUI in the CCL of the \u201cOutput Control\u201d object.   To do this, right-click on \u201cOutput Control\u201d in the outline tree and select \u201cEdit in Command Editor\u201d. Then add the required variable name (e.g., VariableOriginallyNotListed) in the \u201cOutput Variables List\u201d option of the \u201cTransient Results\u201d object, see the following example:  FLOW: Flow Analysis 1   &#038;replace OUTPUT CONTROL:      RESULTS:        File Compression Level = Default       Option = Standard     END     TRANSIENT RESULTS: Transient Results 1       File Compression Level = Default       Include Mesh = No       Option = Selected Variables       Output Variables List = Absolute Pressure,Density, VariableOriginallyNotListed       OUTPUT FREQUENCY:          Option = Timestep Interval         Timestep Interval = 1       END     END   END END  This will produce an error in CFX-Pre, but in most cases the solver itself will not show any errors (if the variable names are correct and available in the simulation) and will produce the correct output. However, you should be aware that \u2013 just as any CCL that was added in CFX-Pre via the command editor and is not available through the GUI \u2013 the added variables will be removed again from the CCL setup when you edit the Output Control in the GUI afterwards.  To avoid this, simply copy the corresponding CCL-snippet for the additional variable output in a text file \u201cmyOutput.ccl\u201d and pass this file at solver start with the option -ccl myOutput.ccl.  2) Another possible workaround would be to create an Additional Variable of type \u201cunspecified\u201d and set it equal to the quantity that is missing in the Output Variables list. You can then output the Additional Variable instead (Additional Variables are always listed in the Output Variables list). However, this approach generates a certain memory overhead, which is avoided by approach #1).<\/p>\n","protected":false},"template":"","class_list":["post-171029","topic","type-topic","status-publish","hentry","topic-tag-17-2","topic-tag-cfx","topic-tag-fluid-dynamics","topic-tag-general-cfx","topic-tag-output-of-transient-result-files","topic-tag-selected-variables"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["2\/6\/2023 20:20"],"_bbp_forum_id":["27796"],"_bbp_author_ip":["209.182.204.162"],"_btv_view_count":["1414"],"siebel_km_number":["2046666"],"product_version":["17.2"],"km_published_date":["2017-01-26T00:00:00.000Z"],"family":["Fluid Dynamics"],"application_name":["CFX"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/171029","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\/171029\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=171029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}