• CFD,  OpenFOAM

    Installing OpenFOAM 2.1.x on openSUSE 12.1

    OpenFOAM® 2.1.x has just been released, and brings an interesting number of new functions concerning arbitrary mesh interface (AMI), multiphase solvers, turbulence modeling, improved run-time control and new numerical methods. Assuming that OpenFOAM will be installed in the user’s home directory, the procedure to install OpenFOAM 2.1.x (git version) on openSUSE 12.1 is then as follows: Install the C/C++ development pattern: zypper install -t pattern devel_C_C++ Install other dependencies (gnuplot is optional, but useful): zypper install cmake libqt4-devel gnuplot openmpi openmpi-devel git-core Make sure git is installed zypper install git-core Check that openmpi 1.4.3 is selected as default with: mpi-selector --list The output should read: “openmpi-1.4.3”. If not, use mpi-selector to configure the default version of openmpi (this…

  • Linux,  openSUSE

    openSUSE guide

    Looking for a clear guide to openSUSE? Take a look at opensuse-guide.org, maintained by Martin Schlander. The openSUSE guide website provides clear and concise instructions to set-up most of the aspect of an openSUSE workstation, from the installation to the setup of accelerated video cards and samba shares. You can also find a useful list of applications for the most common tasks, and instructions on how to install the most common browser plug-ins.

  • CFD,  Linux,  OpenFOAM,  openSUSE

    Install OpenFOAM 2.0.x on openSUSE 12.1

    OpenSUSE 12.1 has just been released, and it carries gcc 4.6, and, for those interested clang/LLVM. Installing OpenFOAM® 2.0.x follows the usual pattern. Only a few minor modifications have to be made to be able to use gcc 4.6 and the version of openMPI provided by openSUSE 12.1 (openmpi-1.4.3). Additionally I replaced paraview 3.10.1 with ParaView 3.12.0. Assuming that OpenFOAM will be installed in the user’s home directory, the procedure to install OpenFOAM 2.0.x (git version) on openSUSE 12.1 is then as follows: Install the C/C++ development pattern: zypper install -t pattern devel_C_C++ Install other dependencies: zypper install cmake libqt4-devel gnuplot openmpi openmpi-devel Check that openmpi 1.4.3 is selected as default with: mpi-selector --list The output should read:…

  • CFD,  Linux,  OpenFOAM,  openSUSE

    GeekoCFD updated, GeekoCFD text mode released

    I am pleased to announce the release of GeekoCFD 2.2.0, which brings an updated image with OpenFOAM® 2.0.x (x >= 1), an updated ThirdParty package for OpenFOAM and openSUSE security updates, including Firefox 5. The images can be downloaded from SUSE Studio. Additionally, GeekoCFD 2.2.0 brings a smaller version: GeekoCFD text mode, which provides easy access to OpenFOAM for systems without a graphical user interface. GeekoCFD text mode is based on openSUSE 11.4 JeOS (Just enough operating system) 64 bit, and only provides the base system, the C/C++ development tools, and OpenFOAM, with its dependencies.As a consequence, the disk space requirements are significantly smaller if compared to the full version…

  • CFD,  OpenFOAM

    Updated dynamicSmagorinsky code for OpenFOAM 2.0.x

    The implementation of the dynamic Smagorinsky for OpenFOAM® in my git repository has been updated to build against OpenFOAM 2.0.x. Please, note that that this update breaks compatibility with OpenFOAM 1.7.x. A version of the code for OpenFOAM 1.7.x is available from the same repository, at commit c5b8d5d8a274ba702c68f1be75f31e8f2def81d7. This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM® and OpenCFD® trade marks. Alberto Passalacqua is not associated to OpenCFD Ltd.

  • CFD,  Linux,  OpenFOAM,  openSUSE

    GeekoCFD 2.1 now available

    GeekoCFD 2.1 is now available in SUSE Gallery. This is a minor release, which provides the new version of Eclipse Indigo with CDT, instead of Eclipse Helios with CDT.Users who downloaded version 2.0.3 and are not interested in the latest version of Eclipse, can ignore this release, or, if they installed their system, can simply upgrade Eclipse as follows: Acquire administrative rights with: su Execute in sequence: Remove the existing Eclipse cd /opt rm -r eclipse Download Eclipse Indigo with CDT wget -c http://mirror.cs.rit.edu/mirrors/eclipse/technology/epp/downloads/release/indigo/R/eclipse-cpp-indigo-incubation-linux-gtk-x86_64.tar.gz Make sure the file is in your /opt directory and execute tar xzf eclipse-cpp-indigo-incubation-linux-gtk-x86_64.tar.gz Drop your administrative rights by typing exit Enjoy 🙂

  • CFD,  Linux,  OpenFOAM,  openSUSE

    GeekoCFD 2 has been released

    I am pleased to announce the release of GeekoCFD 2, the live distribution based on openSUSE 11.4, created for CFD applications. The new live image can be downloaded, as usual, from SUSE Gallery. The new release brings: an updated system to openSUSE 11.4 – 64 bit kernel 2.6.37 gvv 4.5.1 kde 4.6.0 updated scientific software, including: cantor gmsh 2.5.0 grace wxMaxima and Maxima Octave with an almost complete selection of octave-forge packages OpenFOAM® 2.0.x Paraview 3.10.1 pyFoam R development tools DDD Eclipse Helios with CDT Emacs git kate kompare vim with gitdiff other software Blender Firefox 4.0.1 Gimp ImageMagick LibreOffice 3.3.1 Dropped packages The following packages were dropped from GeekoCFD…

  • CFD,  OpenFOAM

    OpenFOAM 2.0.x and openSUSE 11.4

    OpenCFD® released OpenFOAM® 2.0.0, which brings many developments and improvements. In parallel to the release of OpenFOAM 2.0.0, the git repository was updated to 2.0.x. Usually I write a detailed procedure to explain the installation of OpenFOAM on openSUSE, however with OpenFOAM 2.0.0 this is not necessary anymore. Only a few minor operations have to be made to be able to use gcc 4.5 and the version of openMPI provided by openSUSE 11.4 (openmpi-1.2.8). Assuming that OpenFOAM will be installed in the user’s home directory, the procedure to install OpenFOAM 2.0.x (git version) on openSUSE 11.4 is then as follows: Install the C/C++ development pattern: zypper install -t pattern devel_C_C++ Install other dependencies: zypper install cmake libqt4-devel gnuplot…

  • General

    Cybook Orizon…impressive!

    After a long search, I have finally bought an e-book reader, a Bookeen® Cybook® Orizon®. I have read a lot of positive comments about Bookeen e-readers, about the quality of their e-ink screens and of the ease of use of their e-book readers. Why a Cybook? There are many reasons: it does not tie me to a vendor when I have to buy books, and it is mostly based on open-source software (the operating system is a version of Linux for embedded systems), with the exception of the Adobe stack for DRM publications. Additionally, Bookeen has a strong reputation when it comes to e-ink screen quality. So, let’s take a…

  • General

    How to access dictionary values from boundary conditions in OpenFOAM

    OpenFOAM® offers a standard way to access user-specified constant data by means of dictionaries. However, dictionaries are by default read during the start-up phase of the main code. If a boundary condition requires to access the same information, the value can be looked up from the internal database used by OpenFOAM to store objects. The procedure is quite simple, and I show an example below, in a general case. Let’s assume our solver uses the “transportProperties” dictionary, which contains a subdictionary, called “mySubDict”. This sub-dictionary contains a dimensioned scalar, named “myScalar”. In the BC, you can recover “myScalar” as follows: // Extract the dictionary from the database const dictionary& transportProperties…