-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add inviscid flow states, aero loads tests for flat plate
- Loading branch information
1 parent
e63a1c6
commit 76ea1f8
Showing
32 changed files
with
709 additions
and
6 deletions.
There are no files selected for viewing
File renamed without changes.
Binary file added
BIN
+6 KB
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_flow/Adjoint/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions
1
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_flow/Adjoint/.gitignore
This file contains 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 @@ | ||
debug.getgrad |
82 changes: 82 additions & 0 deletions
82
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_flow/Flow/fun3d.nml
This file contains 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,82 @@ | ||
&project | ||
project_rootname = 'miniMesh' | ||
/ | ||
&raw_grid | ||
grid_format = 'aflr3' | ||
data_format = 'default' | ||
swap_yz_axes = .false. | ||
/ | ||
&governing_equations | ||
eqn_type = 'compressible' | ||
viscous_terms = 'inviscid' | ||
/ | ||
&reference_physical_properties | ||
mach_number = 0.3 | ||
angle_of_attack = 10.0 | ||
reynolds_number = 6.91137e6 | ||
temperature = 300.0 | ||
temperature_units = 'Kelvin' | ||
/ | ||
&inviscid_flux_method | ||
flux_construction = 'roe' | ||
flux_limiter = 'none' | ||
smooth_limiter_coeff = 1.0 | ||
freeze_limiter_iteration = 100 | ||
/ | ||
&code_run_control | ||
restart_write_freq = 500 | ||
restart_read = 'off' | ||
steps = 500 | ||
/ | ||
&nonlinear_solver_parameters | ||
time_accuracy = "steady" | ||
time_step_nondim = 0.1 | ||
subiterations = 0 | ||
schedule_iteration(1:2) = 1,200 | ||
schedule_cfl(1:2) = 1.0, 100.0 | ||
schedule_cflturb(1:2) = 5.0,50.0 | ||
hanim = .false. | ||
/ | ||
&hanim | ||
cfl_increase_factor = 1.2 | ||
cfl_decrease_factor = 0.7 | ||
/ | ||
&elasticity_gmres | ||
elasticity = 2 | ||
tol = 1.e-20 | ||
tol_abs = 1.e-30 | ||
/ | ||
&global | ||
moving_grid = .true. | ||
boundary_animation_freq = 1000 | ||
volume_animation_freq = 1000 | ||
recompute_turb_dist = .false. | ||
/ | ||
&slice_data | ||
nslices = 1 | ||
slice_z(:) = .true. | ||
slice_location(:) = 2.5 | ||
/ | ||
&volume_output_variables | ||
export_to = 'tecplot' | ||
temperature = .true. | ||
x = .true. | ||
y = .true. | ||
z = .true. | ||
/ | ||
&boundary_output_variables | ||
number_of_boundaries = 1 | ||
boundary_list = '2' | ||
temperature = .true. | ||
x = .true. | ||
y = .true. | ||
z = .true. | ||
/ | ||
&massoud_output | ||
funtofem_include_skin_friction = .true. | ||
funtofem_internal_adjoint_test = .false. | ||
funtofem_test_epsilon = 1.e-4 | ||
funtofem_flow_test = .true. | ||
funtofem_restart_grid_forward = .false. | ||
funtofem_restart_grid_adjoint = .true. | ||
/ |
Binary file added
BIN
+6.83 KB
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_flow/Flow/miniMesh.b8.ugrid
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_flow/Flow/miniMesh.mapbc
This file contains 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,3 @@ | ||
2 | ||
1 5000 Farfield | ||
2 4000 wall |
9 changes: 9 additions & 0 deletions
9
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_flow/Flow/moving_body.input
This file contains 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,9 @@ | ||
&body_definitions | ||
n_moving_bodies = 1, | ||
body_name(1) = 'plate', | ||
parent_name(1) = '', ! '' means motion relative to inertial ref frame | ||
n_defining_bndry(1) = 1, ! number of boundaries that define this body | ||
defining_bndry(1,1) = 2, ! index 1: boundary number index 2: body number | ||
motion_driver(1) = 'funtofem', ! tells fun3d to use motion inputs from python | ||
mesh_movement(1) = 'deform', ! can use 'rigid', 'deform', 'rigid+deform' with funtofem interface | ||
/ |
20 changes: 20 additions & 0 deletions
20
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_flow/Flow/perturb.input
This file contains 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,20 @@ | ||
PERTURB EPSILON GRIDPOINT | ||
0 1e-30 666 | ||
|
||
0 = No perturbation | ||
1 = Mach number | ||
2 = Alpha | ||
3 = Shape | ||
4 = x-rotation rate | ||
5 = y-rotation rate | ||
6 = z-rotation rate | ||
7 = Grid point x | ||
8 = Grid point y | ||
9 = Grid point z | ||
10 = Yaw | ||
11 = error transport (truncation error) | ||
12 = RCS jet plenum pressure, p0 | ||
100+ = add an imaginary source term to equation | ||
PERTURB-100 of node GRIDPOINT | ||
(to verify the adjoint lambda value) | ||
|
9 changes: 9 additions & 0 deletions
9
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_flow/clear.sh
This file contains 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,9 @@ | ||
rm Flow/*.dat* | ||
rm Flow/*.flow | ||
rm Flow/*.forces* | ||
rm Flow/*.grid_info | ||
rm Adjoint/*getgrad | ||
rm Adjoint/*.tx* | ||
rm Adjoint/*.dat | ||
rm Adjoint/*.adjoint | ||
rm Adjoint/*.grid_info |
3 changes: 3 additions & 0 deletions
3
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_quads/.gitignore
This file contains 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,3 @@ | ||
# have to force changes, doesn't show in git status | ||
Flow/ | ||
Adjoint/ |
Binary file added
BIN
+6 KB
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_quads/Adjoint/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions
1
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_quads/Adjoint/.gitignore
This file contains 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 @@ | ||
* |
73 changes: 73 additions & 0 deletions
73
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_quads/Flow/fun3d.nml
This file contains 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,73 @@ | ||
&project | ||
project_rootname = 'miniMesh' | ||
/ | ||
&raw_grid | ||
grid_format = 'aflr3' | ||
data_format = 'default' | ||
swap_yz_axes = .false. | ||
/ | ||
&governing_equations | ||
eqn_type = 'compressible' | ||
viscous_terms = 'inviscid' | ||
/ | ||
&reference_physical_properties | ||
mach_number = 0.3 | ||
angle_of_attack = 10.0 | ||
reynolds_number = 6.91137e6 | ||
temperature = 300.0 | ||
temperature_units = 'Kelvin' | ||
/ | ||
&inviscid_flux_method | ||
flux_construction = 'roe' | ||
flux_limiter = 'none' | ||
smooth_limiter_coeff = 1.0 | ||
freeze_limiter_iteration = 100 | ||
/ | ||
&code_run_control | ||
restart_write_freq = 500 | ||
restart_read = 'off' | ||
steps = 500 | ||
/ | ||
&nonlinear_solver_parameters | ||
time_accuracy = "steady" | ||
time_step_nondim = 0.1 | ||
subiterations = 0 | ||
schedule_iteration(1:2) = 1,200 | ||
schedule_cfl(1:2) = 1.0, 100.0 | ||
schedule_cflturb(1:2) = 5.0,50.0 | ||
/ | ||
&elasticity_gmres | ||
elasticity = 2 | ||
tol = 1.e-20 | ||
tol_abs = 1.e-30 | ||
/ | ||
&global | ||
moving_grid = .true. | ||
boundary_animation_freq = 1000 | ||
volume_animation_freq = 1000 | ||
recompute_turb_dist = .false. | ||
/ | ||
&slice_data | ||
nslices = 1 | ||
slice_z(:) = .true. | ||
slice_location(:) = 2.5 | ||
/ | ||
&volume_output_variables | ||
export_to = 'tecplot' | ||
temperature = .true. | ||
x = .true. | ||
y = .true. | ||
z = .true. | ||
/ | ||
&boundary_output_variables | ||
number_of_boundaries = 1 | ||
boundary_list = '2' | ||
temperature = .true. | ||
x = .true. | ||
y = .true. | ||
z = .true. | ||
/ | ||
&massoud_output | ||
funtofem_include_skin_friction = .true. | ||
funtofem_flow_test = .true. | ||
/ |
Binary file added
BIN
+6.83 KB
...s/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_quads/Flow/miniMesh.b8.ugrid
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_quads/Flow/miniMesh.mapbc
This file contains 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,3 @@ | ||
2 | ||
1 5000 Farfield | ||
2 4000 wall |
9 changes: 9 additions & 0 deletions
9
...s/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_quads/Flow/moving_body.input
This file contains 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,9 @@ | ||
&body_definitions | ||
n_moving_bodies = 1, | ||
body_name(1) = 'plate', | ||
parent_name(1) = '', ! '' means motion relative to inertial ref frame | ||
n_defining_bndry(1) = 1, ! number of boundaries that define this body | ||
defining_bndry(1,1) = 2, ! index 1: boundary number index 2: body number | ||
motion_driver(1) = 'funtofem', ! tells fun3d to use motion inputs from python | ||
mesh_movement(1) = 'deform', ! can use 'rigid', 'deform', 'rigid+deform' with funtofem interface | ||
/ |
20 changes: 20 additions & 0 deletions
20
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_quads/Flow/perturb.input
This file contains 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,20 @@ | ||
PERTURB EPSILON GRIDPOINT | ||
0 1e-30 666 | ||
|
||
0 = No perturbation | ||
1 = Mach number | ||
2 = Alpha | ||
3 = Shape | ||
4 = x-rotation rate | ||
5 = y-rotation rate | ||
6 = z-rotation rate | ||
7 = Grid point x | ||
8 = Grid point y | ||
9 = Grid point z | ||
10 = Yaw | ||
11 = error transport (truncation error) | ||
12 = RCS jet plenum pressure, p0 | ||
100+ = add an imaginary source term to equation | ||
PERTURB-100 of node GRIDPOINT | ||
(to verify the adjoint lambda value) | ||
|
9 changes: 9 additions & 0 deletions
9
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_quads/clear.sh
This file contains 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,9 @@ | ||
rm Flow/*.dat* | ||
rm Flow/*.flow | ||
rm Flow/*.forces* | ||
rm Flow/*.grid_info | ||
rm Adjoint/*getgrad | ||
rm Adjoint/*.tx* | ||
rm Adjoint/*.dat | ||
rm Adjoint/*.adjoint | ||
rm Adjoint/*.grid_info |
3 changes: 3 additions & 0 deletions
3
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_tris/.gitignore
This file contains 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,3 @@ | ||
# have to force changes, doesn't show in git status | ||
Flow/ | ||
Adjoint/ |
Binary file added
BIN
+6 KB
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_tris/Adjoint/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions
1
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_tris/Adjoint/.gitignore
This file contains 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 @@ | ||
debug.getgrad |
82 changes: 82 additions & 0 deletions
82
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_tris/Flow/fun3d.nml
This file contains 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,82 @@ | ||
&project | ||
project_rootname = 'miniMesh' | ||
/ | ||
&raw_grid | ||
grid_format = 'aflr3' | ||
data_format = 'default' | ||
swap_yz_axes = .false. | ||
/ | ||
&governing_equations | ||
eqn_type = 'compressible' | ||
viscous_terms = 'inviscid' | ||
/ | ||
&reference_physical_properties | ||
mach_number = 0.3 | ||
angle_of_attack = 10.0 | ||
reynolds_number = 6.91137e6 | ||
temperature = 300.0 | ||
temperature_units = 'Kelvin' | ||
/ | ||
&inviscid_flux_method | ||
flux_construction = 'roe' | ||
flux_limiter = 'none' | ||
smooth_limiter_coeff = 1.0 | ||
freeze_limiter_iteration = 100 | ||
/ | ||
&code_run_control | ||
restart_write_freq = 500 | ||
restart_read = 'off' | ||
steps = 500 | ||
/ | ||
&nonlinear_solver_parameters | ||
time_accuracy = "steady" | ||
time_step_nondim = 0.1 | ||
subiterations = 0 | ||
schedule_iteration(1:2) = 1,200 | ||
schedule_cfl(1:2) = 1.0, 100.0 | ||
schedule_cflturb(1:2) = 5.0,50.0 | ||
hanim = .false. | ||
/ | ||
&hanim | ||
cfl_increase_factor = 1.2 | ||
cfl_decrease_factor = 0.7 | ||
/ | ||
&elasticity_gmres | ||
elasticity = 2 | ||
tol = 1.e-20 | ||
tol_abs = 1.e-30 | ||
/ | ||
&global | ||
moving_grid = .true. | ||
boundary_animation_freq = 1000 | ||
volume_animation_freq = 1000 | ||
recompute_turb_dist = .false. | ||
/ | ||
&slice_data | ||
nslices = 1 | ||
slice_z(:) = .true. | ||
slice_location(:) = 2.5 | ||
/ | ||
&volume_output_variables | ||
export_to = 'tecplot' | ||
temperature = .true. | ||
x = .true. | ||
y = .true. | ||
z = .true. | ||
/ | ||
&boundary_output_variables | ||
number_of_boundaries = 1 | ||
boundary_list = '2' | ||
temperature = .true. | ||
x = .true. | ||
y = .true. | ||
z = .true. | ||
/ | ||
&massoud_output | ||
funtofem_include_skin_friction = .true. | ||
funtofem_internal_adjoint_test = .false. | ||
funtofem_test_epsilon = 1.e-4 | ||
funtofem_grid_test = .false. | ||
funtofem_restart_grid_forward = .false. | ||
funtofem_restart_grid_adjoint = .false. | ||
/ |
Binary file added
BIN
+12.5 KB
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_tris/Flow/miniMesh.b8.ugrid
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_tris/Flow/miniMesh.mapbc
This file contains 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,3 @@ | ||
2 | ||
1 5000 Farfield | ||
2 4000 wall |
9 changes: 9 additions & 0 deletions
9
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_tris/Flow/moving_body.input
This file contains 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,9 @@ | ||
&body_definitions | ||
n_moving_bodies = 1, | ||
body_name(1) = 'plate', | ||
parent_name(1) = '', ! '' means motion relative to inertial ref frame | ||
n_defining_bndry(1) = 1, ! number of boundaries that define this body | ||
defining_bndry(1,1) = 2, ! index 1: boundary number index 2: body number | ||
motion_driver(1) = 'funtofem', ! tells fun3d to use motion inputs from python | ||
mesh_movement(1) = 'deform', ! can use 'rigid', 'deform', 'rigid+deform' with funtofem interface | ||
/ |
20 changes: 20 additions & 0 deletions
20
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_tris/Flow/perturb.input
This file contains 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,20 @@ | ||
PERTURB EPSILON GRIDPOINT | ||
0 1e-30 666 | ||
|
||
0 = No perturbation | ||
1 = Mach number | ||
2 = Alpha | ||
3 = Shape | ||
4 = x-rotation rate | ||
5 = y-rotation rate | ||
6 = z-rotation rate | ||
7 = Grid point x | ||
8 = Grid point y | ||
9 = Grid point z | ||
10 = Yaw | ||
11 = error transport (truncation error) | ||
12 = RCS jet plenum pressure, p0 | ||
100+ = add an imaginary source term to equation | ||
PERTURB-100 of node GRIDPOINT | ||
(to verify the adjoint lambda value) | ||
|
9 changes: 9 additions & 0 deletions
9
tests/fun3d_tests/fully_coupled_disc_deriv/inviscid/meshes/plate_tris/clear.sh
This file contains 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,9 @@ | ||
rm Flow/*.dat* | ||
rm Flow/*.flow | ||
rm Flow/*.forces* | ||
rm Flow/*.grid_info | ||
rm Adjoint/*getgrad | ||
rm Adjoint/*.tx* | ||
rm Adjoint/*.dat | ||
rm Adjoint/*.adjoint | ||
rm Adjoint/*.grid_info |
Oops, something went wrong.