Difference between revisions of "Contrib simpleScalarFoam"
From OpenFOAMWiki
Line 16: | Line 16: | ||
== Physics == | == Physics == | ||
− | The solver is based on simpleFoam, with | + | The solver is based on simpleFoam, with the transport of a scalar ''T'' having a mass diffusion coefficient <math>D_T</math>: |
<math> | <math> | ||
\nabla \cdot \left(\varphi T\right) - \nabla^2 \left( D_T \cdot T \right) = 0 | \nabla \cdot \left(\varphi T\right) - \nabla^2 \left( D_T \cdot T \right) = 0 | ||
</math> | </math> | ||
+ | |||
+ | The mass transfer coefficient is determined at each wall by: | ||
+ | |||
+ | <math>k_c=-\frac{D_T}{T_b-T_{wall}} \frac{\partial T}{\partial y}|_{y=0}</math> | ||
+ | |||
+ | where <math>T_b</math> is the bulk value of ''T'', <math>T_{wall}</math> is the value of ''T'' at the wall and ''y'' is the direction normal to the wall. | ||
+ | |||
+ | The Sherwood number is then determined by: | ||
+ | |||
+ | <math>Sh=\frac{k_c d}{D_T}</math> | ||
+ | |||
+ | where ''d'' is the characteristic dimension. | ||
== Download == | == Download == |
Revision as of 11:56, 19 January 2009
1 Short description
A steady-state 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 simpleScalarFoam.tar.gz
- cd simpleScalarFoam
- wmake
3 Physics
The solver is based on simpleFoam, with the transport of a scalar T having a mass diffusion coefficient :
The mass transfer coefficient is determined at each wall by:
where is the bulk value of T, is the value of T at the wall and y is the direction normal to the wall.
The Sherwood number is then determined by:
where d is the characteristic dimension.
4 Download
The most up-to-date version of the sources can be downloaded below:
5 History
- 2009-01-19: Initial upload