CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Implementation into the reynolds stress equation (https://www.cfd-online.com/Forums/openfoam/87294-implementation-into-reynolds-stress-equation.html)

aki_yafuji April 15, 2011 22:51

Implementation into the reynolds stress equation
 
Dear everyone!

The time evolution equation of the reynolds stress tensor R_ij = bar(u_i*u_j) is described as follows;

//-----------------------------------------------
tmp<fvSymmTensorMatrix> REqn
(
fvm::ddt(R_)
+ ...
//-----------------------------------------------

I would like to implement R_i1 = bar(u_i*u_1) and R_i2 = bar(u_i*u_2) into the equaion, how should I write?
(bar(u_i*u_1) = bar(u_i*u_j)*δ_j1 ? where δ_ij is the Kronecker delta)
Would you be able to help me?

aki


All times are GMT -4. The time now is 23:22.