Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/turbulence/sa.F90
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ subroutine saSource

! Local variables.
integer(kind=intType) :: i, j, k, nn, ii
real(kind=realType) :: cv13, kar2Inv, cw36, cb3Inv
real(kind=realType) :: fv1, fv2, ft2
real(kind=realType) :: ss, sst, nu, dist2Inv, chi, chi2, chi3
real(kind=realType) :: rr, gg, gg6, termFw, fwSa, term1, term2
Expand Down Expand Up @@ -354,6 +355,7 @@ subroutine saViscous
implicit none
! Local variables.
integer(kind=intType) :: i, j, k, nn, ii
real(kind=realType) :: cv13, kar2Inv, cw36, cb3Inv
real(kind=realType) :: nu
real(kind=realType) :: fv1, fv2, ft2
real(kind=realType) :: voli, volmi, volpi, xm, ym, zm, xp, yp, zp
Expand Down Expand Up @@ -720,6 +722,7 @@ subroutine saSolve
! original Spalart-Allmaras model in a decoupled manner using
! a diagonal dominant ADI-scheme.
use blockPointers
use constants
use inputIteration
use inputPhysics
use paramTurb
Expand All @@ -728,6 +731,7 @@ subroutine saSolve
implicit none

integer(kind=intType) :: i, j, k, nn, ii
real(kind=realType) :: cb3Inv
real(kind=realType), dimension(2:max(kl, il, jl)) :: bb, cc, dd, ff
real(kind=realType) :: voli, volmi, volpi, xm, ym, zm, xp, yp, zp
real(kind=realType) :: xa, ya, za, ttm, ttp, cnud, cam, cap
Expand All @@ -740,6 +744,8 @@ subroutine saSolve
logical, dimension(2:il, 2:jl), target :: flagK2, flagKl
logical, dimension(:, :), pointer :: flag

! Set model constant
cb3Inv = one / rsaCb3

! Initialize the wall function flags to .false.

Expand Down
Loading