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

  • CFD,  OpenFOAM

    Some update on twoPhaseEulerPimpleFoam

    The development of twoPhaseEulerPimpleFoam proceeds well, and a good number of milestones, including Implementation of the conservative form of the momentum equation Implementation of the partial elimination algorithm Stabilization of the algorithm in the dense limit Boundary conditions for the particle phase Electrostatic model have been completed, and are under testing (they are not released yet to the public). Further information is available on the Extend project (You need an account to see this page). At the moment the only released development is represented by the implementation of the Johnson and Jackson boundary conditions, developed by Juho Peltola and me. They are available in my git repository. These boundary conditions…

  • CFD,  OpenFOAM

    Incompressible dynamic Smagorinsky model for OpenFOAM

    OpenFOAM® 1.7.x (and previous versions) provides a wide range of LES SGS models, however the implementation of the models based on the dynamic procedure, originally proposed by Germano, is not suitable for flows in arbitrary geometries, since the coefficient, determined dynamically, is averaged over the whole computational domain. I implemented a modified version of the dynamic model, based on the work of Lilly (1992), and I made it available through my git repository for those interested. Please, refer to the README file for instructions. 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

    twoPhaseEulerPimpleFoam

    I have been working for some time on the development of an improved version of the Euler-Euler two-fluid solver in OpenFOAM®, in order to improve its stability when a dense granular phases is present. An initial version of the solver, derived from twoPhaseEulerFoam, with the following modifications Adoption of the PIMPLE (PISO/SIMPLE) algorithm instead than PISO, to allow equation under-relaxation and ensure the convergence of all the equations at each time-step Solution of the momentum predictor, accounting for the strongly varying terms using flux-reconstruction is available on github. You can download it by typing git clone git://github.com/AlbertoPa/twoPhaseEulerPimpleFoam.git and keep it up to date typing git pull in a terminal opened…

  • CFD,  Linux,  OpenFOAM,  openSUSE

    GeekoCFD released

    The first version of GeekoCFD can be downloaded from SUSE Studio Gallery. This brings all the features listed in my previous announcement, plus a few fixed to the installation system of the live-DVD, an updated kernel and Java virtual machine, and a few other minor fixes listed in the changelog. I am waiting to know if the distribution can be freely released without modifications, or if I have to remove the openSUSE branding to be able to do that. The SUSE Studio and openSUSE team should answer soon. In the meanwhile, you must have a SUSE Studio account to access to the images. I have a few (8) invitations left,…

  • CFD,  Linux,  OpenFOAM,  openSUSE

    GeekoCFD is coming…

    GeekoCFD is a live distribution based on openSUSE 11.3 – 64 bit, whose purpose is to provide easy and immediate access to open-source scientific tools, in particular for computational fluid dynamics. The live distribution was created with SUSE Studio, whose team was very helpful in the process of solving some small problems during the setup. Almost all the packages provided in the images were prepared by openSUSE developers and community volunteers, to whom most of the merit should go. The features of the distribution are the following: System OpenSUSE 11.3 – 64 bit Kernel 2.6.34 gcc 4.5.0 KDE 4.4.4 Scientific software cantor enGrid 1.2.0 gmsh 2.4.2 grace gsl wxMaxima and…

  • 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

    Installing OpenFOAM 1.7 on openSUSE 11.3

    The installations instructions for OpenFOAM 1.7.0 on openSUSE 11.3 are almost identical to those for openSUSE 11.2 reported here. However, one additional package is necessary. For the reader’s convenience, I report the whole procedure, highlighting in orange the differences with the installation on openSUSE 11.2. 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) libQtWebKit-devel (required to build paraview) flex Create a directory called OpenFOAM in your home directory mkdir ~/OpenFOAM Enter the OpenFOAM directory cd ~/OpenFOAM Download both the OpenFOAM and ThirdParty packages from here and save them in your ~/OpenFOAM directory Extract the OpenFOAM-1.7.0.gtgz…