Skip to content

Commit dc371cf

Browse files
authored
- Fix bug in MAX_Velocity_Z value for incompressible flow (#2466)
1 parent 3bf94ea commit dc371cf

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

SU2_CFD/src/output/CFlowIncOutput.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ void CFlowIncOutput::LoadHistoryData(CConfig *config, CGeometry *geometry, CSolv
211211
SetHistoryOutputValue("MAX_PRESSURE", log10(flow_solver->GetRes_Max(0)));
212212
SetHistoryOutputValue("MAX_VELOCITY-X", log10(flow_solver->GetRes_Max(1)));
213213
SetHistoryOutputValue("MAX_VELOCITY-Y", log10(flow_solver->GetRes_Max(2)));
214-
if (nDim == 3) SetHistoryOutputValue("RMS_VELOCITY-Z", log10(flow_solver->GetRes_Max(3)));
214+
if (nDim == 3) SetHistoryOutputValue("MAX_VELOCITY-Z", log10(flow_solver->GetRes_Max(3)));
215215

216216
if (multiZone){
217217
SetHistoryOutputValue("BGS_PRESSURE", log10(flow_solver->GetRes_BGS(0)));

TestCases/parallel_regression.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ def main():
586586
inc_lam_sphere.cfg_dir = "incomp_navierstokes/sphere"
587587
inc_lam_sphere.cfg_file = "sphere.cfg"
588588
inc_lam_sphere.test_iter = 5
589-
inc_lam_sphere.test_vals = [-8.342926, -8.032107, 0.121003, 25.782687]
589+
inc_lam_sphere.test_vals = [-8.342926, -9.322789, 0.121003, 25.782687]
590590
test_list.append(inc_lam_sphere)
591591

592592
# Buoyancy-driven cavity
@@ -618,7 +618,7 @@ def main():
618618
sp_pipeSlice_3d_dp_hf_tp.cfg_dir = "incomp_navierstokes/streamwise_periodic/pipeSlice_3d"
619619
sp_pipeSlice_3d_dp_hf_tp.cfg_file = "sp_pipeSlice_3d_dp_hf_tp.cfg"
620620
sp_pipeSlice_3d_dp_hf_tp.test_iter = 10
621-
sp_pipeSlice_3d_dp_hf_tp.test_vals = [-11.119796, -11.234737, -8.694310, -0.000023]
621+
sp_pipeSlice_3d_dp_hf_tp.test_vals = [-11.119796, -11.234737, -9.429479, -0.000023]
622622
test_list.append(sp_pipeSlice_3d_dp_hf_tp)
623623

624624
# 2D pin array with heat transfer BC on pin surfaces

TestCases/tutorials.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def main():
9696
sudo_tutorial.cfg_dir = "../Tutorials/incompressible_flow/Inc_Turbulent_Bend_Wallfunctions"
9797
sudo_tutorial.cfg_file = "sudo.cfg"
9898
sudo_tutorial.test_iter = 10
99-
sudo_tutorial.test_vals = [-14.286992, -12.868418, -13.150195, -11.400439, -13.027783, -9.510980, 15.000000, -2.288151]
99+
sudo_tutorial.test_vals = [-14.286992, -12.868418, -13.150195, -13.036596, -13.027783, -9.510980, 15.000000, -2.288151]
100100
sudo_tutorial.command = TestCase.Command("mpirun -n 2", "SU2_CFD")
101101
test_list.append(sudo_tutorial)
102102

@@ -105,7 +105,7 @@ def main():
105105
sudo_design_primal.cfg_dir = "../Tutorials/design/Inc_Turbulent_Bend_Wallfunctions"
106106
sudo_design_primal.cfg_file = "sudo_primal.cfg"
107107
sudo_design_primal.test_iter = 10
108-
sudo_design_primal.test_vals = [-12.064068, -11.348930, -11.059284, -10.029629, -11.437307, -8.258444, 64.545000]
108+
sudo_design_primal.test_vals = [-12.064068, -11.348930, -11.059284, -11.066144, -11.437307, -8.258444, 64.545000]
109109
sudo_design_primal.command = TestCase.Command("mpirun -n 2", "SU2_CFD")
110110
test_list.append(sudo_design_primal)
111111

@@ -152,7 +152,7 @@ def main():
152152
kenics_mixer_tutorial.cfg_dir = "../Tutorials/incompressible_flow/Inc_Species_Transport_Composition_Dependent_Model"
153153
kenics_mixer_tutorial.cfg_file = "kenics_mixer_tutorial.cfg"
154154
kenics_mixer_tutorial.test_iter = 10
155-
kenics_mixer_tutorial.test_vals = [-7.490002, -6.823162, -6.837602, -5.156401, -7.928782, -3.089710, -7.447882, 5.000000, -1.863053, 4.000000, -5.174845, 3.000000, -6.382936, 0.025471, 0.000000, 0.025471, 0.000000, 64.126000, 8.479400, 48.120000, 7.526800]
155+
kenics_mixer_tutorial.test_vals = [-7.490002, -6.823162, -6.837602, -6.378680, -7.928782, -3.089710, -7.447882, 5.000000, -1.863053, 4.000000, -5.174845, 3.000000, -6.382936, 0.025471, 0.000000, 0.025471, 0.000000, 64.126000, 8.479400, 48.120000, 7.526800]
156156
kenics_mixer_tutorial.command = TestCase.Command("mpirun -n 2", "SU2_CFD")
157157
test_list.append(kenics_mixer_tutorial)
158158

0 commit comments

Comments
 (0)