Particle Heat Generation?

Clemens Lischka_21336
Clemens Lischka_21336 Altair Community Member
edited April 25 in Community Q&A

Hi all,

i need to simulate the heat generation of particles due to friction. I see that we can model the heat conduction from geometry to particles and from particles to particles but how can i set the particles themselves as a custom heat source, preferrably as a CUDA model?

Thanks!

Tagged:

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited April 23

    Hi Clemens,

    A custom model would have to be written to generate the heat, so this depends on the method used to generate the particle temperature, would this be friction based?

    From this however we should just have to create or update the Heat Flux custom property.  EDEM has the in-built contact models for heat transfer and these calculate the heat flux based on the relative temperatures of the contacting elements.  The heat flux is then used by the Particle Body Force 'temperature update' model to modify the temperature.  So if we want to influence the temperature just adding to the heat flux property and then using the in-built models should be OK.

    The Heat Flux custom property has to have the following properties:

     

       const std::string CHeatConduction::HEAT_FLUX = "Heat Flux";   if (eParticle == category &&         0 == propertyIndex)     {         strncpy(name, HEAT_FLUX.c_str(), NApi::CUSTOM_PROP_MAX_NAME_LENGTH);         dataType = eDouble;         numberOfElements = 2;         unitType = eHeatFlux;         return true;     }

    Heat Flux has 2 elements.  The first is for heat flux coming from EDEM and the second is for any couplings, so we can identify any heat coming from AcuSolve or similar.

    Regards

    Stephen

  • Clemens Lischka_21336
    Clemens Lischka_21336 Altair Community Member
    edited April 23

    Hi Clemens,

    A custom model would have to be written to generate the heat, so this depends on the method used to generate the particle temperature, would this be friction based?

    From this however we should just have to create or update the Heat Flux custom property.  EDEM has the in-built contact models for heat transfer and these calculate the heat flux based on the relative temperatures of the contacting elements.  The heat flux is then used by the Particle Body Force 'temperature update' model to modify the temperature.  So if we want to influence the temperature just adding to the heat flux property and then using the in-built models should be OK.

    The Heat Flux custom property has to have the following properties:

     

       const std::string CHeatConduction::HEAT_FLUX = "Heat Flux";   if (eParticle == category &&         0 == propertyIndex)     {         strncpy(name, HEAT_FLUX.c_str(), NApi::CUSTOM_PROP_MAX_NAME_LENGTH);         dataType = eDouble;         numberOfElements = 2;         unitType = eHeatFlux;         return true;     }

    Heat Flux has 2 elements.  The first is for heat flux coming from EDEM and the second is for any couplings, so we can identify any heat coming from AcuSolve or similar.

    Regards

    Stephen

    Thank you Stephen, sounds promising! Yes, heat generation would be depending on friction. Maybe using the " unsymmetrical normal force" in CApiContactResults could be used for this. Can this heat Heat-Flux update be done for CUDA also?

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited April 25

    Thank you Stephen, sounds promising! Yes, heat generation would be depending on friction. Maybe using the " unsymmetrical normal force" in CApiContactResults could be used for this. Can this heat Heat-Flux update be done for CUDA also?

    Hi Clemens,

    There should be no problem with the GPU-CUDA code, so long as we use the latest version of the CPU API it can then be converted to GPU.


    Regards

    Stephen