Start and Stop the Coupling Server

By default, EDEM will launch with the Coupling Server stopped and requires you to start the server before a coupled simulation can proceed.

To start and stop the Coupling Server:
For running in batch mode or for further automating the process, you can launch EDEM with the Coupling Server already running by adding the ‘--cs’ switch to the command line.




  • The coupling will connect on a random port. If you want to specify the port used for the coupling, enter a value in the coupling box.
    Note: To use user-specified ports, the coupling must be updated and a port specified on the client side as well.
  • The flag –cs-port followed by a specific port will start the coupling server using this flag.
  • The ports will only allow connection on ports in the range of 32768 to 65535.
  • If both --cs and --cs-port are specified, --cs-port will take precedence.