Difference between revisions of "Installation/swak4Foam/Downloading"

From OpenFOAMWiki
(FOAM-Extend 3.0: Added a few more notes for 3.1)
(OpenFOAM 2.2.0 to 2.2.x: brief update of the instructions, since its now extended to 2.3.x)
Line 12: Line 12:
 
This chapter refers to the official version of OpenFOAM provided by the [http://www.openfoam.org OpenFOAM Foundation].
 
This chapter refers to the official version of OpenFOAM provided by the [http://www.openfoam.org OpenFOAM Foundation].
  
== OpenFOAM 2.2.0 to 2.2.x ==
+
== OpenFOAM 2.2.0 to 2.3.x ==
'''Note:''' The downloading steps below have been tested after swak4Foam [[Contrib/swak4Foam#2014-01-24_-_Version:_0.3.0|version 0.3.0]] was released.
+
'''Note:''' The downloading steps below have been tested after swak4Foam [[Contrib/swak4Foam#2014-07-11_-_Version:_0.3.1|version 0.3.1]] was released.
  
 +
Installation steps:
 
<ol>
 
<ol>
 
<li>First, go into a good working folder. For example, {{tt|$HOME/OpenFOAM/$USER-$WM_PROJECT_VERSION}}:
 
<li>First, go into a good working folder. For example, {{tt|$HOME/OpenFOAM/$USER-$WM_PROJECT_VERSION}}:

Revision as of 10:39, 16 August 2014

1 Introduction

This page is dedicated to explaining how and which versions of swak4Foam to download and from where, depending on the OpenFOAM version you are using. Once you've successfully downloaded swak4Foam, go back to the instructions page you were following.

Note to those who are willing to help:

  • Feel free to update this page whenever a new version of OpenFOAM or swak4Foam is made available and you've fully tested.
  • Installation instructions should be provided according to the indications given in the main Installation/swak4Foam page.


2 OpenFOAM

This chapter refers to the official version of OpenFOAM provided by the OpenFOAM Foundation.

2.1 OpenFOAM 2.2.0 to 2.3.x

Note: The downloading steps below have been tested after swak4Foam version 0.3.1 was released.

Installation steps:

  1. First, go into a good working folder. For example, $HOME/OpenFOAM/$USER-$WM_PROJECT_VERSION:
    mkdir -p $FOAM_RUN
    cd "$HOME/OpenFOAM/$USER-$WM_PROJECT_VERSION"
  2. Now, it all comes down to where you're able to download from one of the following locations (try each one, until you're able to download it):
    1. From the main SVN repository, using the svn command:
      svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_2.0/libraries/swak4Foam/ swak4Foam
    2. Or from a mirror Git repository (openfoam-extend-Breeder2.0-libraries-swak4Foam), using the git command:
      git clone https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder2.0-libraries-swak4Foam.git swak4Foam
    3. Or by downloading a snapshot in a GZipped Tarball format (tar.gz) from the same Git mirror repository, either directly in the command line:
      wget "https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder2.0-libraries-swak4Foam/archive/master.tar.gz" -O swak4Foam.tar.gz
      tar -xf swak4Foam.tar.gz
      mv openfoam-extend-Breeder2.0-libraries-swak4Foam-master swak4Foam

      Or manually:

      1. Download this file: master.tar.gz
      2. Unpack the downloaded file and move the unpacked folder "openfoam-extend-Breeder2.0-libraries-swak4Foam-master" into the folder indicated by this command:
        pwd
      3. Rename the folder:
        mv openfoam-extend-Breeder2.0-libraries-swak4Foam-master swak4Foam
    4. Or by downloading a snapshot in ZIP format from the same Git mirror repository, either directly in the command line:
      wget "https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder2.0-libraries-swak4Foam/archive/master.zip" -O swak4Foam.zip
      unzip swak4Foam.zip
      mv openfoam-extend-Breeder2.0-libraries-swak4Foam-master swak4Foam

      Or manually:

      1. Download this file: master.zip
      2. Unpack the downloaded file and move the unpacked folder "openfoam-extend-Breeder2.0-libraries-swak4Foam-master" into the folder indicated by this command:
        pwd
      3. Rename the folder:
        mv openfoam-extend-Breeder2.0-libraries-swak4Foam-master swak4Foam
    5. Or manually download a snapshot from the SVN interface at Sourceforge.net:
      1. Go to this page: SVN snapshot request for swak4Foam 2.x series
      2. Request a snapshot on that page.
      3. Unpack the downloaded file and move the unpacked folder, into the folder indicated by this command:
        pwd
      4. Rename the folder to swak4Foam.

2.2 OpenFOAM 2.3.0 to 2.3.x

Note: These instructions have been written while swak4Foam version 0.3.0 was still the latest release.

  1. First, go into a good working folder. For example, $HOME/OpenFOAM/$USER-$WM_PROJECT_VERSION:
    mkdir -p $FOAM_RUN
    cd "$HOME/OpenFOAM/$USER-$WM_PROJECT_VERSION"
  2. Now, it all comes down to where you're able to download from one of the following locations (try each one, until you're able to download it):
    1. From the main Mercurial development repository, using the hg command, download from the repository and checkout the right branch:
      hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam swak4Foam
      (cd swak4Foam && hg update port_2.0.x)
    2. Or manually download a snapshot from the Mercurial interface at Sourceforge.net:
      1. Go to this page: Mercurial snapshot request for swak4Foam port_2.0.x commit f537bda3865306a8110e8c7434911f352ce1ffcc
      2. Request a snapshot on that page.
      3. Unpack the downloaded file and move the unpacked folder, into the folder indicated by this command:
        pwd
      4. Rename the folder to swak4Foam.
    3. Or from a mirror Git repository (openfoam-extend-swak4Foam-dev), using the git command:
      git clone https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-swak4Foam-dev swak4Foam
      cd swak4Foam
      git checkout port_2.0.x
    4. Or by downloading a snapshot in a GZipped Tarball format (tar.gz) from the same Git mirror repository, either directly in the command line:
      wget "https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-swak4Foam-dev/archive/port_2.0.x.tar.gz" -O swak4Foam.tar.gz
      tar -xf swak4Foam.tar.gz
      mv openfoam-extend-swak4Foam-dev-port_2.0.x swak4Foam

      Or manually:

      1. Download this file: port_2.0.x.tar.gz
      2. Unpack the downloaded file and move the unpacked folder "openfoam-extend-swak4Foam-dev-port_2.0.x" into the folder indicated by this command:
        pwd
      3. Rename the folder:
        mv openfoam-extend-swak4Foam-dev-port_2.0.x swak4Foam
    5. Or by downloading a snapshot in ZIP format from the same Git mirror repository, either directly in the command line:
      wget "https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-swak4Foam-dev/archive/port_2.0.x.zip" -O swak4Foam.zip
      unzip swak4Foam.zip
      mv openfoam-extend-swak4Foam-dev-port_2.0.x swak4Foam

      Or manually:

      1. Download this file: port_2.0.x.zip
      2. Unpack the downloaded file and move the unpacked folder "openfoam-extend-swak4Foam-dev-port_2.0.x" into the folder indicated by this command:
        pwd
      3. Rename the folder:
        mv openfoam-extend-swak4Foam-dev-port_2.0.x swak4Foam

3 Extend Project variants of OpenFOAM

This chapter refers to the variants OpenFOAM provided by the Extend Project at FOAM-Extend.org.

3.1 OpenFOAM 1.6-ext

Note: The downloading steps below have been specifically coded for downloading swak4Foam version 0.2.4.

  1. First, go into a good working folder. For example, $HOME/OpenFOAM/$USER-$WM_PROJECT_VERSION:
    mkdir -p $FOAM_RUN
    cd "$HOME/OpenFOAM/$USER-$WM_PROJECT_VERSION"
  2. Now, it all comes down to where you're able to download from one of the following locations (try each one, until you're able to download it):
    1. From the main SVN repository, using the svn command:
      svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_1.7/libraries/swak4Foam@1998 swak4Foam
    2. Or from a mirror Git repository (openfoam-extend-Breeder1.7-libraries-swak4Foam), using the git command:
      git clone https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder1.7-libraries-swak4Foam.git swak4Foam
      (cd swak4Foam && git checkout 9ee3a04f9e -b 024)
    3. Or by downloading a snapshot in a GZipped Tarball format (tar.gz) from the same Git mirror repository, either directly in the command line:
      wget "https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder1.7-libraries-swak4Foam/archive/9ee3a04f9e22bb5c0c688223acb392e343589da1.tar.gz" -O swak4Foam.tar.gz
      tar -xf swak4Foam.tar.gz
      mv openfoam-extend-Breeder1.7-libraries-swak4Foam-9ee3a04f9e22bb5c0c688223acb392e343589da1 swak4Foam

      Or manually:

      1. Download this file: 9ee3a04f9e22bb5c0c688223acb392e343589da1.tar.gz
      2. Unpack the downloaded file and move the unpacked folder "openfoam-extend-Breeder1.7-libraries-swak4Foam-9ee3a04f9e22bb5c0c688223acb392e343589da1" into the folder indicated by this command:
        pwd
      3. Rename the folder:
        mv openfoam-extend-Breeder1.7-libraries-swak4Foam-9ee3a04f9e22bb5c0c688223acb392e343589da1 swak4Foam
    4. Or by downloading a snapshot in ZIP format from the same Git mirror repository, either directly in the command line:
      wget "https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder1.7-libraries-swak4Foam/archive/9ee3a04f9e22bb5c0c688223acb392e343589da1.zip" -O swak4Foam.zip
      unzip swak4Foam.zip
      mv openfoam-extend-Breeder1.7-libraries-swak4Foam-9ee3a04f9e22bb5c0c688223acb392e343589da1 swak4Foam

      Or manually:

      1. Download this file: 9ee3a04f9e22bb5c0c688223acb392e343589da1.zip
      2. Unpack the downloaded file and move the unpacked folder "openfoam-extend-Breeder1.7-libraries-swak4Foam-9ee3a04f9e22bb5c0c688223acb392e343589da1" into the folder indicated by this command:
        pwd
      3. Rename the folder:
        mv openfoam-extend-Breeder1.7-libraries-swak4Foam-9ee3a04f9e22bb5c0c688223acb392e343589da1 swak4Foam

3.2 FOAM-Extend 3.0 and 3.1

Notes:

  • The downloading steps below have been tested after swak4Foam version 0.3.0 was released.
  • FOAM-Extend 3.1 does provide its own swak4Foam built during the first installation, so the instructions below are most likely useful only as a reference or for updating.

Installation steps:

  1. First, go into a good working folder. For example, $HOME/OpenFOAM/$USER-$WM_PROJECT_VERSION:
    mkdir -p $FOAM_RUN
    cd "$HOME/foam/$USER-$WM_PROJECT_VERSION"
  2. Now, it all comes down to where you're able to download from one of the following locations (try each one, until you're able to download it):
    1. From the main SVN repository, using the svn command:
      svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_2.0/libraries/swak4Foam/ swak4Foam
    2. Or from a mirror Git repository (openfoam-extend-Breeder2.0-libraries-swak4Foam), using the git command:
      git clone https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder2.0-libraries-swak4Foam.git swak4Foam
    3. Or by downloading a snapshot in a GZipped Tarball format (tar.gz) from the same Git mirror repository, either directly in the command line:
      wget "https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder2.0-libraries-swak4Foam/archive/master.tar.gz" -O swak4Foam.tar.gz
      tar -xf swak4Foam.tar.gz
      mv openfoam-extend-Breeder2.0-libraries-swak4Foam-master swak4Foam

      Or manually:

      1. Download this file: master.tar.gz
      2. Unpack the downloaded file and move the unpacked folder "openfoam-extend-Breeder2.0-libraries-swak4Foam-master" into the folder indicated by this command:
        pwd
      3. Rename the folder:
        mv openfoam-extend-Breeder2.0-libraries-swak4Foam-master swak4Foam
    4. Or by downloading a snapshot in ZIP format from the same Git mirror repository, either directly in the command line:
      wget "https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder2.0-libraries-swak4Foam/archive/master.zip" -O swak4Foam.zip
      unzip swak4Foam.zip
      mv openfoam-extend-Breeder2.0-libraries-swak4Foam-master swak4Foam

      Or manually:

      1. Download this file: master.zip
      2. Unpack the downloaded file and move the unpacked folder "openfoam-extend-Breeder2.0-libraries-swak4Foam-master" into the folder indicated by this command:
        pwd
      3. Rename the folder:
        mv openfoam-extend-Breeder2.0-libraries-swak4Foam-master swak4Foam
    5. Or manually download a snapshot from the SVN interface at Sourceforge.net:
      1. Go to this page: SVN snapshot request for swak4Foam 2.x series
      2. Request a snapshot on that page.
      3. Unpack the downloaded file and move the unpacked folder, into the folder indicated by this command:
        pwd
      4. Rename the folder to swak4Foam.