-
Notifications
You must be signed in to change notification settings - Fork 980
Enable viscous flux contribution at supersonic outlet boundary condition #2829
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
Open
yiluntam
wants to merge
12
commits into
su2code:develop
Choose a base branch
from
yiluntam:fix/euler-outlet-bc
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+125
−38
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
bc15466
Merge pull request #2804 from su2code/develop
pcarruscag 092f23a
Enable viscous flux contribution at supersonic outlet boundary condition
yiluntam cd4bb21
Fix: declare Point_Normal in BC_Supersonic_Outlet viscous section
yiluntam 0d64672
Merge branch 'develop' into fix/euler-outlet-bc
bigfooted 82d8e59
Add laminar flat plate test case config (Ma=4.0, Re=1.2e4)
yiluntam 83050cf
Remove test case files from PR
yiluntam d3e13f4
Add supersonic flat plate test case configuration (Ma=4.0, Re=1.2e4)
yiluntam f4c7b6d
Add flatplate_supersonic to parallel regression tests
yiluntam a96bcce
Update TestCases/navierstokes/flatplate/flatplate_supersonic.cfg
yiluntam 0d5c583
Update TestCases/navierstokes/flatplate/flatplate_supersonic.cfg
yiluntam db8b53e
Update TestCases/navierstokes/flatplate/flatplate_supersonic.cfg
yiluntam 3b08a90
Update TestCases/navierstokes/flatplate/flatplate_supersonic.cfg
yiluntam 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
Some comments aren't visible on the classic Files Changed page.
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,77 @@ | ||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| % % | ||
| % SU2 configuration file % | ||
| % Case description: Supersonic flat plate flow % | ||
| % Author: Tan Yilun % | ||
| % Institution: University of Chinese Academy of Sciences % | ||
| % Date: 2026.05.22 % | ||
| % File Version 8.0.1 % | ||
| % % | ||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
|
|
||
| SOLVER= NAVIER_STOKES % Governing eqs: compressible Navier-Stokes | ||
| KIND_TURB_MODEL= NONE % Laminar (no turbulence model) | ||
| MATH_PROBLEM= DIRECT % Direct (not adjoint) | ||
| RESTART_SOL= YES % Start from scratch, not a restart | ||
| SOLUTION_FILENAME= restart_flow-newc2.dat | ||
|
|
||
| MESH_FILENAME= grid2.cgns | ||
| MESH_FORMAT= CGNS | ||
|
|
||
| TABULAR_FORMAT= TECPLOT | ||
| CONV_FILENAME= history | ||
| RESTART_FILENAME= restart_flow-newc3 | ||
| VOLUME_FILENAME= volume_flow-newc3 | ||
| SURFACE_FILENAME= surface_flow-newc3 | ||
| OUTPUT_WRT_FREQ= 500000 % Write output every xxxx iters | ||
| WRT_RESTART_OVERWRITE= YES | ||
| WRT_SURFACE_OVERWRITE= NO % Append iter# to surface files | ||
| WRT_VOLUME_OVERWRITE= NO % Append iter# to volume files | ||
| OUTPUT_FILES= (RESTART, TECPLOT, SURFACE_CSV) | ||
| SCREEN_OUTPUT=(INNER_ITER, WALL_TIME, AVG_CFL, RMS_DENSITY, RMS_MOMENTUM-X,RMS_MOMENTUM-Y,RMS_ENERGY,DRAG) | ||
|
|
||
| MACH_NUMBER= 4.0 % Freestream Mach number | ||
| AOA= 0.0 % Angle of attack (deg) | ||
| SIDESLIP_ANGLE= 0.0 % Side-slip angle (deg) | ||
| INIT_OPTION= TD_CONDITIONS % Initialize from P, T | ||
| FREESTREAM_TEMPERATURE= 300.0 | ||
| REYNOLDS_NUMBER= 12314 | ||
| FREESTREAM_PRESSURE= 70.47 % Pa | ||
| REYNOLDS_LENGTH= 0.2 % m | ||
|
|
||
|
|
||
| MARKER_ISOTHERMAL= ( WALL, 300.0 ) % No-slip isothermal wall at 300 K | ||
| MARKER_SYM= ( SYMMETRY ) % Symmetry plane | ||
| MARKER_FAR= ( INLET ) % Far-field inlet | ||
| MARKER_SUPERSONIC_OUTLET= ( OUTLET ) % Supersonic outlet | ||
| MARKER_PLOTTING= ( WALL ) % Surface output marker | ||
| MARKER_MONITORING= ( WALL ) % Force monitoring marker | ||
|
|
||
| NUM_METHOD_GRAD= WEIGHTED_LEAST_SQUARES | ||
|
|
||
| LINEAR_SOLVER= BCGSTAB | ||
| LINEAR_SOLVER_PREC= LU_SGS | ||
| LINEAR_SOLVER_ERROR= 1E-10 | ||
| LINEAR_SOLVER_ITER= 10 | ||
|
|
||
| MGLEVEL= 0 % No multigrid | ||
|
|
||
| CONV_NUM_METHOD_FLOW= AUSM % Convective flux scheme | ||
| MUSCL_FLOW= YES % 2nd-order MUSCL reconstruction | ||
| SLOPE_LIMITER_FLOW= VENKATAKRISHNAN_WANG | ||
| VENKAT_LIMITER_COEFF= 0.05 | ||
| % RAMP_MUSCL= YES | ||
| % RAMP_MUSCL_COEFF= (1000.0, 10.0, 500.0) | ||
|
|
||
|
|
||
|
|
||
| CFL_NUMBER= 0.1 % CFL number | ||
| CFL_ADAPT= NO % Adaptive CFL | ||
| CFL_ADAPT_PARAM= ( 0.3, 1.05, 0.01, 5) | ||
| ITER= 5000000.0 % Max iterations | ||
| TIME_DISCRE_FLOW= EULER_EXPLICIT | ||
|
|
||
| CONV_FIELD= RMS_ENERGY | ||
| CONV_RESIDUAL_MINVAL= -5 | ||
| CONV_STARTITER= 10 | ||
|
|
||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is CFL=0.1 necessary? Can you use a higher constant value, or adaptive CFL?
Because 1e6 iterations is a lot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am using the explicit Euler method, and I believe a sufficiently small CFL number is essential. The CFL number can be set to a maximum of 0.7 (I just tried it).