{"id":184234,"date":"2024-12-16T23:43:49","date_gmt":"2024-12-16T23:43:49","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/knowledge\/?post_type=topic&#038;p=184234"},"modified":"2024-12-17T14:23:46","modified_gmt":"2024-12-17T14:23:46","slug":"5-faqs-about-ansys-rocky-customization-with-solver-sdk","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/5-faqs-about-ansys-rocky-customization-with-solver-sdk\/","title":{"rendered":"5 FAQs about Ansys Rocky\u2122 customization with Solver SDK"},"content":{"rendered":"<h2  id=\"1-WHAT-ARE-ANSYS-ROCKY-MODULES-AND-WHY-SHOULD-I-USE-THEM\">1. What are Ansys Rocky\u2122 modules and why should I use them?<\/h2>\n<p>Ansys Rocky\u2122 is developed with many built-in features, and modules are pieces of code that are built using the <strong>Solver SDK<\/strong> to apply novel models, laws or functionalities to Rocky simulations. By using your own custom modules, you can add specific features for your simulations at your own time.<\/p>\n<h2  id=\"2-WHAT-IS-ANSYS-ROCKY-SOLVER-SDK-AND-HOW-TO-GET-IT\">2. What is Ansys Rocky\u2122 Solver SDK, and how to get it?<\/h2>\n<p><strong>\u00a0<\/strong>Ansys Rocky\u2122 Solver SDK enables the development of custom modules for Rocky. The package includes the runtime libraries, simulation information and compilation mechanisms you need to create your own <strong>custom modules<\/strong>. To get it, you must access the <strong>SDK and Modules <\/strong>package on <a href=\"https:\/\/download.ansys.com\/Current%20Release?template=discovery\">Ansys Customer Portal<\/a>. In the Downloads page select the Release Version, Operational System and download the <strong>SDK and Modules Package<\/strong> in Add-On Packages section.<\/p>\n<p>To learn more about how to customize Rocky software and create your own modules access the<a href=\"https:\/\/developer.ansys.com\/docs\/rocky\"> Ansys Rocky Solver SDK Manual<\/a> on Ansys Developer Portal.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-184236 aligncenter\" src=\"https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/solver-sd-v1-300x160.png\" alt=\"\" width=\"632\" height=\"337\" srcset=\"https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/solver-sd-v1-300x160.png 300w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/solver-sd-v1-768x409.png 768w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/solver-sd-v1-24x13.png 24w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/solver-sd-v1-36x19.png 36w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/solver-sd-v1-48x26.png 48w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/solver-sd-v1.png 847w\" sizes=\"auto, (max-width: 632px) 100vw, 632px\" \/><\/p>\n<h2  id=\"3-HOW-DO-MODULES-INTERACT-WITH-ANSYS-ROCKY-SOLVER-SDK\">3. How do modules interact with Ansys Rocky\u2122 Solver SDK?<\/h2>\n<p>The modules developed with Ansys Rocky\u2122 Solver SDK are written using <a href=\"https:\/\/developer.ansys.com\/docs\/rocky\">CUDA platform (C\/C++ language) and Python<\/a>. These codes are designed to interact with specific parts of Ansys Rocky\u2122 solver, through hooks defined in the module.<\/p>\n<h2  id=\"4-HOW-DO-I-CREATE-MY-OWN-MODULE-USING-ANSYS-ROCKY-SOLVER-SDK\">4. How do I create my own module using Ansys Rocky\u2122 Solver SDK?<\/h2>\n<p>You can use the Integrated Development Environment (IDE) of your choice, such as Visual Studio Code (VSCode). Then, you can develop your code based on the examples mentioned in the <strong>FAQ 5<\/strong> below.<\/p>\n<p>For additional information about this process and how to compile\/execute your modules, access:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=UMM-63fl3Lk&amp;list=PL0lZXwHtV6Omiv62KRuPbnZ4oBK8BmDit&amp;index=14\">Ansys Rocky How-to Video: How To Create Custom Modules.<\/a><\/li>\n<\/ul>\n<ul>\n<li><strong>Solver SDK manual<\/strong> on <a href=\"https:\/\/developer.ansys.com\/docs\/rocky?template=discovery\">Rocky for developers | Ansys Developer Portal<\/a>, to find detailed information about available classes, methods and much more.<\/li>\n<li><a href=\"https:\/\/ansyshelp.ansys.com\/account\/secured?returnurl=\/Views\/Secured\/prod_page.html?pn=Rocky&amp;pid=rockydem&amp;lang=en\">Tutorial 23 &#8211; Solver SDK<\/a> that teaches you how to develop your own module from scratch.<\/li>\n<\/ul>\n<h2  id=\"5-WHERE-CAN-I-FIND-MODULES-PUBLISHED-BY-ANSYS\">5. Where can I find modules published by Ansys?<\/h2>\n<p>The modules published by Ansys are available at the <strong>SDK and Modules <\/strong>package on <a href=\"https:\/\/download.ansys.com\/Current%20Release?template=discovery\">Ansys Customer Portal<\/a>. In the Downloads page select the Release Version, Operational System and download the<strong> SDK and Modules Package<\/strong> in Add-On Packages section.<\/p>\n<p>They are divided into the following categories:<\/p>\n<ul>\n<li><strong>Ready-to-use: <\/strong>modules already compiled by Ansys experts, plug and play!<\/li>\n<li><strong>Source Codes:<\/strong>\n<ul>\n<li><strong>\u00a0Simple Modules: <\/strong>simple code examples with no real application, to help you develop your own models.<\/li>\n<li><strong>\u00a0Functional: <\/strong>modules that have been developed to extend Rocky capabilities in real-case scenarios.<\/li>\n<li><strong>\u00a0Current Models: <\/strong>modules that have the same behavior as existing functionalities present in Ansys Rocky\u2122 software.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Check the image below to view some modules published by Ansys within Ansys Rocky \u2122 software:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-184235 aligncenter\" src=\"https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/modules-rocky-300x290.png\" alt=\"\" width=\"308\" height=\"298\" srcset=\"https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/modules-rocky-300x290.png 300w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/modules-rocky-24x24.png 24w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/modules-rocky-36x36.png 36w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/modules-rocky-48x46.png 48w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/modules-rocky.png 381w\" sizes=\"auto, (max-width: 308px) 100vw, 308px\" \/><\/p>\n<p>To learn more about each one of the modules published by Ansys access the <a href=\"https:\/\/ansyshelp.ansys.com\/public\/account\/secured?returnurl=\/Views\/Secured\/prod_page.html?pn=Rocky&amp;pid=rockydem&amp;lang=en\">Ansys Rocky Module Manual<\/a>.<\/p>\n<h2  id=\"\"><\/h2>\n<p class=\"paragraph\" style=\"text-align: right\" align=\"right\"><span class=\"eop\"><span style=\"font-size: 16.0pt\">Ansys Rocky\u2122 particle dynamics simulation software <\/span><\/span><\/p>\n<p class=\"paragraph\" style=\"text-align: right\" xml:lang=\"EN-US\" align=\"right\"><span data-ccp-props=\"{\"><span class=\"eop\"><span style=\"font-size: 16.0pt\">Learn more about Ansys Rocky\u2122 software in <strong><a href=\"https:\/\/innovationspace.ansys.com\/ais-rocky\/\" data-wpel-link=\"external\">Ansys Rocky\u00a0 Innovation Space<\/a>.<\/strong><\/span><\/span><\/span><\/p>\n<p xml:lang=\"EN-US\" align=\"right\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-184243\" src=\"https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/Screenshot-2024-12-17-102706-300x146.png\" alt=\"\" width=\"352\" height=\"171\" srcset=\"https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/Screenshot-2024-12-17-102706-300x146.png 300w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/Screenshot-2024-12-17-102706-24x12.png 24w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/Screenshot-2024-12-17-102706-36x18.png 36w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/Screenshot-2024-12-17-102706-48x23.png 48w, https:\/\/innovationspace.ansys.com\/knowledge\/wp-content\/uploads\/sites\/4\/2024\/12\/Screenshot-2024-12-17-102706.png 567w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/p>\n<p xml:lang=\"EN-US\" align=\"right\">\n","protected":false},"template":"","class_list":["post-184234","topic","type-topic","status-publish","hentry","topic-tag-ansys-rocky","topic-tag-ansys-rocky-customization","topic-tag-ansys-rocky-solver-sdk","topic-tag-ansys-rocy-modules"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_edit_lock":["1734446689:17114"],"_edit_last":["17114"],"_oembed_c9741472a814545dd28c0c2b9b213088":["<iframe title=\"Ansys Rocky: How To Create Custom Modules\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/UMM-63fl3Lk?list=PL0lZXwHtV6Omiv62KRuPbnZ4oBK8BmDit\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>"],"_oembed_time_c9741472a814545dd28c0c2b9b213088":["1734392480"],"_aioseo_title":[null],"_aioseo_description":[null],"_aioseo_keywords":["a:0:{}"],"_aioseo_og_title":[null],"_aioseo_og_description":[null],"_aioseo_og_article_section":[""],"_aioseo_og_article_tags":["a:0:{}"],"_aioseo_twitter_title":[null],"_aioseo_twitter_description":[null],"application_name":[""],"_application_name":["field_64a80903c8e15"],"filter_by_optics_product":["Lumerical"],"_filter_by_optics_product":["field_64fb192ba3121"],"family":[""],"_family":["field_64a809229a857"],"siebel_km_number":[""],"_siebel_km_number":["field_63ecbffce60db"],"salesforce_km_number":[""],"_salesforce_km_number":["field_63ecc018e60dc"],"km_published_date":[""],"_km_published_date":["field_64c77704499dd"],"product_version":[""],"_product_version":["field_64c776cb4fd2e"],"_bbp_forum_id":["180025"],"_bbp_topic_id":["184244"],"_bbp_author_ip":["192.104.24.225"],"_bbp_last_reply_id":["0"],"_bbp_last_active_id":["184237"],"_bbp_last_active_time":["2024-12-16 23:43:49"],"_bbp_reply_count":["0"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["0"],"_btv_view_count":["1680"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/184234","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":7,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/184234\/revisions"}],"predecessor-version":[{"id":184244,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/184234\/revisions\/184244"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=184234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}