TAGGED: coupling, fluent, fluent-edem
-
-
June 30, 2023 at 1:31 pm
mkhademi
SubscriberDear all,
I am trying to couple EDEM and Fluent from a wndows batch file. The EDEM should start and connect to its coupling server. The syntax for EDEM to do this is
edem -c -i myfile.dem --cs
--cs means connecting to coupling server with reading the EDEM file. The, there is a message appearing "Awaiting client connection" on the command prompt. My question is how the Fluent must be started in a coupling mode with an external solver? In Windows with GUI, you only need to click the "connect to coupling server" in EDEM and have a lib_EDEM_coupling folder and a journal file in the same directory where Fluent and EDEM files are.
Thank you so much,
Mahdi.
-
June 30, 2023 at 2:16 pm
mkhademi
SubscriberI am trying to find out how to start Fluent in a server mode as it might be the solution? 2.1. Fluent as a Server Sessions (ansys.com)
When I am using the
fluent 3ddp -t6 -g -aas
I need that Fluent let the next line in the Batch file that is related to EDEM be executed , so that EDEM can connect to its coupling server.
-
July 3, 2023 at 9:21 am
Rob
Ansys EmployeeIf you talk to the EDEM support team they should be able to help - there's a coupling set up UDF that they may be able to provide.
-
July 3, 2023 at 2:23 pm
mkhademi
SubscriberHi Rob,
Thank you for your reply. Unfortunately, they say they can not help because they have not tested Fluent-EDEM coupling on linux without GUI. They don't have any tutorials about it either. They told me to refer to Ansys documentation to figure it out, and I have been trying to, but no lead yet.
-
July 3, 2023 at 3:24 pm
Rob
Ansys EmployeeWhich may not then call EDEM as it won't want to release control. Can you run with the GUI active to see what's called in the background?
-
July 3, 2023 at 3:45 pm
Rob
Ansys EmployeeAnd having checked with the person on our side who wrote a load of the coupling code. He's not sure how batch would behave, but used to run across platform when testing (Fluent on Linux & EDEM on Windows) with GUI.
-
July 3, 2023 at 4:13 pm
mkhademi
SubscriberHi Rob,
Thank you for checking with your colleague.
I have been trying to use GUI on Linux through on my own workstation and also on HPC (through an interactive virtual desktop). I have encountered some errors for compatibility of versions that I am trying to fix. If you would think that running through GUI would give some information, I would record a journal file to see what is being called if this is the correct method to understand the processes. Then, I will share with you as soon as possible.
Thank you.
-
July 3, 2023 at 4:21 pm
Rob
Ansys EmployeeI was hoping more that the GUI would trigger the links and that would help figure out any batch syntax. We're not going to be able to do much as it'll require specialist knowledge which we're not allowed to share on here.
Are there functions that require EDEM or would Ansys Rocky do what you need? We can help with the coupling for that and Fluent.
-
July 3, 2023 at 4:48 pm
mkhademi
SubscriberHi Rob,
I have been working with rocky, and i know it is very staightforward to use, but unfortunately our HPC has Red Hat Linux on it which Rocky does not support at the moment. I understood this from communications with you on this forum actually.
Any help will be very appreciated.
-
July 4, 2023 at 7:39 am
Rob
Ansys EmployeeOK, in which case I think you'll need to use the GUI. Unless you can call both codes from Optislang or Twin Builder: we don't have anything more on the coupling as it was always covered by the EDEM team.
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Suppress Fluent to open with GUI while performing in journal file
- Mesh Interfaces in ANSYS FLUENT
- Time Step Size and Courant Number
- error: Received signal SIGSEGV
-
7626
-
4456
-
2955
-
1427
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.