src/OpenFOAM logo
The Open Source CFD Toolbox
  Search
  
  Back to OpenFOAM Home
 
  OpenCFD
  Company profile
  OpenFOAM support
  OpenFOAM development
  OpenFOAM training
  Solutions
  Contact OpenCFD
  Recruitment
  Recommended links
 
  OpenFOAM
  Features
  Download
  Documentation
  * User Guide
  * C++ Source Guide
  * README file
  * Release notes
  * Upgrading to 1.5
 
  © 2000-2008 OpenCFD Ltd
SourceForge.net Logo
OpenCFD Solutions Contact OpenFOAM
OpenFOAM 1.5 User Guide © 2000-2008 OpenCFD Ltd

Appendix A
FoamX case manager (obsolete in v1.5)

OpenFOAM is distributed with the FoamX utility to manage the running of cases. FoamX is a GUI that can manage cases over a distributed network, e.g. the Internet, although most often it is used to manage cases on a local machine.

This chapter contains mainly reference material for FoamX, and while A.3 and A.4 provide useful advice on the general use of FoamX, new users are first directed to the tutorials (2) to learn how to use FoamX.

The mechanism for running cases over a network is to have a host machine providing services that can be called from a JAVA GUI on another machine. The interface between the JAVA GUI and these services -- a host browser, case browser and case server, written in C++ -- is MICO, an implementation the Common Object Request Broker Architecture (CORBA). If the user simply wishes to manage cases on their local machine, the host browser and JAVA GUI can both be launched from that machine. We shall refer to this as normal mode in the following sections. Let us summarise the options below:

host browser run locally (normal mode)
in this case the user can launch both the host browser and GUI by executing runFoamX

        runFoamX
    
host browser run remotely (remote mode)
in this case the host browser is first launched on the host machine by runFoamXHB

        runFoamXHB
    

and the GUI is launched locally by executing runFoamX which connects to the running host browser

        runFoamX
    

The processes involved in both these options are shown in A.1. When runFoamX is executed, it searches for a running host browser. If one is running, i.e. previously launched with runFoamXHB, it will connect to it; otherwise it starts a host browser itself.


            runFoamXHB                        runFoamX

start name  server        if no host browser
                          is running

                ns.ref
 register processes


         FoamXHostBrowser                     JAVA  GUI

         FoamXCaseBrowser
          FoamXCaseServer
\special {t4ht=

Figure A.1: Options for running FoamX.


In A.1, A.2 and A.3 the general operation of FoamX is described with particular emphasis on how it can be operated over a network. Following that, the running of OpenFOAM cases through the case server is described in A.4. Configuration issues relating to FoamX are described in A.5.