Difference between revisions of "Installation/swak4Foam/Downloading"

From OpenFOAMWiki
(another step made on this apge)
(OpenFOAM 2.2.x: Added the several download locations)
Line 19: Line 19:
 
</li>
 
</li>
  
<li>Now, it all comes down to where you're able to download from: TODO
+
<li>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):
 +
 
 +
<ol>
 +
<li>From the main SVN repository, using the {{tt|svn}} command:
 +
<bash>svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_2.0/libraries/swak4Foam/ swak4Foam</bash>
 +
</li>
 +
 
 +
<li>Or from a mirror Git repository ([https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder2.0-libraries-swak4Foam openfoam-extend-Breeder2.0-libraries-swak4Foam]), using the {{tt|git}} command:
 +
<bash>git clone https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder2.0-libraries-swak4Foam.git swak4Foam</bash>
 +
</li>
 +
 
 +
<li>Or by downloading a snapshot in a ''GZipped Tarball'' format ({{tt|tar.gz}}) from the same Git mirror repository, either directly in the command line:
 +
<bash>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
 +
</bash>
 +
Or manually:
 +
# Download this file: [https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder2.0-libraries-swak4Foam/archive/master.tar.gz master.tar.gz]
 +
# Unpack the downloaded file and move the unpacked folder "openfoam-extend-Breeder2.0-libraries-swak4Foam-master" into the folder indicated by this command: <bash>pwd</bash>
 +
# Rename the folder: <bash>mv openfoam-extend-Breeder2.0-libraries-swak4Foam-master swak4Foam</bash>
 +
</li>
 +
 
 +
<li>Or by downloading a snapshot in ZIP format from the same Git mirror repository, either directly in the command line:
 +
<bash>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
 +
</bash>
 +
Or manually:
 +
# Download this file: [https://github.com/Unofficial-Extend-Project-Mirror/openfoam-extend-Breeder2.0-libraries-swak4Foam/archive/master.zip master.zip]
 +
# Unpack the downloaded file and move the unpacked folder "openfoam-extend-Breeder2.0-libraries-swak4Foam-master" into the folder indicated by this command: <bash>pwd</bash>
 +
# Rename the folder: <bash>mv openfoam-extend-Breeder2.0-libraries-swak4Foam-master swak4Foam</bash>
 +
</li>
 +
 
 +
<li>Or manually download a snapshot from the SVN interface at Sourceforge.net:
 +
# Go to this page: [http://sourceforge.net/p/openfoam-extend/svn/HEAD/tarball?path=/trunk/Breeder_2.0/libraries/swak4Foam SVN snapshot request for swak4Foam 2.x series]
 +
# Request a snapshot on that page.
 +
# Unpack the downloaded file and move the unpacked folder, into the folder indicated by this command: <bash>pwd</bash>
 +
# Rename the folder to {{tt|swak4Foam}}.
 +
</li>
 +
 
 +
</ol>
 +
 
 
</li>
 
</li>
 
</ol>
 
</ol>

Revision as of 14:55, 22 March 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.x

  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

TODO

2.3 OpenFOAM 2.3.x

TODO

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

TODO

3.2 FOAM-Extend 3.0

TODO