Monday, November 24, 2014

OpenFOAM 2.3.0 and Paraview 4.2.0 for Ubuntu 14.04 x64

Hello fellow foamers;
As you know it is take a long  time for compiling OpenFOAM from source. To save the time in compiling and configuring , then actually learning about it , I precompiled OpenFOAM  with Paraview 4.2.0 installation for Ubuntu and created a script to install it on your Ubuntu Machine , (tested with Kubuntu 14.04)
Following are the steps you need to follow
1.Extract OpenFOAM.tar.gz
2.Type in terminal
chmod +x OpenFOAM_install.sh
3.Run the script in terminal and follow on screen instruction
./OpenFOAM_install.sh
4.If you are installing in computer file system run the script in root terminal by typing (Proceed with caution.I am not responsible for any harm that comes to your system )
sudo -s
 5.Close your terminal and open new terminal and type your alias like of230
Report any error in comment section.I will be making monthly build from OpenFOAM git repo 
PS:I have built OpenFOAM from latest git repository and paraview 4.2.0 with python support .I have also installed OpenFOAM in my system dir /opt/OpenFOAM no error and it worked fine.
The Installation has been update please refer the next post  

Download Link

7 comments:

  1. HI, I had previously tried the standard installation instruction for Ubuntu 14.04 on my Mint 17 installation (based on Ubuntu 14.04). That failed because it couldn't find the opengl_include_dir, even though opengl was installed and working. I deleted the libraries created by that installation and tried your one, but when I do of230, it just doesn't do anything - no error message either. What might be going wrong?

    ReplyDelete
  2. Tried it both with Ubuntu 14.04 and Kubuntu. Like Mike said; no response after typing of230

    ReplyDelete
  3. did you try icoFoam -help
    and if you get normal screen , with usage screen then your installation works
    try reading openfoam user guide for how to use go about openfoam

    ReplyDelete
  4. You're right Saahil. Thanks. I should have read the manual..

    ReplyDelete
    Replies
    1. If you need any help while using OpenFOAM feel free to contact me ; also you can post your query on cfd-online.com

      Delete
  5. I installed it in /opt/OpenFOAM and restarted console. After typing of230 i get:

    bash: /OpenFOAM-2.3.0/bin/foamEtcFile: No such file or directory
    bash: /OpenFOAM-2.3.0/bin/foamCleanPath: No such file or directory
    bash: /OpenFOAM-2.3.0/bin/foamCleanPath: No such file or directory
    bash: /OpenFOAM-2.3.0/bin/foamCleanPath: No such file or directory
    bash: /OpenFOAM-2.3.0/etc/config/settings.sh: No such file or directory
    bash: /OpenFOAM-2.3.0/etc/config/aliases.sh: No such file or directory
    bash: /OpenFOAM-2.3.0/bin/foamEtcFile: No such file or directory
    bash: /OpenFOAM-2.3.0/bin/foamEtcFile: No such file or directory
    bash: /OpenFOAM-2.3.0/bin/foamEtcFile: No such file or directory
    bash: /OpenFOAM-2.3.0/bin/foamEtcFile: No such file or directory
    bash: /OpenFOAM-2.3.0/bin/foamCleanPath: No such file or directory
    bash: /OpenFOAM-2.3.0/bin/foamCleanPath: No such file or directory
    bash: /OpenFOAM-2.3.0/bin/foamCleanPath: No such file or directory

    During installation when he asked me for install dir I pressed enter. (previously typing other directories didnt help)
    What can be wrong?
    maybe I should uninstall it somehow? (but Im new to ubuntu and dont know how...)

    ReplyDelete
    Replies
    1. Hi Czys,
      could you send me output by typing "cat .bashrc" and "ls /opt
      " in your terminal on my mail zaveri.saahil@gmail.com
      Regards

      Delete