SpallartAlmarasTurbulence Module



Variables

Type Visibility Attributes Name Initial
class(Spalart_Almaras_t), public, allocatable :: SAmodel

Derived Types

type, public ::  Spalart_Almaras_t

Components

Type Visibility Attributes Name Initial
logical, public :: constructed = .false.
real(kind=RP), public :: cv1 = 7.1_RP
real(kind=RP), public :: cv2 = 0.7_RP
real(kind=RP), public :: cv3 = 0.9_RP
real(kind=RP), public :: cb1 = 0.1355_RP
real(kind=RP), public :: cb2 = 0.622_RP
real(kind=RP), public :: cw2 = 0.3_RP
real(kind=RP), public :: cw3 = 2.0_RP
real(kind=RP), public :: kappa = 0.41_RP
real(kind=RP), public :: sigma_sa = 2.0_RP/3.0_RP
real(kind=RP), public :: rmax = 2.0_RP
real(kind=RP), public :: cw1

Type-Bound Procedures

procedure, public :: Initialize => SAmodel_Initialize
procedure, public :: ComputeViscosity => SA_ComputeViscosity
procedure, public :: ComputeSourceTerms => SA_Compute_SourceTerms

Subroutines

public subroutine InitializeTurbulenceModel(model, controlVariables)

Arguments

Type IntentOptional Attributes Name
class(Spalart_Almaras_t), allocatable :: model
class(FTValueDictionary), intent(in) :: controlVariables

public subroutine SA_ComputeViscosity(self, rhotheta, kinematic_viscocity, rho, mu, mu_t, eta, xvec)

Arguments

Type IntentOptional Attributes Name
class(Spalart_Almaras_t), intent(inout) :: self
real(kind=RP), intent(in) :: rhotheta
real(kind=RP), intent(in) :: kinematic_viscocity
real(kind=RP), intent(in) :: rho
real(kind=RP), intent(in) :: mu
real(kind=RP), intent(inout) :: mu_t
real(kind=RP), intent(inout) :: eta
real(kind=RP), intent(in), optional :: xvec(3)