CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   how to disable paraview in ThirdParty (

phsieh2005 March 25, 2013 21:02

how to disable paraview in ThirdParty
Dear OpenFOAMers,

I would like to use paraview-3.98. I installed it from website. I have not problem running paraview-3.98 when logged in as root. However, with the "source $HOME/OpenFOAM/OpenFOAM-2.2.x/etc/bashrc" in my user .bashrc, I got conflicts, hence, paraview-3.98 gave me errors.

If I do not source OpenFOAM-2.2.x/etc/bashrc, then, paraview-3.98 ran fine. Is there a good way to disable paraview in ThirdParty?



wyldckat March 27, 2013 17:58

Hi Pei-Ying,

There are at least two possibilities:
  • Comment out the respective line in OpenFOAM's etc/bashrc file:
    Something like this:

    # _foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config/`
  • Or remove or move completely the built binaries:
    1. Check if it's there:

      echo $ParaView_DIR
      ls -l $ParaView_DIR

    2. Move it or remove it:

      mv $ParaView_DIR ${ParaView_DIR}_backup
      #or to remove it, uncomment the next line
      #rm -r $ParaView_DIR

You might also want to add an alias command to your "~/.bashrc" file:

alias paraFoam='paraFoam -builtin'
Best regards,

phsieh2005 March 27, 2013 20:36

Hi, Bruno,

As usually, thanks a lot for your help! How can we do without you?!


All times are GMT -4. The time now is 03:08.