Difference between revisions of "Contrib simpleScalarFoam"
From OpenFOAMWiki
AntonChupin (Talk | contribs) |
|||
(8 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
== Short description == | == Short description == | ||
− | A steady-state incompressible | + | A steady-state incompressible turbulent flow solver with scalar transport and mass transfer coefficient and Sherwood number calculation. |
== Compilation == | == Compilation == | ||
Line 10: | Line 10: | ||
* Download the solver package | * Download the solver package | ||
− | * tar xzf | + | * tar xzf SimpleScalarFoam.tar.gz |
* cd simpleScalarFoam | * cd simpleScalarFoam | ||
* wmake | * wmake | ||
Line 19: | Line 19: | ||
<math> | <math> | ||
− | \nabla \cdot \left(\ | + | \nabla \cdot \left(\mathbf{U} T\right) - \nabla \cdot \left( (D_T + \nu_{turb}/Sc_{turb}) \nabla T \right) = 0 |
</math> | </math> | ||
− | The mass transfer coefficient is determined at each wall by: | + | The mass transfer coefficient is determined at each wall by assuming that the value of ''T'' at the wall is zero: |
− | <math>k_c=-\frac{D_T}{T_b | + | <math>k_c=-\frac{D_T}{T_b} \frac{\partial T}{\partial y}|_{y=0}</math> |
− | where <math>T_b</math> is the bulk value of ''T'' | + | where <math>T_b</math> is the bulk value of ''T'' and ''y'' is the direction normal to the wall. |
The Sherwood number is then determined by: | The Sherwood number is then determined by: | ||
Line 33: | Line 33: | ||
where ''d'' is the characteristic dimension. | where ''d'' is the characteristic dimension. | ||
+ | |||
+ | In order to use the solver, you should add <math>D_T</math>, <math>T_b</math> and ''d'' to the transportProperties dictionary. | ||
== Download == | == Download == | ||
Line 38: | Line 40: | ||
The most up-to-date version of the sources can be downloaded below: | The most up-to-date version of the sources can be downloaded below: | ||
+ | *[[Media:SimpleScalarFoam.tar.gz|SimpleScalarFoam.tar.gz]] | ||
== History == | == History == | ||
+ | * 2009-06-15: Second version | ||
* 2009-01-19: Initial upload | * 2009-01-19: Initial upload | ||
+ | |||
+ | [[Category:Incompressible flow solvers]] |
Latest revision as of 10:17, 21 October 2013
1 Short description
A steady-state incompressible turbulent 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 assuming that the value of T at the wall is zero:
where is the bulk value of T and y is the direction normal to the wall.
The Sherwood number is then determined by:
where d is the characteristic dimension.
In order to use the solver, you should add , and d to the transportProperties dictionary.
4 Download
The most up-to-date version of the sources can be downloaded below:
5 History
- 2009-06-15: Second version
- 2009-01-19: Initial upload