Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Aachen turbine test case #2293

Merged
merged 5 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ jobs:
uses: docker://ghcr.io/su2code/su2/test-su2:240320-1536
with:
# -t <Tutorials-branch> -c <Testcases-branch>
args: -b ${{github.ref}} -t develop -c develop -s ${{matrix.testscript}}
args: -b ${{github.ref}} -t develop -c fix_aachen_turbine -s ${{matrix.testscript}}
- name: Cleanup
uses: docker://ghcr.io/su2code/su2/test-su2:240320-1536
with:
Expand Down Expand Up @@ -261,7 +261,7 @@ jobs:
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:240320-1536
with:
# -t <Tutorials-branch> -c <Testcases-branch>
args: -b ${{github.ref}} -t develop -c develop -s ${{matrix.testscript}} -a "--tsan"
args: -b ${{github.ref}} -t develop -c fix_aachen_turbine -s ${{matrix.testscript}} -a "--tsan"
- name: Cleanup
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:240320-1536
with:
Expand Down Expand Up @@ -308,7 +308,7 @@ jobs:
uses: docker://ghcr.io/su2code/su2/test-su2-asan:240320-1536
with:
# -t <Tutorials-branch> -c <Testcases-branch>
args: -b ${{github.ref}} -t develop -c develop -s ${{matrix.testscript}} -a "--asan"
args: -b ${{github.ref}} -t develop -c fix_aachen_turbine -s ${{matrix.testscript}} -a "--asan"
- name: Cleanup
uses: docker://ghcr.io/su2code/su2/test-su2-asan:240320-1536
with:
Expand Down
2 changes: 1 addition & 1 deletion SU2_CFD/src/interfaces/CInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ void CInterface::PreprocessAverage(CGeometry *donor_geometry, CGeometry *target_
for(iSpan = 1; iSpan <nSpanTarget-1; iSpan++){
dist = 10E+06;
dist2 = 10E+06;
for(jSpan = 0; jSpan < nSpanDonor;jSpan++){
for (jSpan = 1; jSpan < nSpanDonor - 1; jSpan++) {
test = abs(SpanValuesTarget[iSpan] - SpanValuesDonor[jSpan]);
test2 = abs(SpanValuesTarget[iSpan] - SpanValuesDonor[jSpan]);
if(test < dist && SpanValuesTarget[iSpan] > SpanValuesDonor[jSpan]){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,10 @@ MESH_FORMAT= SU2
MESH_OUT_FILENAME= Aachen_3D_41_blade_coarse.su2
%
% Restart flow input file
SOLUTION_FILENAME= restart_flow.dat
SOLUTION_FILENAME= solution_flow.dat
%
% Restart adjoint input file
SOLUTION_ADJ_FILENAME= restart_adj.dat
SOLUTION_ADJ_FILENAME= solution_adj.dat
%
% Output file format
TABULAR_FORMAT= TECPLOT
Expand Down