Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

Cuda code custom module – cfd_particle_combustion CFD-DEM bugging

    • Te-Cheng Su
      Subscriber

      Recently, our research group are interesting on add more details to cfd_particle_combustion plugin implemented in Rocky 2023 R1 to consider an additional reaction involved during paticle combustion known as incomplete combustion. The reaction has the following shape: C+ 0.5O2 -> CO.

      Originally this plugin was designed to consider complete combustion reaction : C+ O2 -> CO2 using the reference reported by Smith 1982:  https://www.sciencedirect.com/science/article/abs/pii/S0082078482802816

      In order to use the incomplete combustion reaction, we modified CUDA code an phyton user interfase UI adding other model reported by Hayhurst 2000: https://www.sciencedirect.com/science/article/abs/pii/S0082078482802816

      However, after compile using x64 native tools visual studio prompt, when we are going to test on a simulation, the plugin has an error: C:\Program Files\ANSYS Inc\v231\Rocky\bin>echo off.

      How could we identify declaration variables mistake in cuda code modification?. On the other hand, phyton UI has some problems reading numeration of input variables :

      But UI looks different order:

      How could I improve data reading during coupling process to avoid problems during new plugin execution?

      If so, providing relevant examples or tutorials to facilitate a smoother rewrite of the CUDA code will greatly help us!

      Best regards

      Te-Cheng

    • Lucas Bertollo Baggio
      Ansys Employee

      Hello Te-Cheng, 

      great work you are doing!

       

      The declaration mistakes are about CUDA programming, and not Rocky-specific.

      You might access the Rocky Tutorial 23 (Rocky Menu | Help | Tutorial Workshops) and the Solver SDK Manual (Help | Solver SDK Manual) to help you know more about writing these codes. 

       

      For deeper information about this work, I'd suggest you opening a ticket for the support. 

       

      best regards,

      Lucas

       

Viewing 1 reply thread
  • The topic ‘Cuda code custom module – cfd_particle_combustion CFD-DEM bugging’ is closed to new replies.