Question during coupling of EDEM with Fluent

Di Wu_22293
Di Wu_22293 Altair Community Member
edited December 2022 in Community Q&A

Hello,

I'm reaching out as I encounter errors during compilation in Linux when coupling EDEM with Fluent.

After compilation, I managed to follow README file in the folder /lib_edem_coupling.

However, for "2) Ensure that FLUENT_INC environment variable is set to your local Fluent installation directory", I don't know how to set the fluent environment variables.

Could you please kindly share more details?

Thanks.

 

Tagged:

Answers

  • Eric Veikle_22252
    Eric Veikle_22252
    Altair Employee
    edited December 2022

    Hello Di,

    If you follow the steps from the post: https://community.altair.com/community?id=kb_article&sys_id=c9bacfbe97935114e3b0361e6253af53

    I believe that you will specify the path when you run the CentOS7_GUI_compilation (see post above for documentation and executable), however if that does not do it you can do the following:

    bash uses an "envirnoment variable" called PATH to tell it where to look for programs.

    If you type: echo $PATH it will give you a list of directories (seperated by colons) if the list does not include the directory you installed fluent, then you will need to add it, by typing

    PATH=/opt/pkg/Fluent.inc/bin:$PATH

    (note this is assuming fluent is installed in /opt/pkg/Fluent.inc/ )

    This just works for your current terminal, if you want to make it permanent, you will have to add it to a hidden file called .bashrc

    Please ley me know if this information was helpful!

    Kind Regards,

    Eric

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.