Difference between revisions of "Contrib turbScalarFoam"

From OpenFOAMWiki
(Created page with '{{VersionInfo}}{{Version1.5}} == Short description == An unsteady incompressible laminar flow solver with scalar transport and mass transfer coefficient and Sherwood number cal...')
 
Line 19: Line 19:
  
 
<math>  
 
<math>  
\partial{T}{t} + \nabla \cdot \left(\mathbf{U} T\right) - \nabla^2 \left( D_T + \nu_turb/Sc_turb \cdot T \right) = 0
+
\frac{\partial{T}}{\partial t} + \nabla \cdot \left(\mathbf{U} T\right) - \nabla^2 \left( D_T + \nu_{turb}/Sc_{turb} \cdot T \right) = 0
 
</math>
 
</math>
  

Revision as of 14:41, 10 July 2009

Valid versions: OF version 15.png

1 Short description

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

2 Compilation

Do the following steps:

  • Download the solver package
  • 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 D_T:

 
\frac{\partial{T}}{\partial t} + \nabla \cdot \left(\mathbf{U} T\right) - \nabla^2 \left( D_T + \nu_{turb}/Sc_{turb} \cdot 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 T_b 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 D_T, T_b and d to the transportProperties dictionary.

4 Download

The most up-to-date version of the sources can be downloaded below:

5 History

  • 2009-07-10: Initial upload