EDEM-Fluent Coupling Error

2»

Answers

  • HaroldSoong
    HaroldSoong New Altair Community Member

    Hi, I have the same error. How do you solve this error?

  • Stephen Cole
    Stephen Cole
    Altair Employee

    Hi, which version of EDEM and Fluent are you using? For the coupling compiler which version of this do you have?

    Regards

    Stephen

  • brilliant
    brilliant Altair Community Member

    I'm having the same problem, I'm using FLUENT2024 and EDEM2024, VS2022.
    I have explored the situation a bit and will now recount some of my findings as follows, I first looked at the error where it was reported suggesting missing parameters, but the nearby lines where init_tracked_particle was called with 5 parameters and also with 6 parameters made me very confused and tried to find the relevant declarations for the init_tracked_particle function. particle function.
    Luckily, I managed to find it, the declaration is located in the dpm_mem.h file in the fluent/fluent24.2.0/src/dpm folder, about init_tracked_particle near line 234, as follows
    FLUENT_EXPORT Path_Status init_tracked_particle(
    Tracked_Particle *tp,
    Particle *p,
    cxboolean unsteady_tracking,
    cxboolean update, cxboolean need_cp, cxboolean need_cp
    cxboolean need_cphase, cxboolean is_tracking, cxboolean is_tracking
    cxboolean is_tracking_tp_P
    );
    I found that comparing it with the previous version pairs a parameter of type cxboolean is_tracking_tp_P, in the previous declaration there were only 5 parameters. So I tried to add parameters to the init_tracked_particle function on lines 53, 185, and 306, and the one I chose to add was TRUE, and my coupling proceeded successfully
    Here are some things I don't understand about what exactly this parameter means. What is the effect of me setting it to TRUE? What is the official recommended setting? I didn't find the parameter online, and with the help of ai, it tells me that this parameter indicates whether or not the particles in Tracked_Particle are being tracked. If TRUE, it means that the current operation is directly related to the Tracked_Particle, possibly initializing or updating a specific tracked particle.
    But I'm still not sure what effect this parameter will have on my coupling, and am rather confused as to how many other places use the init_tracked_particle function, many of which also just enter 5 parameters, why they don't report an error, and whether there is a default value for the 6th parameter for those that don't report an error? Is there a default value for the 6th parameter that is not reported? Do we need to add a specific parameter for it?
    I hope you guys can help me with this function and tell me how I can change the parameters of init_tracked_particle!

  • brilliant
    brilliant Altair Community Member

    I'm having the same problem, I'm using FLUENT2024 and EDEM2024, VS2022.
    I have explored the situation a bit and will now recount some of my findings as follows, I first looked at the error where it was reported suggesting missing parameters, but the nearby lines where init_tracked_particle was called with 5 parameters and also with 6 parameters made me very confused and tried to find the relevant declarations for the init_tracked_particle function. particle function.
    Luckily, I managed to find it, the declaration is located in the dpm_mem.h file in the fluent/fluent24.2.0/src/dpm folder, about init_tracked_particle near line 234, as follows
    FLUENT_EXPORT Path_Status init_tracked_particle(
    Tracked_Particle *tp,
    Particle *p,
    cxboolean unsteady_tracking,
    cxboolean update, cxboolean need_cp, cxboolean need_cp
    cxboolean need_cphase, cxboolean is_tracking, cxboolean is_tracking
    cxboolean is_tracking_tp_P
    );
    I found that comparing it with the previous version pairs a parameter of type cxboolean is_tracking_tp_P, in the previous declaration there were only 5 parameters. So I tried to add parameters to the init_tracked_particle function on lines 53, 185, and 306, and the one I chose to add was TRUE, and my coupling proceeded successfully
    Here are some things I don't understand about what exactly this parameter means. What is the effect of me setting it to TRUE? What is the official recommended setting? I didn't find the parameter online, and with the help of ai, it tells me that this parameter indicates whether or not the particles in Tracked_Particle are being tracked. If TRUE, it means that the current operation is directly related to the Tracked_Particle, possibly initializing or updating a specific tracked particle.
    But I'm still not sure what effect this parameter will have on my coupling, and am rather confused as to how many other places use the init_tracked_particle function, many of which also just enter 5 parameters, why they don't report an error, and whether there is a default value for the 6th parameter for those that don't report an error? Is there a default value for the 6th parameter that is not reported? Do we need to add a specific parameter for it?
    I hope you guys can help me with this function and tell me how I can change the parameters of init_tracked_particle!

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.