47 options = val_options;
62 rethetac = min(0.615 * Re_theta_t + 61.5, Re_theta_t);
67 rethetac = min(0.1 *
exp(-0.0022 * Re_theta_t + 12), 300.0);
72 rethetac = 0.91 * Re_theta_t + 5.32;
80 rethetac = Re_theta_t / (FirstTerm + SecondTerm + ThirdTerm + 1.0744);
88 rethetac = (FirstTerm - SecondTerm + ThirdTerm + 0.585) * Re_theta_t;
93 rethetac = 0.62 * Re_theta_t;
98 if (Re_theta_t <= 1870) {
100 const su2double SecondTerm = (10120.656 *
pow(10, -4)) * Re_theta_t;
101 const su2double ThirdTerm = (-868.230 *
pow(10, -6)) *
pow(Re_theta_t, 2);
102 const su2double ForthTerm = (696.506 *
pow(10, -9)) *
pow(Re_theta_t, 3);
103 const su2double FifthTerm = (-174.105 *
pow(10, -12)) *
pow(Re_theta_t, 4);
104 rethetac = FirstTerm + SecondTerm + ThirdTerm + ForthTerm + FifthTerm;
106 rethetac = Re_theta_t - (593.11 + 0.482 * (Re_theta_t - 1870.0));
112 SU2_MPI::Error(
"Transition correlation is set to DEFAULT but no default value has ben set in the code.",
131 F_length1 = min(
exp(7.168 - 0.01173 * Re_theta_t) + 0.5, 300.0);
136 const su2double FirstTerm = -
pow(0.025 * Re_theta_t, 2) + 1.47 * Re_theta_t - 120.0;
137 F_length1 = min(max(FirstTerm, 125.0), Re_theta_t);
142 F_length1 = 3.39 * Re_theta_t + 55.03;
148 F_length1 = log(Re_theta_t + 1) / Tu;
152 F_length1 = log(Re_theta_t + 1) * (FirstTerm + SecondTerm + 2.1449);
160 F_length1 = (FirstTerm - SecondTerm + 0.0306);
170 if (Re_theta_t < 400) {
171 F_length1 = 39.8189 + (-119.270 *
pow(10, -4)) * Re_theta_t +
172 (-132.567 *
pow(10, -6)) * Re_theta_t * Re_theta_t;
173 }
else if (Re_theta_t < 596) {
174 F_length1 = 263.404 + (-123.939 *
pow(10, -2)) * Re_theta_t +
175 (194.548 *
pow(10, -5)) *
pow(Re_theta_t, 2) +
176 (-101.695 *
pow(10, -8)) *
pow(Re_theta_t, 3);
177 }
else if (Re_theta_t < 1200) {
178 F_length1 = 0.5 - (3.0 *
pow(10, -4)) * (Re_theta_t - 596.0);
185 SU2_MPI::Error(
"Transition correlation is set to DEFAULT but no default value has ben set in the code.",
static void Error(const std::string &ErrorMsg, const std::string &FunctionName)
Definition mpi_structure.cpp:131
Class for LM model's correlation functions.
Definition trans_correlations.hpp:35
void SetOptions(const LM_ParsedOptions val_options)
Set LM options.
Definition trans_correlations.hpp:46
su2double FLength_Correlations(const su2double Tu, const su2double Re_theta_t) const
Compute FLength from correlations.
Definition trans_correlations.hpp:126
su2double ReThetaC_Correlations(const su2double Tu, const su2double Re_theta_t) const
Compute Re_theta_c from correlations.
Definition trans_correlations.hpp:56
passivedouble su2double
Definition code_config.hpp:181
FORCEINLINE ARRAY_T exp(const ARRAY_T &x)
Definition special_vectorization.hpp:156
FORCEINLINE ARRAY_T pow(const ARRAY_T &a, const ARRAY_T &b)
Definition special_vectorization.hpp:179
#define CURRENT_FUNCTION
Definition mpi_structure.hpp:59
@ MEDIDA_BAEDER
Kind of transition correlation model (Medida-Baeder).
@ KRAUSE
Kind of transition correlation model (Krause).
@ MENTER_LANGTRY
Kind of transition correlation model (Menter-Langtry).
@ KRAUSE_HYPER
Kind of transition correlation model (Krause hypersonic).
@ DEFAULT
Kind of transition correlation model (Menter-Langtry if SST, MALAN if SA).
@ MALAN
Kind of transition correlation model (Malan).
@ SULUKSNA
Kind of transition correlation model (Suluksna).
@ MEDIDA
Kind of transition correlation model (Medida).
Structure containing parsed LM options.
Definition option_structure.hpp:1417
TURB_TRANS_CORRELATION Correlation
Definition option_structure.hpp:1420