• CFD,  General,  OpenFOAM,  Research,  Science

    Contributing research work to open-source projects

    As the main developer of OpenQBMM, an add-on for OpenFOAM which implements quadrature-based moment methods for the solution of generalized population balance equations, I have been recently involved in the transfer of the copyright on the OpenQBMM code base to the OpenFOAM Foundation, to be able to contribute the corresponding source code to them. I summarize here some motivations, lessons learned and some advice that may be useful to others who want to follow the same path. Why contribute? This is a question several have asked. Why contribute a code base that took four years of work to be build (and quite some nights, holiday, weekends too), including research, overcoming…

  • CFD,  General,  Linux,  OpenFOAM,  Windows

    Developing for OpenFOAM on Windows 10 – Part 3

    Enabling support for graphical applications in WSL with Xming The Windows Subsystem for Linux does not officially support GUI applications. However, it is possible to successfully run several of them using a Windows-based X server as Xming. The steps to follow are simple: Download Xming (please, consider a donation to support the developer!) for your version of Windows Install it accepting the default settings Open the Ubuntu bash terminal and type echo "export DISPLAY=:0" >> .bashrc Load the settings with the command: source ~/.bashrc Test the setup as follows: Start the Xming server on Windows. An icon will appear in the notification areas Type paraview in the Ubuntu bash terminal.…

  • CFD,  Linux,  OpenFOAM,  Windows

    Developing for OpenFOAM on Windows 10 – Part 2

    Installing OpenFOAM on WSL – Ubuntu The installation steps for OpenFOAM on Ubuntu are straightforward because the OpenFOAM Foundation provides packages for Ubuntu which can be directly used in WSL. The following steps summarize how to rapidly set OpenFOAM-dev up on WSL. Open the Ubuntu bash terminal on Windows 10, and add the OpenFOAM repository and the corresponding signatures with the commands: sudo add-apt-repository "http://dl.openfoam.org/ubuntu dev" sudo sh -c "wget -O - http://dl.openfoam.org/gpg.key | apt-key add -" sudo add-apt-repository "http://dl.openfoam.org/ubuntu" Refresh the repository with the command: sudo apt-get update Install OpenFOAM-dev with: sudo apt-get install openfoam-dev Add the configuration file for OpenFOAM to bashrc with the command: echo "source /opt/openfoam5/etc/bashrc" >>…

  • CFD,  Linux,  OpenFOAM,  Windows

    Developing for OpenFOAM on Windows 10 – Introduction

    Windows 10 comes with the Windows Subsystem for Linux (WSL), which allows different Linux distributions to run under Windows. Currently Ubuntu, openSUSE and SUSE Linux Enterprise Server are available in the Microsoft Store, with Fedora expected to become available soon. When I started considering the option of ceasing the development of GeekoCFD, I have started exploring the possibility of using WSL for my development work. I am still testing this, and my virtual machine with openSUSE is still there. However, WSL looks promising. Thus, I thought of sharing the steps I have followed to set up my test environment, with a few tweaks to improve the experience. I have divided…

  • CFD,  Linux,  Windows

    OpenSSH client and server in Windows 10

    Windows 10 Fall Creators Update added support for OpenSSH client and server. The two components are packaged separately, and can be installed as optional features. The following instructions show how to install OpenSSH server. Identical steps allow OpenSSH client to be installed. Open the Windows search menu with Win + S and start typing “Apps and Features”. You will see the corresponding page of Settings appear in the options. Select it. Apps and features will open. Select “Manage optional features”: In the next screen, choose “Add feature”:  Finally, scroll the list, and select “OpenSSH Server (beta)” if you want the server. Pick the client if you want the client (not…

  • CFD,  GeekoCFD,  openSUSE

    GeekoCFD – Status update

    Currently, GeekoCFD images are not available on SUSE Studio, and an error 500 page is shown. I am looking into the cause of this. This may be related to the migration of SUSE Studio to Studio Express. Please, stay tuned for status updates. Updates (reverse chronological order) Latest update, Dec. 26th, 2017: GeekoCFD project ends. See the announcement. Update Dec 8th, 2017: It was announced that SUSE Studio will be shutdown on Feb. 15th, 2018. Official announcement from Studio developers here. Update Dec. 2nd, 2017: The migration of GeekoCFD to the Studio Express infrastructure is still ongoing. At the moment, several attempts to perform the migration have not been successful…

  • CFD,  GeekoCFD,  Linux,  OpenFOAM

    GeekoCFD 7.1.0 now available!

    I am pleased to announce the availability of GeekoCFD 7.0.1. This release brings updated packages to GeekoCFD, and is based on openSUSE Leap 42.1, as GeekoCFD 7.0.0. The following major changes were made: Updated packages OpenFOAM® 3.0.x from the OpenFOAM Foundation gmsh 2.13.1 eclipse neon System changes Removed custom configuration of the installer (control.xml) because now unnecessary. Thanks to Carlos F. Lange, who reported this to me. Enjoy 🙂 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,  GeekoCFD,  Linux,  OpenFOAM,  openSUSE

    GeekoCFD 7.0.0 is here!

    I am pleased to announce the availability of GeekoCFD 7.0.0. This release is based on openSUSE Leap 42.1, the new release of openSUSE based on the core of SUSE Linux Enterprise, and enjoys long-term support (and a beautiful artwork!). GeekoCFD 7.0.0 also brings the following major changes: Updated features UEFI and secure boot support enabled on USB disk images and Live DVD (not virtual formats). This change may make the specified images unbootable on systems which do not support UEFI and secure boot. Updated packages OpenFOAM® 3.0.x from the OpenFOAM Foundation gmsh 2.11.0 eclipse mars 1 Removed packages meshlab (no maintainer for the RPM) petsc (updated versions can be easily…

  • CFD,  GeekoCFD,  General,  Linux,  OpenFOAM

    WEP Workshop at KAUST

    Last week I had the opportunity of visiting KAUST, and take part to the Winter Enrichment Program, organizing a seminar on Open-Source Software for Computational Engineering with a colleague and friend Matteo Icardi, who was my host at KAUST. It was a wonderful experience, KAUST is an impressive campus, and the students were very interested in how to use free and open-source software to solve complex engineering problems. We talked about the founding principles of free software, and of the differences in comparison to open-source software. Then we had an introduction to engineering tools. A lot of fun! Thank you for the opportunity!

  • CFD,  Linux,  OpenFOAM,  openSUSE

    GeekoCFD 6.1.0 released

    I am pleased to announce GeekoCFD 6.1.0, which constitutes a minor release of GeekoCFD 6.1.0 to update OpenFOAM to version 2.3.x (x > 0). Updates from the official openSUSE repository were also included. The new version can be downloaded from SUSE Gallery. Enjoy! 🙂 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.