# Contrib turbScalarFoam

Valid versions:

## 1 Short description

An unsteady incompressible turbulent flow solver with scalar transport and mass transfer coefficient and Sherwood number calculation.

## 2 Compilation

Do the following steps:

• tar xzf TurbScalarFoam.tar.gz
• cd turbScalarFoam
• wmake

## 3 Physics

The solver is based on turbFoam, with the transport of a scalar T having a mass diffusion coefficient DT:

$\frac{\partial{T}}{\partial t} + \nabla \cdot \left(\mathbf{U} T\right) - \nabla \cdot \left( (D_T + \nu_{turb}/Sc_{turb}) \nabla T \right) = 0$

The mass transfer coefficient is determined at each wall by assuming that the value of T at the wall is zero:

$k_c=-\frac{D_T}{T_b} \frac{\partial T}{\partial y}|_{y=0}$

where Tb is the bulk value of T and y is the direction normal to the wall.

The Sherwood number is then determined by:

$Sh=\frac{k_c d}{D_T}$

where d is the characteristic dimension.

In order to use the solver, you should add DT, Tb and d to the transportProperties dictionary.