-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLES_Filtering_main.f90
33 lines (25 loc) · 1.5 KB
/
LES_Filtering_main.f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
!------------------------------------------------------------------------------!
! !
! PROGRAM : LES_Filtering_main.f90 !
! !
! PURPOSE : To LES-filter the DNS data for turbulent channel flow. !
! (a) : obtain a filtered velocity by applying Gaussian filter !
! (b) : obtain the residual-stress tensor !
! (c) : obtain the residual viscosity !
! (d) : obtain averaged Smagorinsky coefficient !
! !
! 2016.12.07 K.Noh !
! !
!------------------------------------------------------------------------------!
PROGRAM LES_FILTERING
USE LES_FILTERING_module, &
ONLY : FILTER_OX, VS_ONLY
IMPLICIT NONE
REAL(KIND=8) :: time_sta, time_end
CALL SETUP
CALL READ_DNS
IF ( FILTER_OX > 0) CALL FILTER
IF ( FILTER_OX > 1) CALL SECOND_FILTER
IF ( mod(VS_ONLY,2) == 0 ) CALL VORTICAL_STRUCTURE
CALL OUTPUT
END PROGRAM LES_FILTERING