You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/hifire.rst
+41-41Lines changed: 41 additions & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,15 @@ HIFiRE-1
3
3
4
4
One of our driving use cases for Pressio is for simulations of hypersonic
5
5
aerodynamics. Model reduction is necessary because computational models
6
-
are widely used in the hypersonic flight regime due to the expense and difficulty
6
+
are widely used in the hypersonic flight regime due to the expense and difficulty
7
7
of flight tests and experiments. The reliance on computational models as well as
8
-
the risk tolerances in hypersonic applications requires a greater emphasis on
9
-
trustworthiness of these models. Unfortunately, crucial tasks including
8
+
the risk tolerances in hypersonic applications requires a greater emphasis on
9
+
trustworthiness of these models. Unfortunately, crucial tasks including
10
10
parameter calibration, uncertainty/error propogation, and (robust) design
11
-
optimization require many model evalutations.
11
+
optimization require many model evalutations.
12
12
13
-
Model reduction with Pressio enables these many query analysis for higher
14
-
fidelity aerodynamic simulations such as finite volume models of the
13
+
Model reduction with Pressio enables these many query analysis for higher
14
+
fidelity aerodynamic simulations such as finite volume models of the
15
15
Navier-Stokes and Reynolds-Averaged Navier--Stokes (RANS) equations. The
16
16
following section contains results obtained using Pressio and the Sandia
17
17
Aerodynamics and Reentry Code (SPARC) `[Howard et al. 2017][1] <https://arc.aiaa.org/doi/abs/10.2514/6.2017-4407>`_.
@@ -20,35 +20,35 @@ The results shown below are presented in greater detail in `[Blonigan et al. 202
20
20
Description
21
21
-----------
22
22
23
-
The HiFIRE-1 (Hypersonic International Flight Research Experimentation) vehicle was an instrumented sounding rocket flown to collect data on hypersonic boundary layer transition `[Kimmeland and Adamczak, 2012][3] <https://arc.aiaa.org/doi/10.2514/6.2012-1088>`_.
23
+
The HiFIRE-1 (Hypersonic International Flight Research Experimentation) vehicle was an instrumented sounding rocket flown to collect data on hypersonic boundary layer transition `[Kimmeland and Adamczak, 2012][3] <https://arc.aiaa.org/doi/10.2514/6.2012-1088>`_.
24
24
We consider a high-fidelity RANS simulation of the payload shown below in the 3D rendering:
HIFiRE-1 booster stack [Kimmeland and Adamczak, 2012][3]
31
+
HIFiRE-1 booster stack [Kimmeland and Adamczak, 2012][3]
32
32
33
-
The range of flight conditions used in our simulations are chosen to be similar to the flow conditions of a wind tunnel test of HiFIRE-1, specfically run 34 of the experimental campaign undertaken at the CALSPAN University of Buffalo Research Center (CUBRC) `[Wadhams et al., 2008][4] <https://doi.org/10.2514/1.38338>`_.
33
+
The range of flight conditions used in our simulations are chosen to be similar to the flow conditions of a wind tunnel test of HiFIRE-1, specfically run 34 of the experimental campaign undertaken at the CALSPAN University of Buffalo Research Center (CUBRC) `[Wadhams et al., 2008][4] <https://doi.org/10.2514/1.38338>`_.
34
34
A table with wind tunnel conditions corresponding to run 34 is included below:
35
35
36
36
37
37
.. list-table:: Title
38
38
:widths: 50 50
39
39
:header-rows: 0
40
40
41
-
* - Density
41
+
* - Density
42
42
- :math:`0.070215 kg/m^3`
43
43
* - Velocity
44
44
- :math:`2168.7 m/s`
45
-
* - Mach Number
45
+
* - Mach Number
46
46
- :math:`7.1`
47
-
* - Angle of attack
47
+
* - Angle of attack
48
48
- :math:`2.0^{\circ}`
49
49
* - Temperature
50
50
- :math:`231.91 K`
51
-
* - Reynolds Number
51
+
* - Reynolds Number
52
52
- :math:`1e71/m`
53
53
54
54
@@ -58,39 +58,39 @@ For this case, turbulent transition is modeled by tripping the boundary layer 0.
58
58
Full order model (FOM)
59
59
----------------------
60
60
61
-
Since the HIFiRE-1 payload geometry is axisymmetric, but the angle of attack is non-zero, we assume symmetry about the centerline anduse the half mesh shown below
61
+
Since the HIFiRE-1 payload geometry is axisymmetric, but the angle of attack is non-zero, we assume symmetry about the centerline anduse the half mesh shown below
62
62
63
63
.. figure:: ./figures/hifire1/mesh.png
64
64
:scale:8 %
65
65
:alt:HIFiRE-1 mesh
66
-
67
-
HIFiRE-1 mesh [Blonigan et al., 2021][2]
66
+
67
+
HIFiRE-1 mesh [Blonigan et al., 2021][2]
68
68
69
69
The mesh has 2,031,616 cells, corresponding to a state-space size of 12,189,696 since
70
-
we are using the one-equation Spalart-Allmaras turbulence model.
71
-
The FOMs were solved to a steady state using pseudo time stepping with a backward Euler integration scheme.
70
+
we are using the one-equation Spalart-Allmaras turbulence model.
71
+
The FOMs were solved to a steady state using pseudo time stepping with a backward Euler integration scheme.
72
72
The stopping criteria were a 5 order of magnitude.
73
73
74
74
A total of 36 FOMs are run at the sample points shown below
75
75
76
76
.. figure:: ./figures/hifire1/param_space.png
77
77
:scale:50 %
78
78
:alt:HIFiRE-1 FOM samples
79
-
80
-
FOM samples [Blonigan et al., 2021][2]
79
+
80
+
FOM samples [Blonigan et al., 2021][2]
81
81
82
82
83
83
The 24 FOMs labeled "train" are used to construct a POD basis for the ROM; the FOMs labeled "test" are used to compare the ROM against.
84
-
The plots below show several flow solutions.
84
+
The plots below show several flow solutions.
85
85
86
86
.. figure:: ./figures/hifire1/fom_solutions.png
87
87
:scale:50 %
88
88
:alt:HIFiRE-1 FOM solutions
89
-
90
-
FOM solutions colored by Mach number and wall heat flux [Blonigan et al., 2021][2]
91
89
92
-
The main feature of the flow field include a bow shock near the nose, an expansion wave just aft of the cone and an oblique shock upstream of the flange.
93
-
Boundary layer transition is visible in the sudden jump in heat flux.
90
+
FOM solutions colored by Mach number and wall heat flux [Blonigan et al., 2021][2]
91
+
92
+
The main feature of the flow field include a bow shock near the nose, an expansion wave just aft of the cone and an oblique shock upstream of the flange.
93
+
Boundary layer transition is visible in the sudden jump in heat flux.
94
94
95
95
96
96
@@ -104,15 +104,15 @@ We use a Least-Squares Petrov--Galerkin (LSPG) ROM with a conservation constrain
104
104
The conservation constraint is applied to the entire volume, as discussed in section III.B of `[Blonigan et al. 2021][2] <https://arc.aiaa.org/doi/10.2514/1.J059785>`_.
105
105
The constrained LSPG solver is implemented using a customized nonlinear solver in Pressio. The solver is run until the relative
106
106
residual of the normal equations is reduced by 5 orders of magnitude.
107
-
The initial guess for the ROM generalized coordinates were computed with inverse distance interpolation as suggested by Washabaugh (Algorithm 23) [Washabaugh 2016][5].
108
-
The basis is constructed from the leading 4 POD modes computed from all 24 training snapshots.
109
-
The POD modes are scaled to account for the different magnitudes of each conserved quantity; see section IV.C of `[Blonigan et al. 2021][2] <https://arc.aiaa.org/doi/10.2514/1.J059785>`_ for more details of the ROM method.
107
+
The initial guess for the ROM generalized coordinates were computed with inverse distance interpolation as suggested by Washabaugh (Algorithm 23) [Washabaugh 2016][5].
108
+
The basis is constructed from the leading 4 POD modes computed from all 24 training snapshots.
109
+
The POD modes are scaled to account for the different magnitudes of each conserved quantity; see section IV.C of `[Blonigan et al. 2021][2] <https://arc.aiaa.org/doi/10.2514/1.J059785>`_ for more details of the ROM method.
110
110
111
111
TODO more details on what features of Pressio are used?
112
112
113
-
Hyper-reduction is achieved using a sample mesh composed of 16,253 randomly selected cells
114
-
in which the residual is sampled, along with neighboring cells and neighbors of neighbors, yielding 364,468 cells in total,
115
-
equivalent to roughly 17.9% of the full mesh.
113
+
Hyper-reduction is achieved using a sample mesh composed of 16,253 randomly selected cells
114
+
in which the residual is sampled, along with neighboring cells and neighbors of neighbors, yielding 364,468 cells in total,
115
+
equivalent to roughly 17.9% of the full mesh.
116
116
It is shown below:
117
117
118
118
.. figure:: ./figures/hifire1/sample_mesh8em3.png
@@ -125,33 +125,33 @@ It is shown below:
125
125
Results
126
126
^^^^^^^
127
127
128
-
Using this sample mesh resulted in a ROM with a **speed-up of 300-1,000**; that is, around 300-1,000 ROMs could be run with the computational resources required for a single FOM.
129
-
This substantial cost reduction comes with **almost no loss in accuracy**: a maximum state error of around than 0.3% across all 12 test cases, as well as errors of no more than 3% in integrated wall heat flux.
128
+
Using this sample mesh resulted in a ROM with a **speed-up of 300-1,000**; that is, around 300-1,000 ROMs could be run with the computational resources required for a single FOM.
129
+
This substantial cost reduction comes with **almost no loss in accuracy**: a maximum state error of around than 0.3% across all 12 test cases, as well as errors of no more than 3% in integrated wall heat flux.
130
130
131
-
TODO ROM vs. FOM flow visualization(s)
131
+
TODO ROM vs. FOM flow visualization(s)
132
132
133
-
The following figure shows the error of the wall pressure and heat flux computed by the ROM for test case 10.
133
+
The following figure shows the error of the wall pressure and heat flux computed by the ROM for test case 10.
134
134
135
135
.. figure:: ./figures/hifire1/surface_error.png
136
136
:scale:65 %
137
137
:alt:Relative error fields for the ROM solution to test case 10.
138
138
139
-
The ROM computes the surface quantities with errors of 1-3% or less over most of the vehicle surface.
140
-
This is substantially more accurate surface quantities than the interpolation used for the initial guess shown on top.
139
+
The ROM computes the surface quantities with errors of 1-3% or less over most of the vehicle surface.
140
+
This is substantially more accurate surface quantities than the interpolation used for the initial guess shown on top.
141
141
142
142
Additional results can be found in `[Rizzi et al. 2020][3] <https://arxiv.org/abs/2003.07798>`_.
143
143
144
144
145
-
.. tip:: ROMs are low cost **and** accurate
145
+
.. tip:: ROMs are low cost **and** accurate
146
146
147
-
A hyper-reduced ROM produces results within 1% of the full model results, but only requires around 1% of the computational resources needed for the full model.
147
+
A hyper-reduced ROM produces results within 1% of the full model results, but only requires around 1% of the computational resources needed for the full model.
148
148
149
149
150
150
References
151
151
----------
152
152
153
153
- [1]: Micah Howard, Andrew Bradley, Steven W. Bova, James Overfelt, Ross Wagnild, Derek Dinzl, Mark Hoemmen and Alicia Klinvex. "Towards Performance Portability in a Compressible CFD Code," AIAA 2017-4407. 23rd AIAA Computational Fluid Dynamics Conference. June 2017.
154
-
- [2]: Patrick J. Blonigan, Francesco Rizzi, Micah Howard, Jeffrey A. Fike, and Kevin T. Carlberg, Model Reduction for Steady Hypersonic Aerodynamics via Conservative Manifold Least-Squares Petrov–Galerkin Projection, AIAA Journal 2021 59:4, 1296-1312
154
+
- [2]: Patrick J. Blonigan, Francesco Rizzi, Micah Howard, Jeffrey A. Fike, and Kevin T. Carlberg, Model Reduction for Steady Hypersonic Aerodynamics via Conservative Manifold Least-Squares Petrov–Galerkin Projection, AIAA Journal 2021 59:4, 1296-1312
155
155
- [3]: Roger Kimmel and David Adamczak. "HIFiRE-1 Background and Lessons Learned," AIAA 2012-1088. 50th AIAA Aerospace Sciences Meeting including the New Horizons Forum and Aerospace Exposition. January 2012.
156
156
- [4]: Wadhams, T. P., Mundy, E., MacLean, M. G., and Holden, M. S., “Ground Test Studies of the HIFiRE-1 Transition Experiment Part 1: Experimental Results,” Journal of Spacecraft and Rockets, Vol. 45, No. 6, 2008, pp. 1134–1148.
157
-
- [5]: K. M. Washabaugh, "Fast Fidelity for Better Design: A Scalable Model Order Reduction Framework for Steady Aerodynamic Design Applications", PhD Thesis, Department of Aeronautics and Astronautics, Stanford University, August 2016.
157
+
- [5]: K. M. Washabaugh, "Fast Fidelity for Better Design: A Scalable Model Order Reduction Framework for Steady Aerodynamic Design Applications", PhD Thesis, Department of Aeronautics and Astronautics, Stanford University, August 2016.
Copy file name to clipboardExpand all lines: docs/source/seismic.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
Seismic Shear Waves
2
2
===================
3
3
4
-
This work focuses on projection-based reduced-order models (ROMs) of linear time-invariant (LTI) dynamical systems.
5
-
For such systems, current practice relies on ROM formulations expressing the state as a rank-1 tensor (i.e., a vector),
6
-
leading to computational kernels that are memory bandwidth bound and, therefore, ill-suited for scalable performance on modern architectures. This weakness can be particularly limiting when tackling many-query studies, where one needs to run a large number of simulations.
4
+
This work focuses on projection-based reduced-order models (ROMs) of linear time-invariant (LTI) dynamical systems.
5
+
For such systems, current practice relies on ROM formulations expressing the state as a rank-1 tensor (i.e., a vector),
6
+
leading to computational kernels that are memory bandwidth bound and, therefore, ill-suited for scalable performance on modern architectures. This weakness can be particularly limiting when tackling many-query studies, where one needs to run a large number of simulations.
7
7
This work introduces a reformulation, called rank-2 Galerkin, of the Galerkin ROM for LTI dynamical systems which converts the nature of the ROM problem from memory bandwidth to compute bound. We present the details of the formulation and its implementation, and demonstrate its utility through numerical experiments using, as a test case, the simulation of elastic seismic shear waves in an axisymmetric domain. We quantify and analyze performance and scaling results for varying numbers of threads and problem sizes. Finally, we present an end-to-end demonstration of using the rank-2 Galerkin ROM for a Monte Carlo sampling study. We show that the rank-2 Galerkin ROM is one order of magnitude more efficient than the rank-1 Galerkin ROM (the current practice) and about 970 times more efficient than the full-order model, while maintaining accuracy in both the mean and statistics of the field.
8
8
9
9
The code for shear wave simulation code developed for this work is `available here <https://github.com/Pressio/SHAW>`__.
0 commit comments