connect#
- ansys.systemcoupling.core.connect(host, port, connection_type=ConnectionType.SECURE_LOCAL)#
Connect to an instance of System Coupling already running in server mode.
- Parameters:
- host
str IP address of the system running the System Coupling instance.
- port
int Port on which to connect to System Coupling.
- connection_type: ConnectionType, optional
Specifies the type of connection to make with System Coupling. See
ConnectionTypefor available options. This must be compatible with the mode in which the server was started. The default is a secure local connection. This will not work with some older versions of System Coupling or versions that have not been updated with service pack releases. In these cases, an insecure connection type must be specified.
- host
- Returns:
ansys.systemcoupling.core.session.SessionSession object, providing access to a set up and solve API controlling a remote System Coupling instance.
- Return type: