Skip to content

Commit

Permalink
Complilable and runnable dry-case (-d) code
Browse files Browse the repository at this point in the history
trans_conv/diff and soures filled in. eN transition added to the ft2 term inside SA sources. I have added my T3A- mesh and .cfg that I use for testing to the Quickstart folder.

Next step is to debug eN itself. Regular run is not yet working.
  • Loading branch information
RichRoos committed Sep 22, 2022
1 parent 1347597 commit 56b93c1
Show file tree
Hide file tree
Showing 19 changed files with 106,473 additions and 87 deletions.
2 changes: 1 addition & 1 deletion Common/include/CConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1935,7 +1935,7 @@ class CConfig {
* \return Non-dimensionalized freestream intermittency.
*/
su2double GetIntermittency_FreeStream(void) const { return Intermittency_FreeStream; }

/*!
* \brief Get the value of the non-dimensionalized freestream amplification factor.
* \return Non-dimensionalized freestream amplification factor.
Expand Down
15 changes: 8 additions & 7 deletions Common/src/CConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4722,12 +4722,12 @@ void CConfig::SetPostprocessing(SU2_COMPONENT val_software, unsigned short val_i
if (Kind_Trans_Model == TURB_TRANS_MODEL::LM) {
SU2_MPI::Error("The LM transition model is under maintenance.", CURRENT_FUNCTION);
}
if ((Kind_Turb_Model != TURB_MODEL::SA) && Kind_Trans_Model == TURB_TRANS_MODEL::EN) {
SU2_MPI::Error("eN transition model currently only available in combination with SA (basic/FT2) turbulence model!", CURRENT_FUNCTION);

if ((!saParsedOptions.ft2) && (Kind_Trans_Model == TURB_TRANS_MODEL::EN)) {
SU2_MPI::Error("eN transition model is only available with the SA-WITHFT2 turbulence model.", CURRENT_FUNCTION);
}

if(Turb_Fixed_Values && !OptionIsSet("TURB_FIXED_VALUES_DOMAIN")){
if (Turb_Fixed_Values && !OptionIsSet("TURB_FIXED_VALUES_DOMAIN")){
SU2_MPI::Error("TURB_FIXED_VALUES activated, but no domain set with TURB_FIXED_VALUES_DOMAIN.", CURRENT_FUNCTION);
}

Expand Down Expand Up @@ -6005,6 +6005,7 @@ void CConfig::SetOutput(SU2_COMPONENT val_software, unsigned short val_izone) {
cout << "Spalart-Allmaras";

if (!saParsedOptions.ft2) cout << "-noft2";
if (saParsedOptions.ft2) cout << "-ft2";
if (saParsedOptions.rot) cout << "-R";
if (saParsedOptions.comp) cout << "-comp";
if (saParsedOptions.qcr2000) cout << "-QCR2000";
Expand Down Expand Up @@ -6036,9 +6037,9 @@ void CConfig::SetOutput(SU2_COMPONENT val_software, unsigned short val_izone) {
cout << "." << endl;
break;
}
switch (Kind_Trans_Model) {
case TURB_TRANS_MODEL::NONE: break;
case TURB_TRANS_MODEL::EN: cout << "Low-turbulence Transition model: eN 1 equation model (2014)" << endl; break;
switch (Kind_Trans_Model) {
case TURB_TRANS_MODEL::NONE: break;
case TURB_TRANS_MODEL::EN: cout << "Low-turbulence Transition model: eN 1 equation model (2014)" << endl; break;
}
cout << "Hybrid RANS/LES: ";
switch (Kind_HybridRANSLES) {
Expand Down
Loading

0 comments on commit 56b93c1

Please sign in to comment.