ScalarTransportFoam

From OpenFOAMWiki
Revision as of 05:04, 17 February 2010 by Alberto (Talk | contribs)

1 Introduction and applications

The scalarTransportFoam is a basic solver which resolves a transport equation for a passive scalar, using a user-specified stationary velocity field.

Typical applications are:

  • Solution of a scalar convection-diffusion problem on a given velocity field.

2 scalarTransportFoam features, capabilities and limitations

3 scalarTransportFoam capabilities

The scalarTransportFoam solver implements and solves a convection-diffusion scalar transport equation without source terms.

The main features of the solver are:

  • Solution of a convection-diffusion equation with user-specified boundary conditions
  • Arbitrary velocity field provided by the user and read at runtime

4 scalarTransportFoam limitations

The main limitations of the solver are:

  • The diffusion coefficient is assumed to be a constant scalar
  • An option to solve for the flow coupled with the scalar transport is not available

5 scalarTransportFoam theory

The scalarTransportFoam solver uses a complete convection-diffusion equation, in the incompressible form (the equation is divided by the density)

\frac{\partial{T}}{\partial t} + \nabla \cdot \left( \mathbf{U} T \right) - \nabla^2 \left( \mathcal{D}_{\textrm{T}} T \right) = 0,

where T is the transported scalar, \mathbf{U} is the fluid velocity, and \mathcal{D}_{\textrm{T}} is the diffusion coefficient divided by the fluid density, both supposed to be constant.