{"id":178884,"date":"2023-08-25T12:15:35","date_gmt":"2023-08-25T12:15:35","guid":{"rendered":"\/knowledge\/forums\/topic\/how-i-can-choose-a-specific-license-feature-at-runtime-of-the-ansys-cfx-solver\/"},"modified":"2023-08-25T12:15:35","modified_gmt":"2023-08-25T12:15:35","slug":"how-i-can-choose-a-specific-license-feature-at-runtime-of-the-ansys-cfx-solver","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-i-can-choose-a-specific-license-feature-at-runtime-of-the-ansys-cfx-solver\/","title":{"rendered":"How I can choose a specific license feature at runtime of the ANSYS CFX solver?"},"content":{"rendered":"<p>ANSYS CFX has since ANSYS CFX 17.1 the start option     -lpf  user.preferences.xml  The referenced preference file is used instead of global preferences or default user preferences. You can see all start options with the command      cfx5solve -help  In principle it works like setting the environment variable ANSYS_LPF for ANSYS CFX solver runtime. This replaces the -p switch (worked until ANSYS CFX 12.1). It is not documented in the ANSYS CFX Manuals.   A sample License Preference File can be created with the User Preferences Dialogue:     Start->All Programs->ANSYS 18.1->ANSYS Client Licensing-> User License Preferences 18.1  If you change something like the default order, a file is stored always in the default locations     C:UsersusernameAppDataRoamingAnsysv181licensinglicense.preferences.xml or     $HOME\/.ansys\/v181\/licensing\/license.preferences.xml  You can copy this file to another place and adjust it. In the attachment you find two examples:     lpf_test1.xml uses always ANE3FL (ANSYS Multiphsics) and ANSHPC Licenses     lpf_test2.xml uses always ACFD_SOLVER und ANSHPC_PACK  Theoretically you could define a fallback license too, if the 1st license choice is not available.   Keywords: License Feature, License Increment, Solver Runtime, Choice<\/p>\n<p>Attachments:<br \/>\n1. <a href=https:\/\/ansys13.ansys.com\/KnowledgeArticles\/Phase-3\/2050968\/2050968.zip>2050968.zip<\/a><\/p>\n","protected":false},"template":"","class_list":["post-178884","topic","type-topic","status-publish","hentry","topic-tag-18-1","topic-tag-cfx","topic-tag-fluid-dynamics","topic-tag-general-cfx","topic-tag-license-preferences"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"siebel_km_number":["2050968"],"_bbp_last_active_time":["8\/25\/2023 20:20"],"_bbp_forum_id":["27796"],"_bbp_author_ip":["23.56.168.180"],"application_name":["CFX"],"family":["Fluid Dynamics"],"km_published_date":["2017-08-10T00:00:00.000Z"],"product_version":["18"],"_btv_view_count":["1214"]},"test":"solution"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/178884","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\/178884\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=178884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}