-
Notifications
You must be signed in to change notification settings - Fork 906
[WIP] Add nested preconditioner: FGMRES with BiCGSTAB #2566
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
Draft
eorbay-metu
wants to merge
16
commits into
su2code:develop
Choose a base branch
from
eorbay-metu:feature_precond_linsol
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.
Draft
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
0d8e9fb
Add nested preconditioner: FGMRES with BiCGSTAB
8b7124d
Fix style: replace tab with spaces in CConfig.cpp
eorbay-metu 616ccec
Merge branch 'su2code:master' into feature_precond_linsol
eorbay-metu 5972f69
Merge branch 'develop' into feature_precond_linsol
eorbay-metu 045fb6f
Update CConfig.cpp
eorbay-metu dfdd5d3
Merge branch 'develop' into feature_precond_linsol
eorbay-metu 2f36af7
Add files via upload
eorbay-metu 8e00bff
Nested preconditioner test cases
eorbay-metu c26fe01
Remove nested .git from TestCases/TestCases and add nested preconditi…
eorbay-metu 40e43f4
Apply clang-format style to CSysSolve nested solver
eorbay-metu aaf2842
Merge branch 'develop' into feature_precond_linsol
bigfooted dacdc17
Add nested FGMRES inner BiCGSTAB options and logging
eorbay-metu d516846
Add nested FGMRES inner BiCGSTAB test case
eorbay-metu 9494dfd
Fix formatting for nested FGMRES changes
eorbay-metu 209b613
Merge branch 'develop' into feature_precond_linsol
pcarruscag a060a8f
Remove duplicated TestCases/TestCases directory
eorbay-metu 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
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
Empty file.
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,117 @@ | ||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| % % | ||
| % SU2 configuration file % | ||
| % Case description: 2D NACA 0012 Airfoil Validation Case (compressible) % | ||
| % http://turbmodels.larc.nasa.gov/naca0012_val_sa.html % | ||
| % Author: Francisco Palacios % | ||
| % Institution: Stanford University % | ||
| % Date: Feb 18th, 2013 % | ||
| % File Version 8.3.0 "Harrier" % | ||
| % % | ||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
|
|
||
| % ------------- DIRECT, ADJOINT, AND LINEARIZED PROBLEM DEFINITION ------------% | ||
| % | ||
| SOLVER= RANS | ||
| KIND_TURB_MODEL= SA | ||
| SA_OPTIONS= NEGATIVE, EXPERIMENTAL | ||
| MATH_PROBLEM= DIRECT | ||
| RESTART_SOL= NO | ||
|
|
||
| % -------------------- COMPRESSIBLE FREE-STREAM DEFINITION --------------------% | ||
| % | ||
| MACH_NUMBER= 0.15 | ||
| AOA= 0.0 | ||
| FREESTREAM_TEMPERATURE= 300.0 | ||
| REYNOLDS_NUMBER= 6.0E6 | ||
| REYNOLDS_LENGTH= 1.0 | ||
|
|
||
| % ---------------------- REFERENCE VALUE DEFINITION ---------------------------% | ||
| % | ||
| REF_ORIGIN_MOMENT_X = 0.25 | ||
| REF_ORIGIN_MOMENT_Y = 0.00 | ||
| REF_ORIGIN_MOMENT_Z = 0.00 | ||
| REF_LENGTH= 1.0 | ||
| REF_AREA= 1.0 | ||
| REF_DIMENSIONALIZATION= FREESTREAM_PRESS_EQ_ONE | ||
|
|
||
| % -------------------- BOUNDARY CONDITION DEFINITION --------------------------% | ||
| % | ||
| MARKER_HEATFLUX= ( airfoil, 0.0 ) | ||
| MARKER_FAR= ( farfield ) | ||
| MARKER_PLOTTING= ( airfoil ) | ||
| MARKER_MONITORING= ( airfoil ) | ||
|
|
||
| % ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------% | ||
| % | ||
| NUM_METHOD_GRAD= WEIGHTED_LEAST_SQUARES | ||
| NUM_METHOD_GRAD_RECON= LEAST_SQUARES | ||
| CFL_NUMBER= 1000.0 | ||
| MAX_DELTA_TIME= 1E10 | ||
| CFL_ADAPT= NO | ||
| CFL_ADAPT_PARAM= ( 1.5, 0.5, 1.0, 100.0 ) | ||
| ITER= 99999 | ||
|
|
||
| % ----------------------- SLOPE LIMITER DEFINITION ----------------------------% | ||
| VENKAT_LIMITER_COEFF= 0.03 | ||
| LIMITER_ITER= 99999 | ||
|
|
||
| % ------------------------ LINEAR SOLVER DEFINITION ---------------------------% | ||
| % | ||
| LINEAR_SOLVER= FGMRES | ||
| % | ||
| % Use nested Krylov solver (YES, NO). | ||
| % When YES: FGMRES uses an inner Krylov solver (e.g. BCGSTAB). | ||
| LINEAR_SOLVER_NESTED= YES | ||
|
|
||
| % Inner solver used only when LINEAR_SOLVER_NESTED = YES. | ||
| % Options: BCGSTAB | ||
| LINEAR_SOLVER_INNER= BCGSTAB | ||
|
|
||
| LINEAR_SOLVER_PREC= LU_SGS | ||
| LINEAR_SOLVER_ERROR= 1E-5 | ||
| LINEAR_SOLVER_ITER= 5 | ||
|
|
||
| % -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------% | ||
| % | ||
| CONV_NUM_METHOD_FLOW= ROE | ||
| MUSCL_FLOW= YES | ||
| JST_SENSOR_COEFF= ( 0.5, 0.02 ) | ||
| TIME_DISCRE_FLOW= EULER_IMPLICIT | ||
|
|
||
| % -------------------- TURBULENT NUMERICAL METHOD DEFINITION ------------------% | ||
| % | ||
| CONV_NUM_METHOD_TURB= SCALAR_UPWIND | ||
| MUSCL_TURB= YES | ||
| SLOPE_LIMITER_TURB= NONE | ||
| TIME_DISCRE_TURB= EULER_IMPLICIT | ||
| CFL_REDUCTION_TURB= 1.0 | ||
|
|
||
| % --------------------------- CONVERGENCE PARAMETERS --------------------------% | ||
| CONV_RESIDUAL_MINVAL= -12 | ||
| CONV_STARTITER= 10 | ||
| CONV_CAUCHY_ELEMS= 100 | ||
| CONV_CAUCHY_EPS= 1E-6 | ||
|
|
||
| % Output the performance summary to the console at the end of SU2_CFD | ||
| WRT_PERFORMANCE= YES | ||
|
|
||
|
|
||
| % ------------------------- INPUT/OUTPUT INFORMATION --------------------------% | ||
| % | ||
| MESH_FILENAME= n0012_897-257.su2 | ||
| MESH_FORMAT= SU2 | ||
| MESH_OUT_FILENAME= mesh_out | ||
| SOLUTION_FILENAME= solution_flow_sa | ||
| SOLUTION_ADJ_FILENAME= solution_adj | ||
| TABULAR_FORMAT= CSV | ||
| CONV_FILENAME= history | ||
| RESTART_FILENAME= restart_flow | ||
| RESTART_ADJ_FILENAME= restart_adj | ||
| VOLUME_FILENAME= flow | ||
| VOLUME_ADJ_FILENAME= adjoint | ||
| GRAD_OBJFUNC_FILENAME= of_grad | ||
| SURFACE_FILENAME= surface_flow | ||
| SURFACE_ADJ_FILENAME= surface_adjoint | ||
| OUTPUT_WRT_FREQ= 10000 | ||
| SCREEN_OUTPUT=(WALL_TIME, INNER_ITER, RMS_DENSITY, RMS_NU_TILDE, LIFT, DRAG, LINSOL_ITER, LINSOL_RESIDUAL, LINSOL_ITER_TURB, LINSOL_RESIDUAL_TURB, TOTAL_HEATFLUX) |
Oops, something went wrong.
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.
So is this the final version you propose?