Spalart_Almaras_t Derived Type

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

  • private subroutine SAmodel_Initialize(self, controlVariables)

    Arguments

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

procedure, public :: ComputeViscosity => SA_ComputeViscosity

  • 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)

procedure, public :: ComputeSourceTerms => SA_Compute_SourceTerms

  • private subroutine SA_Compute_SourceTerms(self, rhotheta, kinematic_viscocity, rho, dwall, Q, Q_x, Q_y, Q_z, S_SA, 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) :: dwall
    real(kind=RP), intent(in) :: Q(NCONS)
    real(kind=RP), intent(in) :: Q_x(NCONS)
    real(kind=RP), intent(in) :: Q_y(NCONS)
    real(kind=RP), intent(in) :: Q_z(NCONS)
    real(kind=RP), intent(out) :: S_SA(NCONS)
    real(kind=RP), intent(in), optional :: xvec(NDIM)