Skip to content

Commit 720838c

Browse files
committed
update pins
1 parent 0f4977f commit 720838c

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

SU2_CFD/src/numerics/flow/flow_diffusion.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,16 @@ void CAvgGrad_Base::SetStressTensor(const su2double *val_primvar,
131131
* parts of tau can be computed with the total viscosity. --- */
132132

133133
if (using_uq){
134-
ComputeStressTensor(nDim, tau, val_gradprimvar+1, val_laminar_viscosity); // laminar part
134+
// laminar part
135+
ComputeStressTensor(nDim, tau, val_gradprimvar+1, val_laminar_viscosity);
135136
// add turbulent part which was perturbed
136137
for (unsigned short iDim = 0 ; iDim < nDim; iDim++)
137138
for (unsigned short jDim = 0 ; jDim < nDim; jDim++)
138139
tau[iDim][jDim] += (-Density) * MeanPerturbedRSM[iDim][jDim];
139140
} else {
140-
// compute both parts in one step
141141
const su2double total_viscosity = val_laminar_viscosity + val_eddy_viscosity;
142-
ComputeStressTensor(nDim, tau, val_gradprimvar+1, total_viscosity, Density, su2double(0.0)); // TODO why ignore turb_ke?
142+
// turb_ke is not considered in the stress tensor, see #797
143+
ComputeStressTensor(nDim, tau, val_gradprimvar+1, total_viscosity, Density, su2double(0.0));
143144
}
144145
}
145146

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"VARIABLE" , "AVG_DENSITY[0]", "AVG_ENTHALPY[0]", "AVG_NORMALVEL[0]", "DRAG[0]" , "EFFICIENCY[0]" , "FORCE_X[0]" , "FORCE_Y[0]" , "FORCE_Z[0]" , "LIFT[0]" , "MOMENT_X[0]" , "MOMENT_Y[0]" , "MOMENT_Z[0]" , "SIDEFORCE[0]" , "SURFACE_MACH[0]", "SURFACE_MASSFLOW[0]", "SURFACE_MOM_DISTORTION[0]", "SURFACE_PRESSURE_DROP[0]", "SURFACE_SECONDARY[0]", "SURFACE_SECOND_OVER_UNIFORM[0]", "SURFACE_STATIC_PRESSURE[0]", "SURFACE_STATIC_TEMPERATURE[0]", "SURFACE_TOTAL_PRESSURE[0]", "SURFACE_TOTAL_TEMPERATURE[0]", "SURFACE_UNIFORMITY[0]", "AVG_TEMPERATURE[1]", "MAXIMUM_HEATFLUX[1]", "TOTAL_HEATFLUX[1]", "FINDIFF_STEP"
2-
0 , 0.0 , -100000.01639127731, -2.2204999999731917e-08, 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , -0.04999999997368221, 1.1109999995104307e-08, -2.0599999983605954 , 0.0 , 2.12000000054946 , 3.709999998879887 , 330.00000030369847 , -39.999997625272954 , 315.0000011942211 , -39.999997625272954 , -1.400000004814217 , -129.99999512430804, 0.0 , -509.99999530176865, 1e-08
2+
0 , 0.0 , -100000.01639127731, 1.1102999999850092e-08, 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , -0.04999999997368221, -4.4410000000756306e-08, -2.0599999983605954 , 0.0 , 2.12000000054946 , 3.709999998879887 , 330.00000030369847 , -39.999997625272954 , 315.0000011942211 , -39.999997625272954 , -1.400000004814217 , -129.99999512430804, 0.0 , -509.99999530176865, 1e-08

TestCases/parallel_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,7 @@ def main():
14281428
sp_pinArray_3d_cht_mf_hf_tp.cfg_dir = "incomp_navierstokes/streamwise_periodic/chtPinArray_3d"
14291429
sp_pinArray_3d_cht_mf_hf_tp.cfg_file = "configMaster.cfg"
14301430
sp_pinArray_3d_cht_mf_hf_tp.test_iter = 30
1431-
sp_pinArray_3d_cht_mf_hf_tp.test_vals = [-13.380025, -7.476945, -7.025285, -0.009675, 99.879812, 4.1920e+02]
1431+
sp_pinArray_3d_cht_mf_hf_tp.test_vals = [-13.380430, -7.476945, -7.025285, -0.009675, 99.879812, 4.1920e+02]
14321432
sp_pinArray_3d_cht_mf_hf_tp.su2_exec = "mpirun -n 2 SU2_CFD"
14331433
sp_pinArray_3d_cht_mf_hf_tp.timeout = 1600
14341434
sp_pinArray_3d_cht_mf_hf_tp.tol = 0.00001

0 commit comments

Comments
 (0)