2 2

Next: Model setting without an Up: Alternative formulation Previous: Alternative formulation   Contents   Index

Before start working, source OpenFOAM software version

  • With every new terminal session, before start working with OpenFOAM, your system needs to be connected with the OpenFOAM installation.

     

  • OpenFOAM system variables and aliases are involved, typically typing e.g.:

    # source installPath/OpenFOAM/OpenFOAM-2.x.x/etc/bashrc

     

  • Optionally, the new line may be added to your home/user/.bashrc, e.g.:

     

    source installPath/OpenFOAM/OpenFOAM-2.x.x/etc/bashrc
    

     

  • Optionally, the new alias(es) may be added to your home/user/.bashrc and used called when needed:

     

    alias of21Local='. installPath/OpenFOAM/OpenFOAM-2.1.x-Local/etc/bashrc.Xeon'
    alias of23Opteron='. installPath/OpenFOAM/OpenFOAM-2.3.x/etc/bashrc.Opteron'
    alias of23LocalXeon='. installPath/OpenFOAM/OpenFOAM-2.3.x/etc/bashrc.Xeon'