-
Notifications
You must be signed in to change notification settings - Fork 913
Fix error in CGNS writing #2178
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
2fd31fc
- Fixed CGNS writing
a84f9ca
Update SU2_CFD/src/output/filewriter/CCGNSFileWriter.cpp
bigfooted f25a4f2
Update SU2_CFD/src/output/filewriter/CCGNSFileWriter.cpp
bigfooted 619b21c
- Added regression test for CGNS writer
6124e0f
- changed mesh for regression case
c013bad
Merge branch 'develop' into feature_FixCGNS
MicK7 87554b3
Update TestCases/parallel_regression.py
rois1995 1b4091d
- Changed name to regression case
87f9944
- Removed comments from regression config
f457da5
- Format spaces in parallel_regression.py
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,96 @@ | ||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| % % | ||
| % SU2 configuration file % | ||
| % Case description: Subsonic U-Turn % | ||
| % Author: Andrea Rausa % | ||
| % Institution: Politecnico di Milano % | ||
| % Date: 12/2/2023 % | ||
| % File Version 8.0.0 "Harrier" % | ||
| % % | ||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
|
|
||
| % ------------- DIRECT, ADJOINT, AND LINEARIZED PROBLEM DEFINITION ------------% | ||
| % | ||
| SOLVER= RANS | ||
| KIND_TURB_MODEL= SST | ||
| MATH_PROBLEM= DIRECT | ||
| RESTART_SOL= NO | ||
|
|
||
| % -------------------- COMPRESSIBLE FREE-STREAM DEFINITION --------------------% | ||
| % | ||
| MACH_NUMBER= 0.2 | ||
| AOA= 0.0 | ||
| FREESTREAM_TEMPERATURE= 270.0 | ||
| REYNOLDS_NUMBER= 3.28E6 | ||
| REYNOLDS_LENGTH= 1 | ||
| REF_DIMENSIONALIZATION= FREESTREAM_VEL_EQ_MACH | ||
|
|
||
| % ---------------------- REFERENCE VALUE DEFINITION ---------------------------% | ||
| % | ||
| REF_ORIGIN_MOMENT_X = -0.2473 | ||
| REF_ORIGIN_MOMENT_Y = 0.00 | ||
| REF_ORIGIN_MOMENT_Z = 0.00 | ||
| REF_LENGTH= 1 | ||
| REF_AREA= 1 | ||
|
|
||
| % -------------------- BOUNDARY CONDITION DEFINITION --------------------------% | ||
| % | ||
| MARKER_HEATFLUX= ( OuterWall, 0.0, InnerWall, 0.0 ) | ||
| MARKER_FAR= ( Inlet, Outlet ) | ||
| MARKER_PLOTTING= ( InnerWall ) | ||
| MARKER_MONITORING= ( InnerWall ) | ||
|
|
||
| % ------------------------ LINEAR SOLVER DEFINITION ---------------------------% | ||
| % | ||
| LINEAR_SOLVER= FGMRES | ||
| LINEAR_SOLVER_PREC= ILU | ||
| LINEAR_SOLVER_ERROR= 1.0e-6 | ||
| LINEAR_SOLVER_ITER= 15 | ||
|
|
||
| % -------------------------- MULTIGRID PARAMETERS -----------------------------% | ||
| % | ||
| CFL_ADAPT= YES | ||
| CFL_NUMBER= 1 | ||
| CFL_REDUCTION_TURB= 1.0 | ||
| CFL_ADAPT_PARAM= ( 0.5, 1.01, 1.0, 5, 0.0001) | ||
| ITER= 1 | ||
|
|
||
| % -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------% | ||
| % | ||
| CONV_NUM_METHOD_FLOW= ROE | ||
| USE_VECTORIZATION= YES | ||
| MUSCL_FLOW= NO | ||
| SLOPE_LIMITER_FLOW= VENKATAKRISHNAN | ||
| VENKAT_LIMITER_COEFF= 0.03 | ||
| TIME_DISCRE_FLOW= EULER_IMPLICIT | ||
|
|
||
| % -------------------- TURBULENT NUMERICAL METHOD DEFINITION ------------------% | ||
| % | ||
| CONV_NUM_METHOD_TURB= SCALAR_UPWIND | ||
| MUSCL_TURB= NO | ||
| TIME_DISCRE_TURB= EULER_IMPLICIT | ||
|
|
||
|
|
||
| % --------------------------- CONVERGENCE PARAMETERS --------------------------% | ||
| % | ||
| CONV_FIELD= MOMENT_X | ||
| CONV_STARTITER= 10 | ||
| CONV_CAUCHY_ELEMS= 100 | ||
| CONV_CAUCHY_EPS= 1E-6 | ||
|
|
||
| % ------------------------- INPUT/OUTPUT INFORMATION --------------------------% | ||
| % | ||
| MESH_FILENAME= mesh.su2 | ||
| MESH_FORMAT= SU2 | ||
| SOLUTION_FILENAME= restart_flow | ||
| TABULAR_FORMAT= CSV | ||
| CONV_FILENAME= history_First | ||
| RESTART_FILENAME= restart_flow | ||
| VOLUME_FILENAME= flow | ||
| SURFACE_FILENAME= surface_flow | ||
| OUTPUT_WRT_FREQ= 100 | ||
| SCREEN_OUTPUT= (INNER_ITER, WALL_TIME, RMS_DENSITY, LIFT, DRAG, MOMENT_Z) | ||
| OUTPUT_FILES= (SURFACE_CGNS) | ||
| WRT_FORCES_BREAKDOWN= NO | ||
| VOLUME_OUTPUT= (COORDINATES) | ||
| HISTORY_OUTPUT= (ITER) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.