Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Palacios committed Nov 9, 2014
2 parents 5abe761 + e29b792 commit 2a42d64
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,47 +6,31 @@
<false/>
<key>IDESourceControlProjectIdentifier</key>
<string>6D5D11E8-6E33-4789-8BF8-C17C56384A83</string>
<key>IDESourceControlProjectName</key>
<string>SU2_EDU</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>6548554E-BB85-4761-B037-2133F1DD5C23</key>
<key>8ED49EFD43ED82F1325A556C62D1386A078F1F30</key>
<string>https://github.com/su2code/SU2_EDU.git</string>
<key>BBE8543F-7310-4BF1-8900-530E7F1B2E85</key>
<string>https://github.com/su2code/SU2.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>SU2_EDU.xcodeproj/project.xcworkspace</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>6548554E-BB85-4761-B037-2133F1DD5C23</key>
<string>../..</string>
<key>BBE8543F-7310-4BF1-8900-530E7F1B2E85</key>
<string>../../../SU2/trunk</string>
<key>8ED49EFD43ED82F1325A556C62D1386A078F1F30</key>
<string>SU2_edu/</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>https://github.com/su2code/SU2_EDU.git</string>
<key>IDESourceControlProjectVersion</key>
<integer>110</integer>
<integer>111</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>6548554E-BB85-4761-B037-2133F1DD5C23</string>
<string>8ED49EFD43ED82F1325A556C62D1386A078F1F30</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>6548554E-BB85-4761-B037-2133F1DD5C23</string>
<string>8ED49EFD43ED82F1325A556C62D1386A078F1F30</string>
<key>IDESourceControlWCCName</key>
<string>SU2_EDU</string>
</dict>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>BBE8543F-7310-4BF1-8900-530E7F1B2E85</string>
<key>IDESourceControlWCCName</key>
<string>trunk</string>
<string>SU2_edu</string>
</dict>
</array>
</dict>
Expand Down
Binary file not shown.
10 changes: 5 additions & 5 deletions bin/ConfigFile_RANS.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ 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

% ------------------------ 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
Expand Down
6 changes: 6 additions & 0 deletions src/SU2_EDU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/config_structure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 2a42d64

Please sign in to comment.