• CFD,  Linux,  OpenFOAM,  openSUSE

    Installing OpenFOAM 1.7.x on openSUSE 11.4

    The installation of OpenFOAM® 1.7.x on the freshly released openSUSE 11.4 is straighforward, however some care is required to have a working ParaView. The ThirdParty package provided with OpenFOAM ships ParaView 3.8.0, which does not successfully build with Qt 4.7. The steps for the installation on openSUSE 11.4 – 64 bit are summarized as follows: Use YaST to install the C/C++ development pattern in YaST cmake libqt4-devel (required to build paraview) libQtWebKit-devel (required to build paraview) libQtAssistantClient4 flex git Create a directory called OpenFOAM in your home directory mkdir ~/OpenFOAM Enter the OpenFOAM directory cd ~/OpenFOAM Download the source code: with the command: git clone http://github.com/OpenCFD/OpenFOAM-1.7.x.git Download both the OpenFOAM…

  • CFD,  OpenFOAM

    OpenFOAM is open source, and will stay so

    A few days ago, it was suggested to re-license the OpenFOAM® code, currently regulated by the GPL 3 license, under the Lesser General Public License (LGPL). The suggestion came from the leader of the -extend project (see comment 1 for a clarification), which is a community driven initiative, not associated with OpenCFD, the producers of OpenFOAM.  The idea behind re-licensing is of increasing the number of users of the code, and to “free up” the code more. OpenCFD, who legally own the OpenFOAM trademark, stated their position on the topic today, with an article on their website, clarifying that their release will remain under the GPL license, and will never…

  • CFD,  OpenFOAM

    Exporting mesh from Ansys Workbench to OpenFOAM

    If you use Ansys® Workbench® to build your mesh, you probably noticed that the .msh file exported is binary, and cannot be converted properly by the OpenFOAM® converter fluentMeshToFoam. However there is a workaround. Simply set the variable export AWP_WRITE_FLUENT_MESH_ASCII=1 before launching workbench, or add it to your ~/.bashrc file. This will automatically force the mesher to save .msh files in ASCII format, which can be then imported as usual in OpenFOAM. Source: Simon Pereira @ CFD Online 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

    Euler-Euler gas-solid flow solver for OpenFOAM

    I have finally completed the implementation and the testing phases of a two-fluid code for the simulation of gas particle flows based on OpenFOAM®. The code is derived from the existing twoPhaseEulerFoam, with significant differences in the solution algorithm in order to stabilize it, and with the addition of a variety of models. This is the evolution of the twoPhaseEulerPimpleFoam code discussed previously here and here. I decided to change name to the code, and call it fluidParticleTwoPhase4Foam, since the implementation has become more and more specific for particulate flows, and future developments will move further in this direction. A summary of the improvements is reported below: Solution algorithm Adoption…