|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Alberto Cuoci
Join Date: Mar 2014
Posts: 1
Rep Power: 0 ![]() |
Hello everybody,
I need to calculate the subgrid-scale mixing rate TauSGS in a LES simulation, which is defined in the following way: TauSGS = 1 / sqrt ( 2 * Sij*Sij) where Sij is the strain rate tensor (in 1/s), i.e.: Sij = 0.5 * ( dvi/dxj + dvj/dxi) where dvi/dxi is the derivative of j-th component of velocity with respect to the i-th coordinate 1. Do you know how I can calculate it in OpenFOAM? 2. Do you also know how I can distinguish if I am performing a RANS or a LES simulation? In other words, is there any function in the turbulenceModel class returning if this is a RANS or a LES? Thank you very much in advance! Alberto |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 24 ![]() |
Hi Alberto,
You can try something like: Code:
volSymmTensorField S(dev(symm(gradU)));
volScalarField magS(sqrt(2.0)*mag(S));
volScalarField tau("tau",pow(2*magS*magS,-0.5));
Cheers, L |
|
|
|
|
|
![]() |
| Tags |
| les model, strain rate, subgrid scale |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| reasonable mixing rate for C2H6 Oxygen mixture | N. Schiepel | CFX | 0 | September 12, 2008 05:57 |
| how to do in dynamic subgrid sgs les model? | aiya | Main CFD Forum | 2 | September 15, 2006 02:45 |
| Some Questions about LES. | Bin Li | Main CFD Forum | 2 | February 20, 2004 10:58 |
| Anisotropic subgrid model (LES) | h.jordi | Main CFD Forum | 1 | August 29, 2002 16:49 |
| LES unsteady : Turbulent Mixing Layer | Flav | FLUENT | 5 | December 13, 1999 04:11 |