-
Notifications
You must be signed in to change notification settings - Fork 911
Implementing the gust encounter for 3D meshes and for free-flying, elastic aircraft #1954
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
17 commits
Select commit
Hold shift + click to select a range
9bc0716
Adding a new choice (Z_DIR) for parameter GUST_DIR and a note with
ArneVoss c015566
Implement new option Z_DIR
ArneVoss cc353ee
I think we don't need to set any source terms because they depend on the
ArneVoss af9ee82
- extending gust to 3D
4ca5281
Modifying the switch for resetting or keeping existing grid velocity to
eb8a6ec
Restore 2D gusts
ArneVoss 1c1cfff
Refined cirterion on decision of keeping or overwriting existing grid
ArneVoss 2259d67
- Implemented style suggestions from CodeFactor, no functional change
ArneVoss 02f5388
Proposal for a test case for cosine gusts in z-direction on a 3D mesh.
ArneVoss da01f84
Merge branch 'develop' into feature_3D_gust
pcarruscag cb9701e
Removed Tecplot outputs from testcase.
ArneVoss dc7fb83
Adding testcase for gust in combination with mesh deformation by using
ArneVoss 8897fe1
Remove Tecplot outputs
ArneVoss 59a142b
Modified config to make testcase faster. New test duration: 0.42 min.
ArneVoss 605839a
Apply suggestions from Code Review
ArneVoss 30f1a46
Merge branch 'develop' into feature_3D_gust
pcarruscag 498065d
Merge branch 'develop' into feature_3D_gust
ArneVoss 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
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,111 @@ | ||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| % % | ||
| % SU2 configuration file % | ||
| % Case description: Cosine gust in z-direction of a 3D mesh % | ||
| % Author: Arne Voß % | ||
| % Institution: DLR % | ||
| % Date: 25.05.2023 % | ||
| % File Version 7.5.1 "Blackbird" % | ||
| % % | ||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
|
|
||
| % ------------- DIRECT, ADJOINT, AND LINEARIZED PROBLEM DEFINITION ------------% | ||
| % | ||
| SOLVER= EULER | ||
| MATH_PROBLEM= DIRECT | ||
| % | ||
| RESTART_SOL= YES | ||
| RESTART_ITER= 72 | ||
| % | ||
| % ------------------------------- SOLVER CONTROL ------------------------------% | ||
| % | ||
| INNER_ITER= 30 | ||
| CONV_RESIDUAL_MINVAL= -6 | ||
| CONV_STARTITER= 0 | ||
| % | ||
| % ------------------------- UNSTEADY SIMULATION -------------------------------% | ||
| % | ||
| TIME_DOMAIN=YES | ||
| TIME_MARCHING= DUAL_TIME_STEPPING-2ND_ORDER | ||
| TIME_STEP= 0.001 | ||
| TIME_ITER= 80 | ||
| % | ||
| % --------------------------- GUST SIMULATION ---------------------------------% | ||
| % | ||
| % The gust simulation requires the GRID_MOVEMENT flag to be set to YES. | ||
| % and the GRID_MOVEMENT_KIND to be set to GUST or any of the other options. | ||
| % Apply a wind gust (NO, YES) | ||
| GRID_MOVEMENT=GUST | ||
| WIND_GUST= YES | ||
| GUST_TYPE= ONE_M_COSINE | ||
| GUST_DIR= Z_DIR | ||
| GUST_WAVELENGTH= 5.0 | ||
| GUST_PERIODS= 1.0 | ||
| % Gust amplitude corresponds to ~2.0 deg AoA | ||
| GUST_AMPL= 2.37 | ||
| % | ||
| GUST_BEGIN_TIME= 0.0 | ||
| % Gust is placed 5m ahead of the wing | ||
| GUST_BEGIN_LOC=-10.0 | ||
| % -------------------- COMPRESSIBLE FREE-STREAM DEFINITION --------------------% | ||
| % | ||
| MACH_NUMBER= 0.2 | ||
| AOA= 0.0 | ||
| SIDESLIP_ANGLE= 0.0 | ||
| FREESTREAM_OPTION= DENSITY_FS | ||
| FREESTREAM_PRESSURE= 101325.0 | ||
| FREESTREAM_DENSITY= 1.225 | ||
| FREESTREAM_TEMPERATURE= 288.15 | ||
| % | ||
| % ---------------------- 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= 3.0 | ||
| SEMI_SPAN= 1.5 | ||
| REF_DIMENSIONALIZATION= DIMENSIONAL | ||
|
|
||
| % -------------------- BOUNDARY CONDITION DEFINITION --------------------------% | ||
| % | ||
| MARKER_EULER= ( wing, tip) | ||
| MARKER_FAR= ( far_away ) | ||
|
|
||
| % ------------------------ SURFACES IDENTIFICATION ----------------------------% | ||
| % | ||
| MARKER_PLOTTING = ( wing, tip ) | ||
| MARKER_MONITORING = ( wing, tip ) | ||
|
|
||
| % ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------% | ||
| % | ||
| CFL_NUMBER= 1000.0 | ||
| CFL_ADAPT= YES | ||
| % | ||
| % -------------------------- MULTIGRID PARAMETERS -----------------------------% | ||
| % | ||
| MGLEVEL= 3 | ||
| MGCYCLE= W_CYCLE | ||
|
|
||
| % -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------% | ||
| % | ||
| CONV_NUM_METHOD_FLOW= JST | ||
| LINEAR_SOLVER_ITER= 20 | ||
| % | ||
| % ------------------------- SCREEN/HISTORY VOLUME OUTPUT --------------------------% | ||
| % | ||
| SCREEN_OUTPUT= (TIME_ITER, INNER_ITER, RMS_DENSITY, LIFT, MOMENT_X, MOMENT_Y, MOMENT_Z) | ||
| HISTORY_OUTPUT= (ITER, RMS_RES, AERO_COEFF, CAUCHY, WALL_TIME) | ||
| % | ||
| % ------------------------- INPUT/OUTPUT FILE INFORMATION --------------------------% | ||
| % | ||
| MESH_FILENAME= mesh_rectangular_wing.su2 | ||
| MESH_FORMAT= SU2 | ||
| SOLUTION_FILENAME= restart_gust.dat | ||
| RESTART_FILENAME= restart_gust.dat | ||
| SURFACE_FILENAME= surface_gust | ||
| VOLUME_FILENAME= volume_gust | ||
| CONV_FILENAME= history_gust | ||
| TABULAR_FORMAT= CSV | ||
| OUTPUT_FILES= (RESTART, RESTART_ASCII) | ||
| % |
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,122 @@ | ||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
| % % | ||
| % SU2 configuration file % | ||
| % Case description: Cosine gust combined with mesh deformation % | ||
| % Author: Arne Voß % | ||
| % Institution: DLR % | ||
| % Date: 25.05.2023 % | ||
| % File Version 7.5.1 "Blackbird" % | ||
| % % | ||
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
|
|
||
| % ------------- DIRECT, ADJOINT, AND LINEARIZED PROBLEM DEFINITION ------------% | ||
| % | ||
| SOLVER= EULER | ||
| MATH_PROBLEM= DIRECT | ||
| % ------------------------------- SOLVER CONTROL ------------------------------% | ||
| % | ||
| INNER_ITER= 100 | ||
| CONV_RESIDUAL_MINVAL= -6 | ||
| CONV_STARTITER= 0 | ||
| % | ||
| % ------------------------- UNSTEADY SIMULATION -------------------------------% | ||
| % | ||
| TIME_DOMAIN=YES | ||
| TIME_MARCHING= DUAL_TIME_STEPPING-2ND_ORDER | ||
| TIME_STEP= 0.001 | ||
| TIME_ITER= 7 | ||
| % | ||
| % --------------------------- GUST SIMULATION ---------------------------------% | ||
| % | ||
| % The gust simulation requires the GRID_MOVEMENT flag to be set to YES. | ||
| % and the GRID_MOVEMENT_KIND to be set to GUST or any of the other options. | ||
| % Apply a wind gust (NO, YES) | ||
| GRID_MOVEMENT=GUST | ||
| WIND_GUST= YES | ||
| GUST_TYPE= ONE_M_COSINE | ||
| GUST_DIR= Y_DIR | ||
| GUST_WAVELENGTH= 5.0 | ||
| GUST_PERIODS= 1.0 | ||
| GUST_AMPL= 1.0 | ||
| GUST_BEGIN_TIME= 0.0 | ||
| GUST_BEGIN_LOC=-5.0 | ||
| % | ||
| % --------------------------- MESH DEFORMATION--------------------------------% | ||
| % Type of dynamic surface movement (NONE, DEFORMING, MOVING_WALL, | ||
| % AEROELASTIC, AEROELASTIC_RIGID_MOTION EXTERNAL, EXTERNAL_ROTATION) | ||
| SURFACE_MOVEMENT= DEFORMING | ||
| % | ||
| % Moving wall boundary marker(s) (NONE = no marker, ignored for RIGID_MOTION) | ||
| MARKER_MOVING= ( airfoil ) | ||
| % | ||
| % Plunging angular freq. (rad/s) in x, y, & z directions | ||
| SURFACE_PLUNGING_OMEGA= 0.0 125.6 0.0 | ||
| % | ||
| % Plunging amplitude (m or ft) in x, y, & z directions | ||
| SURFACE_PLUNGING_AMPL= 0.0 0.0001 0.0 | ||
| % | ||
| % Move Motion Origin for marker moving (1 or 0) | ||
| MOVE_MOTION_ORIGIN = 0 | ||
| % | ||
| % -------------------- COMPRESSIBLE FREE-STREAM DEFINITION --------------------% | ||
| % | ||
| MACH_NUMBER= 0.2 | ||
| AOA= 0.0 | ||
| SIDESLIP_ANGLE= 0.0 | ||
| FREESTREAM_OPTION= DENSITY_FS | ||
| FREESTREAM_PRESSURE= 101325.0 | ||
| FREESTREAM_DENSITY= 1.225 | ||
| FREESTREAM_TEMPERATURE= 288.15 | ||
| % | ||
| % ---------------------- 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 | ||
| SEMI_SPAN= 1.0 | ||
| REF_DIMENSIONALIZATION= DIMENSIONAL | ||
| % | ||
| % -------------------- BOUNDARY CONDITION DEFINITION --------------------------% | ||
| % | ||
| MARKER_EULER= ( airfoil ) | ||
| MARKER_FAR= ( farfield ) | ||
| % | ||
| % ------------------------ SURFACES IDENTIFICATION ----------------------------% | ||
| % | ||
| MARKER_PLOTTING = ( airfoil ) | ||
| MARKER_MONITORING = ( airfoil ) | ||
| % | ||
| % ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------% | ||
| % | ||
| CFL_NUMBER= 100.0 | ||
| CFL_ADAPT= YES | ||
| % | ||
| % -------------------------- MULTIGRID PARAMETERS -----------------------------% | ||
| % | ||
| MGLEVEL= 3 | ||
| MGCYCLE= W_CYCLE | ||
| % | ||
| % -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------% | ||
| % | ||
| CONV_NUM_METHOD_FLOW= JST | ||
| LINEAR_SOLVER_ITER= 20 | ||
| % | ||
| % ------------------------- SCREEN/HISTORY VOLUME OUTPUT --------------------------% | ||
| % | ||
| SCREEN_OUTPUT= (TIME_ITER, INNER_ITER, RMS_DENSITY, LIFT, MOMENT_Z) | ||
| HISTORY_OUTPUT= (ITER, RMS_RES, AERO_COEFF, CAUCHY, WALL_TIME) | ||
| % | ||
| % ------------------------- INPUT/OUTPUT FILE INFORMATION --------------------------% | ||
| % | ||
| MESH_FILENAME= mesh_NACA0012_inv.su2 | ||
| MESH_FORMAT= SU2 | ||
| SOLUTION_FILENAME= restart_gust.dat | ||
| RESTART_FILENAME= restart_gust.dat | ||
| SURFACE_FILENAME= surface_gust | ||
| VOLUME_FILENAME= volume_gust | ||
| CONV_FILENAME= history_gust | ||
| TABULAR_FORMAT= CSV | ||
| OUTPUT_FILES= (NONE) | ||
| % |
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
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.
Uh oh!
There was an error while loading. Please reload this page.