Skip to content

Commit f837bd5

Browse files
small fix
1 parent 08384b8 commit f837bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SU2_CFD/src/solvers/CEulerSolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7357,7 +7357,7 @@ void CEulerSolver::BC_Supersonic_Inlet(CGeometry *geometry, CSolver **solver_con
73577357
const su2double Velocity2 = GeometryToolbox::SquaredNorm(int(MAXNDIM), Velocity);
73587358
su2double Energy = Pressure / (Density * Gamma_Minus_One) + 0.5 * Velocity2;
73597359
if (tkeNeeded) {
7360-
const su2double* Turb_Properties = config->GetInlet_TurbVal(config->GetMarker_All_TagBound(val_marker));
7360+
const su2double* Turb_Properties = config->GetInlet_TurbVal(Marker_Tag);
73617361
const su2double Intensity = Turb_Properties[0];
73627362
const su2double Tke = 3.0 / 2.0 * (Velocity2* pow(Intensity, 2));
73637363
Energy += Tke;

0 commit comments

Comments
 (0)