4.5.4. Slave-Side Connectors

4.5.4.1. Fluent as a Server

The Fluent as a Server connector is embedded in the Fluent installation. To enable it, start Fluent in server mode. For more information refer to Starting Fluent In Server Mode.

4.5.4.2. OLGA OPC Connector

The OLGA OPC Connector provides a listening interface for connections to OLGA from an IronPython client running in either ANSYS Workbench or ANSYS Simplorer. The connector interface implements a subset of OPC interfaces. Two versions are provided for use depending on whether the machine running OLGA is 32-bit or 64-bit architecture:

32–bit

v182\fluent\fluent18.2.0\addons\corba\ntx86\AasCoOpUnit.exe

64–bit

v182\fluent\fluent18.2.0\addons\corba\win64\AasCoOpUnit.exe

Usage

The connector accesses OLGA through a COM OPC interface. The COM OPC OLGA server has to be started before starting the connector. Once the OLGA OPC server is running, you can invoke the connector with the following command:

AasCoOpcUnit.exe -host<host> -port<port> -portspan<portspan> -iorFile<filename> -opcCLSID<CLSID>

<host>

The hostname or IP address on which the AasCoOpcUnit application will listen. This is the name that will be made available in the IOR file that is created and used to connect. If omitted, the connector will listen on all available IP addresses. If set to localhost, only local clients will be able to connect.

<port>

The port number on which to listen for connections. If no port is specified, a randomly chosen port will be used. If <portspan> is also specified, <port> is the base of the port range.

<portspan>

Specifies that a range of <portspan> ports should be used. This requires that <port> also be specified. The actual range used will be [<port>:<port>+<portspan>-1]

<filename>

specifies the name to use for the IOR text file containing the OLGA OPC connection key. By default, the name will be aaS_OPCId.txt.

<CLSID>

specifies the CLSID of the OPC server. The default value is “SPT.OlgaOPCServer.7’. Check the OLGA documentation for the correct value.

After starting the OLGA OPC Connector, the following session information will be displayed:

Name of the key file

OPC CLSID

Result of checking Vendor info and version

Listening endpoints (for example, <protocol>://<IP>:<port>)


Release 18.2 - © ANSYS, Inc. All rights reserved.