To start the FoamX host browser on the host machine, the user should either
run the runFoamXHB script, or, in the case that the host browser is run locally
(normal mode), run runFoamX which itself launches runFoamXHB. runFoamXHB
performs two functions as shown in A.2.
The MICO name server -- a process called nsd -- is started by the
host machine. It uses the host name and a default port address that
can be set manually by the org.omg.CORBA.ORBInitialHost= and
org.omg.CORBA.ORBInitialPort= entries in the FoamXClient.cfg file of
the .OpenFOAM-1.5/apps/FoamX directory. The name server writes the
host/port address in IOR form in the ns.ref file in the same directory.
The FoamXHostBrowser process is started on the host/port address
where nsd was started and registers itself under the name
FoamXHostBrowser.
Therefore the execution of runFoamXHB, by typing at the command prompt
runFoamXHB
launches the name server and host browser which outputs to screen the following:
Starting NameServer with inet:<host>:<port>... Starting FoamX Host Browser with inet:<host>:<port>...
where <host>:<port> are set by default or are those specified in the
FoamXClient.cfg file. The FoamXHostBrowser prints the OpenFOAM logo strip to
screen and details about its execution status to indicate it is running
correctly.
The contents of the ns.ref file can be ‘translated’ and viewed by typing
iordump < $FOAMX_USER_CONFIG/ns.ref
An administration tool for MICO can be started by typing
nsadmin -ORBNamingAddr inet:<host>:<port>
where the inet:<host>:<port> entry can be found by viewing the ns.ref
file. The user should type help to view the options within the tool, which
include ls to list the registered services.