EDEM-Fluent Coupling Error

Jon_21392
Jon_21392 Altair Community Member
edited October 16 in Community Q&A

Hi, 

I am having issues with the EDEM-Fluent coupling; when I read the journal file in Fluent I get the error: Error at host: Error code 126. 

I am using EDEM 2021.0 and Fluent 2021 R1 with version 2.3.1 of the coupling. 

I have tried the coupling on multiple computers with multiple versions of EDEM/Fluent (compiling for each combination) and get the same error on all but one that is running EDEM 2021.0 and Fluent 2020 R2.

Any ideas on how to fix this would be much appreciated. 

Thanks. 

 

Tagged:

Best Answer

  • jerrinjobs
    jerrinjobs
    Altair Employee
    edited April 11 Answer ✓

    Hi Tony

    Please try running Fluent as an admin, and that could resolve the issue.

    Thanks,
    Jerrin Job

«1

Answers

  • RWood
    RWood
    Altair Employee
    edited September 2021

    Hi Jon,

    The Fluent coupling is version specific. You will need to compile the UDF library for each EDEM-Fluent pairing. It sounds like you have compiled it successfully for EDEM 2021.0 and Fluent 2020.2, but that is the only pairing for which that UDF will work. If you repeat the steps for compilation for EDEM 2021.0 and Fluent 2021 R1, then you should be able to load the library. 

    EDEM 2021.2 is due for release shortly and I'll be uploading a newer version of this compiler shortly. However, for now I would stick with Fluent 2021 R1 if you intend to couple with EDEM, as I had issues during testing when coupling with Fluent 2021 R2 (Ansys are looking into it).

    Cheers,

    Richard

  • Jon_21392
    Jon_21392 Altair Community Member
    edited September 2021

    Hi Richard, 


    Thanks for the reply. 

    I know that it is version specific and I have been compiling for each specific version on the specific computer being used which is what I meant by saying compiling for each combination. 

    Is there any other reasons that you think could be causing this? 

    Cheers,

    Jon 

  • RWood
    RWood
    Altair Employee
    edited September 2021

    None that I can think of. I've only ever seen the error 126 when loading in the wrong coupling version. 

    Since the coupling folder names will be the same (lib_udf_coupling) and it can be easy to confuse which is which, if you go to:

    lib_edem_coupling\win64\<any folder>\makefile

    somewhere around line 50 of that file you will see the Fluent version that the dll is compiled for. Might be worth checking you're definitely loading the correct version. 

    Richard 

  • Jon_21392
    Jon_21392 Altair Community Member
    edited September 2021

    Thanks Richard, that is a great tip. 

    I can confirm it is compiled for the correct version: 

    image

    I will keep trying and see if I can figure it. 

    Cheers, 

    Jon 

  • RWood
    RWood
    Altair Employee
    edited September 2021

    The only other thing that springs to mind, are you setting the Fluent working directory to where the correct UDF library is? 

    Richard

  • Jon_21392
    Jon_21392 Altair Community Member
    edited September 2021

    Yes, everything is in the same working directory. 

  • RWood
    RWood
    Altair Employee
    edited September 2021

    If your EDEM and Fluent install paths are the default ones, you can attach your lib_edem_coupling folder here and I can see if I can load it correctly at my end. That'll at least rule out whether it's the dll that's the issue or if it's pathing related with Fluent. 

    Richard

  • Lv Longfei
    Lv Longfei Altair Community Member
    edited October 2021

    I think you should add the installation path of edem to the environment variable, path =.. /.. / lib/ bin

  • RWood
    RWood
    Altair Employee
    edited October 2021

    Ah yes, I'm forgetting about the change with the Altair installers. We no longer add the /bin and /lib folders to the system path by default anymore. As Lv mentions above, you need to add your versions of the following:

    C:\Program Files\Altair\2021.2\EDEM2021.2\bin
    C:\Program Files\Altair\2021.2\EDEM2021.2\lib

    to your system path.

    Richard

  • Jon_21392
    Jon_21392 Altair Community Member
    edited October 2021

    Thanks Lv Longfei and Richard, that has fixed the problem. 

    Cheers, 
    Jon 

  • Jani-Petteri Jylhä
    Jani-Petteri Jylhä Altair Community Member
    edited November 2021

    Hi Jon,

    The Fluent coupling is version specific. You will need to compile the UDF library for each EDEM-Fluent pairing. It sounds like you have compiled it successfully for EDEM 2021.0 and Fluent 2020.2, but that is the only pairing for which that UDF will work. If you repeat the steps for compilation for EDEM 2021.0 and Fluent 2021 R1, then you should be able to load the library. 

    EDEM 2021.2 is due for release shortly and I'll be uploading a newer version of this compiler shortly. However, for now I would stick with Fluent 2021 R1 if you intend to couple with EDEM, as I had issues during testing when coupling with Fluent 2021 R2 (Ansys are looking into it).

    Cheers,

    Richard

    Hi,

    What is the current situation with Fluent 2021 R2 and the coupling?

    I have already updated both software and compiled a new coupling. I got the same error code and found this thread. I checked that it was compiled to the right version and added the environment variables to path before trying again. Still got the error. Is there any other workaround besides downgrading Fluent?

     

    BR,

    Jani

  • RWood
    RWood
    Altair Employee
    edited November 2021

    Hi,

    What is the current situation with Fluent 2021 R2 and the coupling?

    I have already updated both software and compiled a new coupling. I got the same error code and found this thread. I checked that it was compiled to the right version and added the environment variables to path before trying again. Still got the error. Is there any other workaround besides downgrading Fluent?

     

    BR,

    Jani

    Hi Jani,

    I have an updated build from Ansys but I haven't tested it yet and so it's not ready to be uploaded.

    I don't currently have access to Fluent (short term issue) but I thought the issue with Fluent 2021 R2 was a different issue to that listed here. The error 126 usually relates to the path of the EDEM \lib folder or compiling the wrong version (as noted in the other comments). 

    Unfortunately, until I've had chance to take a look at this latest version and update the compiler, the only option is to roll back to an earlier Fluent version.

    Cheers,

    Richard



  • Nainul Mishra_22130
    Nainul Mishra_22130 New Altair Community Member
    edited March 2023

    Thank you providing the solutions. It is accurate and very helpful.

  • satri
    satri Altair Community Member
    edited November 2023

    Hey I keep getting this error when i try this, i have included those environment variables to the path as well. I went to src file and took all the udfs of ansys

    D:\AltairEDEM\biDirCoupling\EDEM_Fluent_e-learning\EDEM_Fluent_e-learning\lib_edem_coupling\win64\3ddp_host

     

    and compiled then too but it does not work i keep getting error of this model not compiled for parallel use. I don't know how to proceed. can someone please suggest me a way to move forward?

  • Tony Arthur
    Tony Arthur Altair Community Member
    edited February 15

    hello please,

    i keep getting this error (

    unbound variable

    Error Object: %edem-is-connected?)

    and I have applied all the fixes in the earlier comments but it does not work for me.

  • RWood
    RWood
    Altair Employee
    edited February 16

    hello please,

    i keep getting this error (

    unbound variable

    Error Object: %edem-is-connected?)

    and I have applied all the fixes in the earlier comments but it does not work for me.

    What versions of EDEM & Fluent are you using? And what version of the coupling?

  • Tony Arthur
    Tony Arthur Altair Community Member
    edited February 16

    What versions of EDEM & Fluent are you using? And what version of the coupling?

    I am using Ansys 2023R1 and EDEM 2023.1

    I am using the latest coupling compiler

  • jerrinjobs
    jerrinjobs
    Altair Employee
    edited April 11 Answer ✓

    Hi Tony

    Please try running Fluent as an admin, and that could resolve the issue.

    Thanks,
    Jerrin Job

  • Okapi
    Okapi New Altair Community Member
    edited May 6

    Hello,

    I am trying to couple Edem 2022.1 and Fluent 2023. But I am still getting the following error message after the compilation. What can be the cause of this error? When changing to Edem 2023.1 the same error message appear:

    **********************************************************************
    ** Visual Studio 2022 Developer Command Prompt v17.9.6
    ** Copyright (c) 2022 Microsoft Corporation
    **********************************************************************
    [vcvarsall.bat] Environment initialized for: 'x64'
    Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
    Copyright (C) Microsoft Corporation.  All rights reserved.

    AdaptorInterface.cpp
    Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
    Copyright (C) Microsoft Corporation.  All rights reserved.

    CAdaptorQuaternion.cpp
    Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
    Copyright (C) Microsoft Corporation.  All rights reserved.

    CCellAndThreadData.cpp
    Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
    Copyright (C) Microsoft Corporation.  All rights reserved.

    CFluentParticleData.cpp
    Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
    Copyright (C) Microsoft Corporation.  All rights reserved.

    CParticleData.cpp


    =================
    Error Detected
    =================

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\src\main\config.h(122): error C2143: syntax error: missing '{' before ':'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\src\main\config.h(122): error C2059: syntax error: ':'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\cortex\src\dll.h(87): error C2061: syntax error: identifier 'CX_DLL_GetProc'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\cortex\src\dll.h(87): error C2059: syntax error: ';'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\cortex\src\dll.h(87): error C2059: syntax error: '<parameter-list>'

    ..\..\src\edem_coupling.c(1486): error C2198: 'Reset_Sampled_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1505): error C2198: 'Average_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1506): error C2198: 'Cleanup_Node_Averages': too few arguments for call

    ..\..\src\compute_particle_heat_flux.c(49): error C2065: 'RANZ_MARSHALL': undeclared identifier

    ..\..\src\edem_coupling.c(1486): error C2198: 'Reset_Sampled_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1505): error C2198: 'Average_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1506): error C2198: 'Cleanup_Node_Averages': too few arguments for call

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\src\main\config.h(122): error C2143: syntax error: missing '{' before ':'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\src\main\config.h(122): error C2059: syntax error: ':'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\cortex\src\dll.h(87): error C2061: syntax error: identifier 'CX_DLL_GetProc'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\cortex\src\dll.h(87): error C2059: syntax error: ';'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\cortex\src\dll.h(87): error C2059: syntax error: '<parameter-list>'

    ..\..\src\edem_coupling.c(1486): error C2198: 'Reset_Sampled_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1505): error C2198: 'Average_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1506): error C2198: 'Cleanup_Node_Averages': too few arguments for call

    ..\..\src\compute_particle_heat_flux.c(49): error C2065: 'RANZ_MARSHALL': undeclared identifier

    ..\..\src\edem_coupling.c(1486): error C2198: 'Reset_Sampled_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1505): error C2198: 'Average_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1506): error C2198: 'Cleanup_Node_Averages': too few arguments for call


     Press Enter to continue...

     

    Please help me

    Thanks

  • jerrinjobs
    jerrinjobs
    Altair Employee
    edited May 6
    Okapi said:

    Hello,

    I am trying to couple Edem 2022.1 and Fluent 2023. But I am still getting the following error message after the compilation. What can be the cause of this error? When changing to Edem 2023.1 the same error message appear:

    **********************************************************************
    ** Visual Studio 2022 Developer Command Prompt v17.9.6
    ** Copyright (c) 2022 Microsoft Corporation
    **********************************************************************
    [vcvarsall.bat] Environment initialized for: 'x64'
    Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
    Copyright (C) Microsoft Corporation.  All rights reserved.

    AdaptorInterface.cpp
    Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
    Copyright (C) Microsoft Corporation.  All rights reserved.

    CAdaptorQuaternion.cpp
    Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
    Copyright (C) Microsoft Corporation.  All rights reserved.

    CCellAndThreadData.cpp
    Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
    Copyright (C) Microsoft Corporation.  All rights reserved.

    CFluentParticleData.cpp
    Microsoft (R) C/C++ Optimizing Compiler Version 19.39.33523 for x64
    Copyright (C) Microsoft Corporation.  All rights reserved.

    CParticleData.cpp


    =================
    Error Detected
    =================

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\src\main\config.h(122): error C2143: syntax error: missing '{' before ':'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\src\main\config.h(122): error C2059: syntax error: ':'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\cortex\src\dll.h(87): error C2061: syntax error: identifier 'CX_DLL_GetProc'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\cortex\src\dll.h(87): error C2059: syntax error: ';'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\cortex\src\dll.h(87): error C2059: syntax error: '<parameter-list>'

    ..\..\src\edem_coupling.c(1486): error C2198: 'Reset_Sampled_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1505): error C2198: 'Average_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1506): error C2198: 'Cleanup_Node_Averages': too few arguments for call

    ..\..\src\compute_particle_heat_flux.c(49): error C2065: 'RANZ_MARSHALL': undeclared identifier

    ..\..\src\edem_coupling.c(1486): error C2198: 'Reset_Sampled_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1505): error C2198: 'Average_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1506): error C2198: 'Cleanup_Node_Averages': too few arguments for call

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\src\main\config.h(122): error C2143: syntax error: missing '{' before ':'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\src\main\config.h(122): error C2059: syntax error: ':'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\cortex\src\dll.h(87): error C2061: syntax error: identifier 'CX_DLL_GetProc'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\cortex\src\dll.h(87): error C2059: syntax error: ';'

    C:\Program Files\ANSYS Inc\v231\fluent\fluent23.1.0\cortex\src\dll.h(87): error C2059: syntax error: '<parameter-list>'

    ..\..\src\edem_coupling.c(1486): error C2198: 'Reset_Sampled_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1505): error C2198: 'Average_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1506): error C2198: 'Cleanup_Node_Averages': too few arguments for call

    ..\..\src\compute_particle_heat_flux.c(49): error C2065: 'RANZ_MARSHALL': undeclared identifier

    ..\..\src\edem_coupling.c(1486): error C2198: 'Reset_Sampled_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1505): error C2198: 'Average_Distributions': too few arguments for call

    ..\..\src\edem_coupling.c(1506): error C2198: 'Cleanup_Node_Averages': too few arguments for call


     Press Enter to continue...

     

    Please help me

    Thanks

    Hi Okapi

    Could you try running the compilation GUI as an admin? Did you try any other Fluent versions?

    Thanks.
    Jerrin Job

  • Horacio Andrés Petit
    Horacio Andrés Petit Altair Community Member
    edited August 30

    Hi there:

     

    I am trying to build the coupling between EDEM 2022.2 and Fluent 2024 R1 using the latest version of the builder using MSVS 2022 community. 

     

    I am getting this errors:

     

    AdaptorInterface.cpp
    .\src\AdaptorInterface.cpp(26): fatal error C1083: Não é possível abrir arquivo incluir: 'CFluentParticleData.h': No such file or directory
    Microsoft (R) C/C++ Optimizing Compiler Versão 19.41.34120 para x64
    Copyright (C) Microsoft Corporation. Todos os direitos reservados.

    CAdaptorQuaternion.cpp
    Microsoft (R) C/C++ Optimizing Compiler Versão 19.41.34120 para x64
    Copyright (C) Microsoft Corporation. Todos os direitos reservados.

    CCellAndThreadData.cpp
    .\src\CCellAndThreadData.cpp(20): fatal error C1083: Não é possível abrir arquivo incluir: 'CCellAndThreadData.h': No such file or directory
    Microsoft (R) C/C++ Optimizing Compiler Versão 19.41.34120 para x64
    Copyright (C) Microsoft Corporation. Todos os direitos reservados.

    CFluentParticleData.cpp
    c1xx: fatal error C1083: Não é possível abrir arquivo fonte: '.\src\CFluentParticleData.cpp': No such file or directory
    Microsoft (R) C/C++ Optimizing Compiler Versão 19.41.34120 para x64
    Copyright (C) Microsoft Corporation. Todos os direitos reservados.

     

    Seems that some files are missing. Can you help me??

    Cheers!

  • jerrinjobs
    jerrinjobs
    Altair Employee
    edited August 30

    Hi there:

     

    I am trying to build the coupling between EDEM 2022.2 and Fluent 2024 R1 using the latest version of the builder using MSVS 2022 community. 

     

    I am getting this errors:

     

    AdaptorInterface.cpp
    .\src\AdaptorInterface.cpp(26): fatal error C1083: Não é possível abrir arquivo incluir: 'CFluentParticleData.h': No such file or directory
    Microsoft (R) C/C++ Optimizing Compiler Versão 19.41.34120 para x64
    Copyright (C) Microsoft Corporation. Todos os direitos reservados.

    CAdaptorQuaternion.cpp
    Microsoft (R) C/C++ Optimizing Compiler Versão 19.41.34120 para x64
    Copyright (C) Microsoft Corporation. Todos os direitos reservados.

    CCellAndThreadData.cpp
    .\src\CCellAndThreadData.cpp(20): fatal error C1083: Não é possível abrir arquivo incluir: 'CCellAndThreadData.h': No such file or directory
    Microsoft (R) C/C++ Optimizing Compiler Versão 19.41.34120 para x64
    Copyright (C) Microsoft Corporation. Todos os direitos reservados.

    CFluentParticleData.cpp
    c1xx: fatal error C1083: Não é possível abrir arquivo fonte: '.\src\CFluentParticleData.cpp': No such file or directory
    Microsoft (R) C/C++ Optimizing Compiler Versão 19.41.34120 para x64
    Copyright (C) Microsoft Corporation. Todos os direitos reservados.

     

    Seems that some files are missing. Can you help me??

    Cheers!

    Hi Horacio

    Please make sure that the .tar file has been extracted properly before running the compilation GUI. Specifically, please make sure that you have 12 files in ..../edem_coupling_build/edem_cfd_adaptor_build/src/

    Also, please check if there are any permission issues with reading and/or writing files in the directory in which the files have been extracted.

    Hope this helps.

    Thanks,
    Jerrin Job

  • Horacio Andrés Petit
    Horacio Andrés Petit Altair Community Member
    edited August 31

    Hi Horacio

    Please make sure that the .tar file has been extracted properly before running the compilation GUI. Specifically, please make sure that you have 12 files in ..../edem_coupling_build/edem_cfd_adaptor_build/src/

    Also, please check if there are any permission issues with reading and/or writing files in the directory in which the files have been extracted.

    Hope this helps.

    Thanks,
    Jerrin Job

    I've again downloaded the adaptor. Yes some files were missing. But now I am having the following errors:

     

    ..\..\src\compute_particle_forces.c(53): error C2198: 'init_tracked_particle': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(185): error C2198: 'init_tracked_particle': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(306): error C2198: 'init_tracked_particle': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(53): error C2198: 'init_tracked_particle': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(185): error C2198: 'init_tracked_particle': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(306): error C2198: 'init_tracked_particle': poucos argumentos para chamada

  • jerrinjobs
    jerrinjobs
    Altair Employee
    edited September 3

    I've again downloaded the adaptor. Yes some files were missing. But now I am having the following errors:

     

    ..\..\src\compute_particle_forces.c(53): error C2198: 'init_tracked_particle': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(185): error C2198: 'init_tracked_particle': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(306): error C2198: 'init_tracked_particle': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(53): error C2198: 'init_tracked_particle': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(185): error C2198: 'init_tracked_particle': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(306): error C2198: 'init_tracked_particle': poucos argumentos para chamada

    Hi Horacio

    Are you using this link to download the coupling: https://community.altair.com/community/en/altair-edem-coupling-for-ansys-fluent-with-combustion?id=kb_article&sysparm_article=KB0117663

    There are multiple links, so I wanted to make sure you had the correct one.

    Hope this helps.

    Thanks,
    Jerrin Job

  • Horacio Andrés Petit
    Horacio Andrés Petit Altair Community Member
    edited September 9

    Hi Horacio

    Are you using this link to download the coupling: https://community.altair.com/community/en/altair-edem-coupling-for-ansys-fluent-with-combustion?id=kb_article&sysparm_article=KB0117663

    There are multiple links, so I wanted to make sure you had the correct one.

    Hope this helps.

    Thanks,
    Jerrin Job

    Hi There:

    Downloaded the builder using the passed link.

    Still having these errors when trying to coupled EDEM 2022.2 with Fluent 2024R2 with VS2022.

     

    CParticleData.cpp


    =================
    Error Detected
    =================

    ..\..\src\compute_particle_forces.c(53): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(185): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(306): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(53): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(185): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(306): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

  • RWood
    RWood
    Altair Employee
    edited September 9

    Hi There:

    Downloaded the builder using the passed link.

    Still having these errors when trying to coupled EDEM 2022.2 with Fluent 2024R2 with VS2022.

     

    CParticleData.cpp


    =================
    Error Detected
    =================

    ..\..\src\compute_particle_forces.c(53): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(185): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(306): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(53): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(185): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(306): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    Hi,

    This hasn't been tested / updated to work with Fluent 2024 R2 yet. I'd go back to Fluent 2024 R1 which I know is working as I'm using it on both my Windows and Linux machines for some other updates.

    Richard

  • Elimaes12
    Elimaes12 Altair Community Member
    edited October 11

    Hi!

     

    Had this issue as well, and adding edem lib and bin directories to the path fixed it, starting as admin was not required.

    Could adding these dirs to the path be added to the compiler script?

     

    Regards,

    Eli

  • RWood
    RWood
    Altair Employee
    edited October 11

    Hi!

     

    Had this issue as well, and adding edem lib and bin directories to the path fixed it, starting as admin was not required.

    Could adding these dirs to the path be added to the compiler script?

     

    Regards,

    Eli

    Hi,

    We used to add both bin/ and lib/ to the system path through the old EDEM installers, but we no longer do. Although it might seem like adding to the system path automatically is a good idea (and I think generally it is) it has a fixed length and so you can run into trouble if you add too many directories to it. It's got a pretty long length and there are ways to work around the size issue but it's not something to be done lightly.

    I'll think on a way to do this so it's not automatic, but the option is there. Maybe an extra button on the compiler or a separate script.

    Cheers,

    Richard

  • Mostafa Jafari Gildeh_21173
    Mostafa Jafari Gildeh_21173 Altair Community Member
    edited October 16

    Hi,

    This hasn't been tested / updated to work with Fluent 2024 R2 yet. I'd go back to Fluent 2024 R1 which I know is working as I'm using it on both my Windows and Linux machines for some other updates.

    Richard

    Hi.

    Would you please send me the builder?

  • Mostafa Jafari Gildeh_21173
    Mostafa Jafari Gildeh_21173 Altair Community Member
    edited October 16

    Hi There:

    Downloaded the builder using the passed link.

    Still having these errors when trying to coupled EDEM 2022.2 with Fluent 2024R2 with VS2022.

     

    CParticleData.cpp


    =================
    Error Detected
    =================

    ..\..\src\compute_particle_forces.c(53): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(185): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(306): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(53): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(185): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    ..\..\src\compute_particle_forces.c(306): error C2198: 'Path_Status init_tracked_particle(Tracked_Particle *,Particle *,cxboolean,cxboolean,cxboolean,cxboolean)': poucos argumentos para chamada

    Hi.

    Would you please send me the builder?