• 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.

  • OpenFOAM

    The OpenFOAM extensions project has been launched

    The OpenFOAM community announced the OpenFOAM extension project, whose goal is to open the OpenFOAM CFD toolbox to the community contributed extensions. The project consists mainly in a SVN site for developers and researchers, to easily share code developed using the OpenFOAM toolkit. The project’s home page, hosted at Sourceforge.net, can be found here, while further information is available in the announcement made on the OpenFOAM discussion board. This content of this message is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM® and OpenCFD® trade marks.

  • OpenFOAM

    OpenCFD released OpenFOAM 1.4.1.

    OpenCFD, the well known developers of the OpenFOAM CFD code announced the release of OpenFOAM 1.4.1, an improved version of their code.   According to the announcement, which can be found here, the main new features of this release are:   Two new dynamic mesh solvers for incompressible flows, with SIMPLE/PISO/PIMPLE pressure-velocity algorithm. Mesh motion solvers extended to include velocity (as before) and displacement which are advantageous for periodic motion. A new numerical scheme (filteredLinear2). The adoption of OpenMPI-1.2.3 for parallel calculations, which replaces LAM. An improved tool to convert FLUENT meshes, which is now able to manage zones, boundary conditions and other features A conversion tool to export data…