• CFD,  OpenFOAM

    OpenFOAM 1.7.1 has been released and brings new bugreporting tool

    OpenCFD® announced the release of OpenFOAM® 1.7.1, which has been verified using gcc 4.5 compilers and openSUSE 11.3. Together with this version, a new bug reporting system has been made available. Users of OpenFOAM 1.7.x will receive the updates directly in the git repository, with a regular “git pull”, without any need to install the updated version explicitly. 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.

  • CFD,  OpenFOAM

    OpenFOAM 1.6.x on openSUSE 11.2 and VTK reader

    Installing OpenFOAM® on openSUSE 11.2 is very easy, and can be done using, at least in part, the system tools, to take advantage of the new compiler. The steps of the procedure are the following: Use YaST to install the C/C++ development pattern in YaST cmake libqt4-devel (required to build paraview) Create a directory called OpenFOAM in your home directory mkdir ~/OpenFOAM Enter the OpenFOAM directory cd ~/OpenFOAM Download the OpenFOAM sources from the GIT repository git clone git://repo.or.cz/OpenFOAM-1.6.x.git Download the third party packages from the OpenCFD website Extract the third party packages corresponding to your architecture in the ~/OpenFOAM directory Rename the ThirdParty-1.6 into ThirdParty-1.6.x Remove the following directories…

  • OpenFOAM,  openSUSE

    OpenFOAM Live USB with SUSE Studio

    I have recently prepared an OpenFOAM(r) Live USB image using SUSE Studio to try Studio functionalites, and I was really impressed by the ease of use, the clean interface and its capabilities. You find a detailed description of what I did in the slides I prepared. In the slides you will see how to build a personalized version of openSUSE, add OpenFOAM to it and complete the system with some CFD tools like NETGEN and enGrid. In the end, the system is tested in real time on SUSE Studio servers. The compressed image (64 bit only at the moment) can be downloaded from here. After expanding it, you can write…

  • OpenFOAM

    Installing OpenFOAM 1.5.x on OpenSUSE 11.1

    I have recently installed OpenFOAM 1.5.x following the procedure I explained in this post some time ago. With OpenSUSE 11.1, paraview and paraFOAM work properly after being recompiled following these simple instructions: Install OpenSUSE 11.1, which can be downloaded from here. Install qt4-devel: as root, type zypper in libqt4-devel Download OpenFOAM 1.5 from git repository (See here) Download the third-party packages from OpenCFD site Source the bash configuration file for OpenFOAM, as usual. Edit ~/OpenFOAM/ThirdParty/ParaView3.3-cvs/CMakeLists.txt and comment out the line: MESSAGE(SEND_ERROR “Qt ${QTVERSION} not supported. Please use Qt 4.3 (you may need to clean your dirtied cache).”) Compile paraview and its reader following the instructions provided in OpenFOAM 1.5.x README…

  • OpenFOAM

    OpenCFD releases patched OpenFOAM 1.5

    OpenCFD released a patched version of OpenFOAM 1.5 today, via a git repository. You can find the official announcement here. The procedure to install it on openSUSE 11.0 is straightforward: Be sure to have git installed. You can check it with rpm -qa git If it is not installed, you can easily install it with the command (as root): zypper in git provided you have the OSS repository in your repository list (check with zypper lr, and eventually add it using Yast -> Software -> Installation sources). As a user, download the OpenFOAM patched source code using the command: git clone git://repo.or.cz/OpenFOAM-1.5.x.git This will create a directory called OpenFOAM-1.5.x, containing…

  • OpenFOAM

    Porous zone in OpenFOAM

    OpenFOAM offers an easy way to solve for a single flow in systems with porous zones, with the possibility of specifying the porosity and to use Darcy-Forchheimer or power law models. This feature is very versatile, allowing the user to specify also porous zones not aligned with the main reference frame and multiple porous zones in the same case. Currently this feature is implemented in a compressible flow solver (rhoPorousSimpleFoam), with both an explicit and an implicit treatment of the momentum source term due to the presence of the porous zone. I will show the basic functionalities of this OpenFOAM feature with a simple example of a 2D channel made…

  • OpenFOAM

    Unsteady boundary conditions in openFOAM

    I recently had to help a friend setting up a case in OpenFOAM, where a ramp boundary condition for the velocity was required. Apparently OpenFOAM doesn’t offer this boudary condition, or at least it might seem so at a first impression. Actually, OpenFOAM offers a very general way to specify unsteady boundary conditions called timeVaryingFixedValue, which can read a data set from a text file, interpolate them with respect to time and use them to generate the unsteady boundary condition. I will show how to use this boundary condition with a simple example of a ramp for a velocity boundary condition. We want the velocity to ramp from the value…

  • OpenFOAM

    OpenFOAM introductory course

    As a user of OpenFOAM who received a lot of free help from the developers, I think that helping spreading the voice of the OpenFOAM training course is the minimum I can do. ICON organizes an introductory course to OpenFOAM  on Thursday 3rd April and Friday 4th April 2008, at Beaumont House, Windsor, UK. The main goals are: Introduce C++ within the OpenFOAM context Explore the OpenFOAM code structure and commonly used classes Analyse, modify and create basic solvers and utilities Understand and customise basic OpenFOAM libraries You can find further information on the ICON site.