How to install OpenFOAM on Windows 10 & 11

To get the best experience with OpenFOAM installation on windows, you need to have windows 10 (build 19041 and higher) or higher versions of Windows like windows 11. So, you can install/activate WSL2 on your computer. WSL, stands for windows subsystem for Linux, is a new technology of Microsoft and…

How to install OpenFOAM-9

In this tutorial, you will learn how to install OpenFOAM-9. If you already have some components installed on your computer, you may skip some of the steps. This tutorial has been tested on Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. Two main methods is introduced here: 1)…

Methane Combustion in a Flare

Methane Combustion in a Flare

Excess, unrecoverable hydrocarbons are collected and burnt (in a flare) before releasing to atmosphere to reduce their environmental impact. Millions tones of hydrocarbons are burnt each year all around the world. A survey shows that, in 2017, around 270 million tones of CO2 is emitted by flaring. In many industrial…

How to Install OpenFOAM v2012 from Source Pack on Ubuntu

How to Install OpenFOAM v2012 from Source Pack on Ubuntu

In this post you will learn how to install OpenFOAM v2012 from source pack. The procedure is tested on Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. It is assumed that you are installing OpenFOAM v2012 on a fresh operating system. Note1: If you previously installed the older version of OpenFOAM…

Simulation of Slurry phase HDPE reactor

Simulation of Slurry phase HDPE reactor

High density polyethylene is produced by polymerizing ethylene (HDPE) and in cases co-polymerizing with propylene and 1-butene to achieve the desired density and properties. Hydrogen is also used to control average molecular weight of the polymer. One industrial process for producing HDPE is slurry phase reactor. Hexane is used as…

reactingFoam: How to simulate combustion of a flame by OpenFOAM

reactingFoam: How to simulate combustion of a flame by OpenFOAM

You will learn how to use reactingFOAM solver to simulate a turbulent combustion of methane in air. The simulation is based on the combustion of methane in the Sandia D flame benchmark. reactingFoam is a transient solver for simulating compressible, laminar/turbulent reactive systems. This solver uses stoichiometry expressions and kinetic…