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…
Category: Tutorials
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)…
Four: Flow pattern and particle mixing in a rotating drum using DEM
We investigate mixing mechanism in a rotating drum operating in rolling regime. To this end, a drum with the diameter of 0.2 m and depth of 0.03 m is half-filled with 19000 3-mm spherical particles. Rotation speed of the drum is 10 RPM. This rotation speed creates the cascading regime…
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
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…
Three: Flow pattern of particles in the discharge of a conical hopper using DEM
The flow of spherical particles in a conical hopper with the cone angle 45° is studied using DEM. Density and size of particles are 2500 kg/m3 and 9 mm, respectively. Diameter of the conical hopper is 20 cm and diameter of the exit orifice is 8 cm. A wide, flat…
Two: A DEM simulation to create a random packed bed of spheres with size distribution
In this DEM simulation, we create a random packed bed of spherical particles in a cylindrical container with the diameter of 15 cm and height of 20 cm. Particles are a mixture of spherical particles with similar density (2500 kg/m3) and uniform sizes distribution between 3 and 7.5 mm. In…
One: A discrete element method simulation to created a packed bed of spheres
In this simulation, we create a random packed bed of particles (packed bed of spheres) in a cylindrical container with the diameter of 15 cm and length of 20 cm. To create this bed, 8000 7-mm spherical particles with the density of 2500 kg/m3 are used. In the followings, we…
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
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…