when coupling EDEM and FLUENT ocurr C1083

leung s_21282
leung s_21282 New Altair Community Member
edited November 2023 in Community Q&A
  • I use the tool in the link below for interface coupling,

https://community.altair.com/community/en/altair-edem-coupling-for-ansys-fluent-with-combustion?id=kb_article&sysparm_article=KB0117663

but there is an error, the three software are the default installation position, the experiment dozens of times are not good, stuck in these three days.

 

  • I use win10 to report the following error, with a friend's win11 found that it can be used normally.
  • Look at the reply in the forum, it may be the installation location is wrong, or the vs version is not supported, I changed the 2017 community edition,2019 community edition,2022 community edition and professional edition, all reported similar error C1083, as shown in the figure.

image

image

  • log.txt:

edem_version     = 2022
fluent_version   = 2021R2
msvs_version     = 2022_C
edem_install_dir = C:\Program Files\Altair\2022\EDEM
fluent_inc       = C:\Program Files\ANSYS Inc\v212\fluent
msvs_install_dir = C:\Program Files\Microsoft Visual Studio\2022\Community


adaptor_dir             = C:\Users\L\Desktop\edem_coupling_build\edem_cfd_adaptor_build\
edem_adaptor_object_dir = C:\Users\L\Desktop\edem_coupling_build\edem_cfd_adaptor_build\win64
edem_library_path       = C:\Program Files\Altair\2022\EDEM\lib

<_io.TextIOWrapper name='src//AdaptorInterface.cpp' mode='r' encoding='cp936'>
<_io.TextIOWrapper name='src//AdaptorInterface_temp.cpp' mode='w' encoding='cp936'>
<_io.TextIOWrapper name='src//CAdaptorQuaternion.cpp' mode='r' encoding='cp936'>
<_io.TextIOWrapper name='src//CAdaptorQuaternion_temp.cpp' mode='w' encoding='cp936'>


AdaptorInterface.cpp modified to use header IEDEMCoupling.h
AdaptorInterface.cpp closed

CAdaptorQuaternion.cpp modified to use header IEDEMCoupling.h
CAdaptorQuaternion.cpp closed

Removing temp files...

Done.

Compiling adaptor objects...

Timed out.

Not all object files found in C:\Users\L\Desktop\edem_coupling_build\edem_cfd_adaptor_build\win64.

Tagged:

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee
    edited November 2023

    Hi,

    It looks like you are using an older version of the coupling, can you try the latest version:

    https://community.altair.com/community/en/altair-edem-cfd-coupling-for-ansys-fluent?id=kb_article_view&sysparm_article=KB0116549

     

    Also could you try updating the PATH environment variable:


    If you go to Windows Search > Edit Environment Variables > Environment > Variables

    Under System Variables you should have a PATH variable. Can you add:

    C:\Program Files\Altair\2023\EDEM\lib
    C:\Program Files\Altair\2023\EDEM\bin

    Note this is for EDEM 2023, if you are using a different version of EDEM or you have a different install location you will need to make sure you set the correct paths. If you have a different version or different path this should match the folders, especially the lib folder.

    Regards

    Stephen