diff --git a/SU2_EDU.xcodeproj/project.xcworkspace/xcshareddata/SU2_EDU.xccheckout b/SU2_EDU.xcodeproj/project.xcworkspace/xcshareddata/SU2_EDU.xccheckout index 32d56a2..e06a63b 100644 --- a/SU2_EDU.xcodeproj/project.xcworkspace/xcshareddata/SU2_EDU.xccheckout +++ b/SU2_EDU.xcodeproj/project.xcworkspace/xcshareddata/SU2_EDU.xccheckout @@ -6,47 +6,31 @@ IDESourceControlProjectIdentifier 6D5D11E8-6E33-4789-8BF8-C17C56384A83 - IDESourceControlProjectName - SU2_EDU IDESourceControlProjectOriginsDictionary - 6548554E-BB85-4761-B037-2133F1DD5C23 + 8ED49EFD43ED82F1325A556C62D1386A078F1F30 https://github.com/su2code/SU2_EDU.git - BBE8543F-7310-4BF1-8900-530E7F1B2E85 - https://github.com/su2code/SU2.git - IDESourceControlProjectPath - SU2_EDU.xcodeproj/project.xcworkspace IDESourceControlProjectRelativeInstallPathDictionary - 6548554E-BB85-4761-B037-2133F1DD5C23 - ../.. - BBE8543F-7310-4BF1-8900-530E7F1B2E85 - ../../../SU2/trunk + 8ED49EFD43ED82F1325A556C62D1386A078F1F30 + SU2_edu/ IDESourceControlProjectURL https://github.com/su2code/SU2_EDU.git IDESourceControlProjectVersion - 110 + 111 IDESourceControlProjectWCCIdentifier - 6548554E-BB85-4761-B037-2133F1DD5C23 + 8ED49EFD43ED82F1325A556C62D1386A078F1F30 IDESourceControlProjectWCConfigurations IDESourceControlRepositoryExtensionIdentifierKey public.vcs.git IDESourceControlWCCIdentifierKey - 6548554E-BB85-4761-B037-2133F1DD5C23 + 8ED49EFD43ED82F1325A556C62D1386A078F1F30 IDESourceControlWCCName - SU2_EDU - - - IDESourceControlRepositoryExtensionIdentifierKey - public.vcs.git - IDESourceControlWCCIdentifierKey - BBE8543F-7310-4BF1-8900-530E7F1B2E85 - IDESourceControlWCCName - trunk + SU2_edu diff --git a/SU2_EDU.xcodeproj/project.xcworkspace/xcuserdata/fpalacios.xcuserdatad/UserInterfaceState.xcuserstate b/SU2_EDU.xcodeproj/project.xcworkspace/xcuserdata/fpalacios.xcuserdatad/UserInterfaceState.xcuserstate index c05d942..14ea92e 100644 Binary files a/SU2_EDU.xcodeproj/project.xcworkspace/xcuserdata/fpalacios.xcuserdatad/UserInterfaceState.xcuserstate and b/SU2_EDU.xcodeproj/project.xcworkspace/xcuserdata/fpalacios.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/bin/ConfigFile_RANS.cfg b/bin/ConfigFile_RANS.cfg index 5012f73..02a29c8 100644 --- a/bin/ConfigFile_RANS.cfg +++ b/bin/ConfigFile_RANS.cfg @@ -17,16 +17,16 @@ PHYSICAL_PROBLEM= NAVIER_STOKES % Specify turbulence model (NONE, SA, SST) KIND_TURB_MODEL= SA -% -------------------- COMPRESSIBLE FREE-STREAM DEFINITION --------------------% +% -------------------- COMPRESSIBLE FREE-STREAM definition --------------------% % % Mach number (non-dimensional) -MACH_NUMBER= 0.2 +MACH_NUMBER= 0.7 % % Reynolds number (non-dimensional) -REYNOLDS_NUMBER= 5.0E6 +REYNOLDS_NUMBER= 1.0E6 % % Angle of attack (in degrees) -AoA= 5.0 +AoA= 3.0 % % Free-stream temperature (in degrees Kelvin) FREESTREAM_TEMPERATURE= 288.150 @@ -34,7 +34,7 @@ FREESTREAM_TEMPERATURE= 288.150 % ------------------------ NUMERICAL METHOD DEFINITION ------------------------% % % Courant-Friedrichs-Lewy condition (reduce this number if the code diverges) -CFL_NUMBER= 10.0 +CFL_NUMBER= 5.0 % % Convective numerical method (JST, ROE) CONV_NUM_METHOD_FLOW= ROE diff --git a/src/SU2_EDU.cpp b/src/SU2_EDU.cpp index 1a014eb..e6ef0a7 100644 --- a/src/SU2_EDU.cpp +++ b/src/SU2_EDU.cpp @@ -134,6 +134,12 @@ int main(int argc, char *argv[]) { cout << endl <<"------------------------- Solver Preprocessing --------------------------" << endl; + /*--- Computation of wall distances for turbulence modeling ---*/ + + if (config_container->GetKind_Solver() == RANS) { + geometry_container[MESH_0]->ComputeWall_Distance(config_container); + } + /*--- Definition of the solver class: solver_container[#MG_GRIDS][#EQ_SYSTEMS]. The solver classes are specific to a particular set of governing equations, and they contain the subroutines with instructions for computing each spatial diff --git a/src/config_structure.cpp b/src/config_structure.cpp index 7bcf2db..3df0d61 100644 --- a/src/config_structure.cpp +++ b/src/config_structure.cpp @@ -1736,7 +1736,7 @@ void CConfig::SetPostprocessing(unsigned short val_software, unsigned short val_ nMG_PreSmooth = nMultiLevel+1; MG_PreSmooth = new unsigned short[nMG_PreSmooth]; for (unsigned int i = 0; i < nMG_PreSmooth; i++) - MG_PreSmooth[i] = i+1; + MG_PreSmooth[i] = 1; } if ((nMG_PostSmooth != nMultiLevel+1) && (nMG_PostSmooth != 0)) {