This source code produces the the following .dat files which can be read by xmgrace (but you may have to remove the text from the first line).

Where the following notation is used: Production ~ $P$, Turbulent diffusion ~ $T^u$, Pressure diffusion ~ $T^p$, Viscous diffusion ~ $T^\nu$, Dissipation ~ $\epsilon$

Rij.dat :     $y$, $y^+$, $u$, $\overline{u'u'}$, $\overline{v'v'}$, $\overline{w'w'}$, $\overline{u'v'}$

k.dat :        $y$, $y^+$, $P_k$, ${T^u}_k$, ${T^p}_k$, ${T^\nu}_k$, ${\epsilon}_k$

upup.dat$y$, $y^+$, $P_{uu}$, ${T^u}_{uu}$, ${T^p}_{uu}$, ${T^\nu}_{uu}$, ${\epsilon}_{uu}$

vpvp.dat$y$, $y^+$, $P_{vv}$, ${T^u}_{vv}$, ${T^p}_{vv}$, ${T^\nu}_{vv}$, ${\epsilon}_{vv}$

wpwp.dat : $y$, $y^+$, $P_{ww}$, ${T^u}_{ww}$, ${T^p}_{ww}$, ${T^\nu}_{ww}$, ${\epsilon}_{ww}$

upvp.dat :   $y$, $y^+$, $P_{uv}$, ${T^u}_{uv}$, ${T^p}_{uv}$, ${T^\nu}_{uv}$, ${\epsilon}_{uv}$

triple_corr.dat : $y$, $y^+$, $\overline{v'u'u'}$, $\overline{v'v'v'}$, $\overline{v'w'w'}$

user.dat : $y$, $y^+$, 6 user defined statistics which should be inserted into dnsstat.F

 SUBROUTINE DNSTIME 

The code has been set up for 6 additional user defined statistics which have been accumulated as follows

c=========================================================================
C    extra user defined statistics 
C    feel free to add your own here or modify M1T, M2T, M3T, M4T, M5T, M6T
        M1T(IEL) = M1T(IEL) + RA(IGRADV+((1-1)+3*(2-1))*NCELET+IEL-1) 
        SIGNE=QQ/ABS(QQ)
        QQ=ABS(QQ)   
        IF (TT.NE.0) THEN  
           M2T(IEL) = M2T(IEL) + SIGNE*(DELTA**2.)*(QQ**1.5)*(TT**-1.0)
        ENDIF 
        IF (QQ.GT.0) THEN  
           M3T(IEL) = M3T(IEL) + SIGNE*(DELTA**2.)*(QQ**1.0)*(TT**-0.5)
           M4T(IEL) = M4T(IEL) + (DELTA**2.)*(QQ**0.5)
           M5T(IEL) = M5T(IEL) + (DELTA**2.)*(QQ**0.25)*(TT**0.25)
           M6T(IEL) = M6T(IEL) + (DELTA**1.5)*QQ**0.25*TT**0.125
        ENDIF
c=========================================================================

Current Tags:
create new tag
, view all tags
Topic revision: r2 - 2010-01-22 - 09:43:19 - YacineKahil
Main Web
25 Sep 2018

Site

Manchester CfdTm
Code_Saturne

Ongoing Projects

ATAAC
KNOO

Previous Projects

DESider
FLOMANIA

Useful Links:

User Directory
Photo Wall
Upcoming Events
Add Event
 

Computational Fluid Dynamics and Turbulence Mechanics
@ the University of Manchester
Copyright © by the contributing authors. Unless noted otherwise, all material on this web site is the property of the contributing authors.