Skip to content

Commit 06085e7

Browse files
committed
cleanup
1 parent 14148d1 commit 06085e7

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

SU2_CFD/src/solvers/CEulerSolver.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6995,9 +6995,9 @@ void CEulerSolver::BC_Inlet(CGeometry *geometry, CSolver **solver_container,
69956995
from the domain interior. ---*/
69966996

69976997
Riemann = 2.0*sqrt(SoundSpeed2)/Gamma_Minus_One;
6998-
for (iDim = 0; iDim < nDim; iDim++) {
6998+
for (iDim = 0; iDim < nDim; iDim++)
69996999
Riemann += Velocity[iDim]*UnitNormal[iDim];
7000-
}
7000+
70017001
/*--- Total speed of sound ---*/
70027002

70037003
SoundSpeed_Total2 = Gamma_Minus_One*(H_Total - (Energy + Pressure/Density)+0.5*Velocity2) + SoundSpeed2;
@@ -7094,7 +7094,6 @@ void CEulerSolver::BC_Inlet(CGeometry *geometry, CSolver **solver_container,
70947094
Flow_Dir[iDim] = dir[iDim]/mag;
70957095
}
70967096

7097-
70987097
/*--- Non-dim. the inputs if necessary. ---*/
70997098

71007099
Density /= config->GetDensity_Ref();

config_template.cfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,8 @@ INC_INLET_TYPE= VELOCITY_INLET
290290
% Damping coefficient for iterative updates at pressure inlets. (0.1 by default)
291291
INC_INLET_DAMPING= 0.1
292292
%
293-
% (Deprecated) Impose inlet velocity magnitude in the direction of the normal of the inlet face
294-
INC_INLET_USENORMAL= NO
295-
% Impose inlet velocity magnitude in the direction of the normal of the inlet face
293+
% Impose inlet velocity magnitude in the direction of the normal of the inlet face.
294+
% used for incompressible velocity inlet and for compressible pressure and mass flow inlets.
296295
INLET_USENORMAL= NO
297296
%
298297
% List of outlet types for incompressible flows. List length must

0 commit comments

Comments
 (0)