Free Surface Simulation

Many different phenomena  in industry or nature include a deformable interface for example the water falling from a spillway. The simulation of such events is essential to better understanding of  two-phase flow behavior, in order to optimize the design or to calculate hydrodynamic coefficients. The precise and correct modeling of interface is the key parameter in simulation of free surface. There are different interface tracking methods such as VoF (volume of fluid), LS (level set) and  FT (front tracking). Each method has its own advantages and disadvantages, however VoF is becoming the most common interface tracking method due to it’s ease of implementation and mass conservation.  OpenFOAM VoF solver is interFoam. The solver uses a technique called MULES to compress the interface and return the sharp interface. The interFoam is suitable for two-phase isothermal  incompressible system. The derived solvers form interFoam is:

Continue reading “Free Surface Simulation”


As a part of my Ph.D thesis, i extended an OpenFOAM solver interFoam to consider mass transfer due to boiling and condensation, new solver is called phaseChangeHeatFoam. It is available in git,now. it can be download and compiled with following commands in Linux terminal.

git clone
cd phaseChangeHeatFoam/Application/
chmod +x All*

The zip file can be download from here.
Continue reading “phaseChangeHeatFoam”

Wind Flow Simulation

Studies on wind flow are received a huge interest in recent decades. Wind is known as a clean source of energy.  Moreover, it plays a great role in urban ventilation to control air pollution. Therefore, wind flow simulations around single or complex buildings are raised up in recent years.  My colleagues and I made several wind flow simulations.  These simulations are conducted with OpenFOAM solver simpleFoam which is a stead-state solver. OpenFOAM supports a wide class of turbulence models. Different turbulence models are examined in these simulations to find the best result with experimental data. My experience shows kOmegaSST is the most suitable RANS turbulence model for simulation of wind flow.

A brief report of our simulation is presented below:

Continue reading “Wind Flow Simulation”