transcribe

POD and Soliton Dynamics

Nathan Kutz · 23m · transcribed Aug 2026
More from Nathan Kutz Business
𝕏 Share ▶ YouTube 📥 PDF 🤖 .md

Section Insights

# 0:00

Introduction to Reduced Order Modeling

What is reduced order modeling and its significance?

Reduced order modeling (ROM) aims to simplify high-dimensional systems, such as those described by partial differential equations (PDEs), to make simulations more computationally efficient. By projecting data into a lower-dimensional subspace, one can significantly reduce the computational cost while retaining essential dynamics.

  • ROM helps in managing high-dimensional systems efficiently.
  • It involves finding an optimal subspace for data representation.
  • The goal is to reduce simulation costs while maintaining accuracy.
# 4:45

Setting Up the Simulation

How is the simulation set up for reduced order modeling?

The simulation is set up using a Fourier spectral method to solve a nonlinear equation over a defined spatial domain. The domain is discretized into points, and the data matrix is constructed from time slices to facilitate low-rank representation.

  • A Fourier spectral method is used for solving nonlinear equations.
  • The spatial domain is discretized into a manageable number of points.
  • Data matrices are created from time slices for further analysis.
# 9:31

Analyzing Simulation Results

What insights can be gained from the simulation results?

The simulation reveals complex nonlinear dynamics, such as breathing structures. It highlights the limitations of Fourier modes for representing such dynamics and suggests the need for a more appropriate basis to capture the essential features with fewer modes.

  • The simulation shows complex dynamics that are not well-represented by Fourier modes.
  • A more suitable basis is needed for effective representation.
  • The goal is to minimize the number of modes while retaining essential dynamics.
# 14:17

Understanding Mode Contributions

How do the modes contribute to the overall dynamics?

The analysis of modes shows that a small number of them can capture a significant portion of the variance in the system. Specifically, the first two modes can account for nearly all the energy, indicating that a reduced model can be built using just these modes.

  • A few modes can capture most of the system's energy.
  • Reduced models can be effective with limited complexity.
  • Understanding mode contributions is key to building efficient models.
# 19:02

Constructing the Reduced Order Model

What is the process for constructing a reduced order model?

To construct a reduced order model, one can expand the system in a subspace defined by the significant modes. By taking inner products with respect to these modes, one derives coupled ordinary differential equations that govern the dynamics, allowing for efficient simulations.

  • The reduced order model is constructed using significant modes.
  • Inner products are essential for deriving governing equations.
  • This approach simplifies the simulation process while retaining dynamics.

Transcript

0:05 we're going to continue on with reduced order modeling in particular thinking about proper orthogonal decomposition how to build low dimensional models of partial differential equations so this is from chapter 11 of the book data driven science and engineering cuts in Brunton data book u-dub comm has all the code I'll talk about today as well as notes and extensive other resources for you to play around with in the context of this kind of kind of work on we just

0:36 sort of modeling so just as a reminder where we're thinking about reduced sort of models roms and we're thinking about taking a system that is very high dimensional is so simulating that system can be very costly so for instance when you discretize a PDE you may have billions of different discrete points that you have to simulate now as a billion the greatest system of Oddi ease so this is very costly and the idea is to try to trade that out to some new

1:07 representation of the data in which you can now simulate that at a fraction of the cost of the full state space system okay so that's the idea of roms is to find that coordinate system in which this can happen and to project your data or project your model into that subspace which is advantageous for simulation purposes to give you that leverage in terms of shrinking the computation dying down significantly this lecture in

1:39 particular the two previous lectures are laying down some for the foundations about how to find that particularly the way we find out subspaces through this things of value decomposition where we take snapshots of the data of some high resolution PDE so we're gonna have to do some expensive computation first but the idea is we do a short burst of an expensive computation find the subspace which is optimal to embed that data then bail daegil our computing model in that

2:07 subspace so they talked about that in the last lecture and what I want to do in this lecture is to actually contextualize this in terms of an example system which is this one here which is the nonlinear Schrodinger equation and I'm going to do od decomposition and looking at soliton dynamics so here's the model it's a Schrodinger equation is the linear part and now you have this non-linearity here so this is the nonlinear Schrodinger so a linear part

2:32 not only a part this has some very interesting dynamics and we're gonna look mostly it just what are some of the canonical soliton dynamics that are quite interesting and well studied historically okay so that's the model and again part of the goal here we say if I simulate this system then what I want to do is to try to figure out how to project it into a basis set and approximate it in a new basis set sy is

3:02 going to come from the SVD and then all I need to do then is watch the evolution of how the COPE look aft is the coefficients telling me how much of that of those basis modes are what's happening to them in time and so the idea is this here will give me an ability to compute that so the lower-right dynamics is to put this into the governing equations which is generically done here so this is a

3:26 representation of now the dynamics on the a of T space which the hope is that if you did the simulation in a high dimensional space that you find some rank or approximation and so now this is a R dimensional set of differential equations to be computing right here okay so that's going to be our reduced sort of model and then I'm going to also show that at least in this specific example we can actually make some pretty

3:54 nice progress in developing this model out and showing how it works in in in practice in fact you can do a analytics on this one which is very nice so I want to show how that all works out and how you produce such a model here which is this low rank model for the system ok so what we're gonna do is we're gonna move the to a code and the code is going to solve that nonlinear Schrodinger

4:17 equation I'm gonna walk through the code and then I'm going to show you what the results are here and then talk about how we might actually then interpret the results we get from that and also interpret the results from the model reduction all right so here we are this is the code here we're gonna start off up the top lines here I'm defining a domain Eliquis 40 so this thing's gonna go from a domain size being negative 20 to 20

4:47 and you'll see the simulation results in a minute so I'm just picked that out there's 512 points so I'm gonna first solve this using a Fourier spectral method to solve this nonlinear showing your equation and then we're gonna look for how do we go about then taking that data and doing a reduction so size of domains 4512 points i define a domain x2 which is goes from negative 20 to 20 and n plus 1 points I throw away the last

5:15 point because it's periodic boundary conditions I'm using Fourier modes after all then X is the first one two end points so that's my discretization of the spatial domain I'm going to work in now in that spatial domain the Fourier modes have these wave numbers here K remember the Fourier transform believes you're working on a two pi periodic domain so here the two PI over L is a rescaling because I'm working on domain size L now this rescale it to a size 2

5:43 pi 4 which prepares it to go to the Fourier transform here the wave numbers the wave numbers are like cosine 1 X cosine 2 X cosine 3x okay I'm gonna solve it from time 0 it's time 21 and here sorry from 0 to 2 pi with 21 slices of time okay so I'm gonna go over to PI period take 21 slices that's going to be my data matrix and what I want to do with that data matrix is construct a

6:12 low-rank representation which I can leverage to build low-rank models now I'm going to do two simulations in particular first one is I'm going to take here simulation of the one that what's called the one salt on which is you simulate a hyperbolic secant with the amplitude being one so such X is what's going to come into here we're going to take a Fourier transform of that that's an initial condition for this OD solver which is going to now

6:40 march it forward solving in the Fourier domain when I get out an inverse Fourier transform build the snapshots up in the original state space I also do this again with N equals two so now just has a amplitude 2 in front of the such hyperbolic secant and so this is going to be the simulation let's look at the right-hand side of what nonlinear Schrodinger looks like this is about as simple as it gets here it is you call the right-hand side

7:08 function you bring in your initial conditions the time you're gonna solve it for bring in your wave numbers K here's the second derivative there's the nonlinear term okay so fairly simple code to run and this is a pretty standard like PD solve that you would do a spectral methods okay so all that code is available on the website so you can download it play around with it and generate this kind of data now you can

7:40 run this and in fact I'm just gonna come back to the slides because I think we can see these runs a little bit better just from the slides so if you run that code here are some of the results that you get what I'm showing you now is the one salt on and that to soliton and what you're looking at is the top panels here is the evolution it's the absolute value of the of the field mod u squared

8:10 function of X and time so the N equals 1 salat on this thing is a nonlinear wave that holds itself together and it takes this hyperbolic secant form and just keeps flying along now by the way it's not stationary the phase itself is rotating so I've plotted the absolute value but if you were look at the real event imaginary parts are switching energy this complex field evolution here is what the spectrum of this thing looks like so in other words the Fourier

8:37 transform of this is right here so this localized search produces something looks like a little ice such in the frequency domain and this is what its evolution looks like so this is kind of a very generic and boring case however I solved it with 512 modes and this is the entire point of the reduced order modelling frame which is when you look at this data and you say that looks like a very simple evolution it's this wave that's just

9:04 traveling maybe I could trade out to a coordinate system where instead of using 512 Fourier modes I use the appropriate mode for doing the numerical solution with this right so it's instead of standing I'm gonna trade out Basie's trade out those Fourier modes for a better basis and so I'm gonna take this do snapshots here find the s do the SVD look for the low ranks pub/sub space in which to project this data here's the N

9:32 equals 2 case what you're looking at here is the evolution and the evolution is such that it's it's a it's called a breather so it's this it's a it's called a two solid tine it's a it's a breathing structure you can see it has a very nice complex nonlinear dynamics here's what its frequency domain counterpart looks like so this is an interesting evolution however it still looks like a fairly simple dynamics right just kind of us

9:58 breathing structure that's happening there and so again you can ask the question I could solve this obviously with using my Fourier decomposition like I just did with 512 modes or can I trade out to a more appropriate basis in which I can use significantly less number of modes okay so because these you know these functions don't look like Fourier modes at all right I mean Fourier modes are these global structures sines and cosines these are highly localized and

10:29 of course what Fourier Theory tells you is that you can represent any function on a 2 pi periodic domain with an infinite sum assigned to cosines but the whole point is I'm trying to stay away from the infinite sum and make it as small sum as possible and Fourier modes are not the best set of modes to use for such dynamics so what we can do is we can take that data put them in a snapshot matrix SVD this is exactly what

11:00 we did in the last lecture I talked about this you just take this you look for the low dimensional embedding and what I'm showing you here is the results from these two simulations so top left top right this is the N equal one salat on n equal to Sultana what you're looking at here is the energy the variance percentage or the energy contained in each of the modes if I look at the singular value decay so I'm looking at the Sigma matrix

11:28 for those two simulations on a log plot and you can see right here the yellow there's one mode that dominates in the N equals all the time n equal one soliton case and all the other modes are down here I've color-coded them so the first mode is yellow second is magenta third is cyan but you could see everybody else is down here and by the way why is it not zero well because I have numerical roundoff OD 4/5 is taking time steps

11:54 that around ten minus five ten minus six and that's kind of what you're seeing here is this is sort of from your numerical scheme over here interestingly enough when you do this look what happens instead of having a single mode off of the singular value decay spectrum here you have five modes up here in fact in fact two of the modes really dominate and then there's the third mode that has about a couple percentage of the energy

12:22 and the other two which have even less so two modes have about you know in the high 90s percentages of the total variance so it's telling you a lot about the structure that's there and about the dimensionality of what's actually in there what I've also done is plotted the modes in other words the columns of the U matrix coming from the SVD from taking those 21 snapshots and I look at the first three modes first three columns of

12:54 U so the first one are the first two columns for this N equals one case so first of all you see this nice yellow here that's the first mode and in fact it looks exactly like the solution that we saw right here it's a bump so it's actually you saying that's the dominant correlated structure everything else is very small that's what this interpretation of that mode being way up here everything being down here and that its shape in Stingley enough if you look

13:25 at these two modes and you look if you look at those two modes that have very little correlation in the system or very little energy in the system here they are that's the magenta and blue it's absolute garbage this is all from numerical roundoff these are not real the numerical artifacts so it's really important when you think about doing rank truncation that you look carefully at what you're getting out of these things because in this case if you were

13:53 just try to now build a model off these three modes using the extra the second and third mode actually there's worse for you than just using one mode alone okay but this tells you you should just use one mode you should truncate right there use that one mode forget the rest okay this is what this is suggesting to you now this bottom picture says that these are these modes now they are not negligible they are actually getting

14:21 some significant portion of the variance and here's what they look like the first mode is yellow which you might expect there's a bone structure in there but notice the magenta and cyan or these two extra modes that are actually capturing a better the energy the about 97 98 percent of the total variances in mode 1 & 2 so in fact we could build a model just off of two modes and get most of it right in fact I'm going to show you this

14:48 in a moment so this is the interpretation we have from getting data like this and this is exactly what you know this is a very simple model let me just say that out front right this is a toy example but what you do in reduced our modeling is you do simulations of a high fidelity system so this is what these are equivalent to 512 modes well resolved I do the simulation for us fixed amount of time from these these

15:17 are my snapshots I find a low dimensional embedding space and I find that by doing this kind of analysis here where I look at the singular value spectrum I look at what kind of mode structures I have and then I find for myself a way to say well I can now project that PDE into this subspace and how I'm going to do it of course is through that formula right here so I'm going to go ahead and project take inner products

15:46 get an equation of motion so let's do it for this system here so let's start off with this simple case then equals one case and in this case what you're going to do is there's only one mode so I'm just say aft fee of X there's one fee of X which was that yellow bump and I'm just gonna throw this directly into the PD and then take the inner products with respect to fee of X again because

16:11 remember the fee of X it's an its you know it has its you don't have any only in one direction which is fee of X if you do a one-vote expansion but it has length unity so we're gonna go and take the inner product and we're going to find the governing equations so in fact here they are if you do this you plug that formula in take the inner product this is the governing equation for the

16:37 amplitude of that mode IFT alpha over to a beta mod a squared a so notice it's a differential equation not a partial differential equation for one variable a and that coefficients alpha and beta determined from the inner product that you have to one that you do once you've actually expanded your solution and so here they are so now notice that I'm taking inner product with respect to the second derivative a fee I'm taking inner product with respect to the nonlinear

17:08 contribution the mod squares Wi-Fi okay so these are these two coefficients that you have here now the nice thing about having a model like this I just turned my PDE now into a one-dimensional OTE and at least in this specific case I can write down a closed form solution and here it is aft you can solve that nonlinear ode ee and here's its solution it's given explicitly by here where a 0 is the initial condition of a and you

17:36 can find that just by projecting your data on to the initial condition at time 0 so in total given that a of T and knowing that the solution was a of T times V of X my overall solution U of XT then is just glue those together here's your a of T times V of X that is in fact so in this case I've done one I've done one step further which is I was able to show you by the way you can

18:06 actually work this out completely analytically here's my reduced order model I solved us a single not only a differential equation to tell you exactly the evolution dynamics over time of the non-linear system in that subspace V of X ok so this is this is exactly the whole idea of the sort of modelling which is I went from a system that had five hundred twelve forty modes down to a system with a single OD e

18:37 describing so right shade a five by 512 degree 512 differential equations to one and that one by the way I could solve so I can write down the solution okay so that is two orders of magnitude reduction in in terms of the size of what I'm doing let's now go and turn our attention to the N equals to the N equals two of course let's go back and look at it for the N equals two there is some question

19:08 about whether you would want to do a two mode expansion a three mode expansion maybe four or five and in fact they're all very queasy to do in some sense so I either would trade it out to you know solving two Odie's up to five hoodies not a big deal what I'm going to show you is if I do a two mode expansion because I want to show you exactly what the analytics look like so it's

19:31 basically going to expand in a subspace subspace spanned by this yellow and magenta mode so imagine those two modes interacting with different frequencies and if you look at the combination of them and imagine a sinusoidal type behavior in time if they oscillate against each other you'll see this breathing behavior and that's exactly what we can to get in this reduce order model okay so let's go back here sorry and here it is so now if you're gonna do a

20:02 two mode expansion here it is the two modes are Phi 1 and Phi 2 they each have their own amplitude ay-one and ay-two so since you now find Phi 1 and Phi 2 from this data driven approach that's your subspace now you just have to find a 1 and a 2 and you do that by putting this back into the governing equations first taking inner product with respect to Phi 1 and using orthogonality Phi 1 and Phi

20:32 2 are orthogonal to each other and then you also take the inner product respect to Phi 2 make use of orthogonality and you get two coupled not only two different rotational equations 1 for a 1 1 for a 2 and here they are so this is obviously more complicated but it's you know this is a pretty simple od to run you have to compute all these coefficients and they're all computed from taking inner products so you do it

21:01 all up front once you have it it's trivial to simulate it's 2 pi to the system you can do phase plane analysis there's a lot of stuff you can do with this because now you have this this is your review sort of model so I trade it out again a 512 degree of freedom system down to a 2 by 2 system nonlinear ODB's simulate this for the dynamics of a 1 & 2 then glue it back into here and you

21:30 have your solution that's your reduced order model so hopefully what this example has shown you is sort of this very simple architecture to get you from a simulation space of a high dimensional simulation which you're still forced to do right the point is you still have to do some high fidelity high dimensional simulation but you do it for a while to find snapshots that you can use to build

22:03 yourself your low dimensional embedding space you move into that low dimensional embedding space and now you can simulate at a fresh of the cost right because this is an hour rank subsystem of this n dimensional system this is much easier to simulate so you would simulate that out and then at some point you lose your model starts to become poor you have to go back up to the high dimensional simulation collect data again find a subspace project down so that's

22:33 typically how it's done the other thing that's interesting about this is oftentimes these roms aren't used for to make qualitative or quantitative agreement with the actual high dimensional model so for instance a lot of times these wrongs are used for Monte Carlo purposes to get statistics so for instance if you want to calculate lift on a turbulent flow you really want the statistics of the turbulent flow to compute that lift so the idea is with the route order modeling even even if

23:04 it's not quantitatively accurate to your full high fidelity model as long as it you can run this cheaply and it produces the correct statistics you can do it at a fraction of the cost moreover some of these high dimensional models you have no shot of doing Monte Carlo they're just too expensive too big so you need the proxy model which is low dimensional to do lots of simulations to generate some of these statistical properties that you want to use in doing

23:32 modeling more can be found here data book you calm all the code I used lecture notes and lots more on reduced order modeling and and these p OD methods

Summary

This lecture focuses on reduced order modeling (ROM) using proper orthogonal decomposition (POD) to create low-dimensional models of partial differential equations (PDEs), specifically the nonlinear Schrödinger equation. By utilizing snapshot data from high-dimensional simulations, the lecture demonstrates how to derive a reduced model that significantly decreases computational costs while maintaining essential dynamics.

- Reduced order models (ROMs) aim to simplify high-dimensional systems, making simulations more efficient.
- Proper orthogonal decomposition (POD) is used to identify optimal subspaces for projecting high-dimensional data.
- The nonlinear Schrödinger equation serves as a case study to illustrate the modeling process and soliton dynamics.
- The lecture emphasizes the importance of performing initial high-fidelity simulations to gather data for constructing the reduced model.
- Singular value decomposition (SVD) helps identify dominant modes in the data, allowing for effective dimensionality reduction.
- The analysis shows that a single mode can capture most of the dynamics in certain cases, while two modes can provide a more accurate representation in others.
- The reduced models can be used for various applications, including Monte Carlo simulations for statistical analysis in complex systems.
- Resources and code for further exploration of reduced order modeling techniques are available online.

Questions Answered

What is reduced order modeling and its significance?

Reduced order modeling (ROM) aims to simplify high-dimensional systems, such as those described by partial differential equations (PDEs), to make simulations more computationally efficient. By projecting data into a lower-dimensional subspace, one can significantly reduce the computational cost while retaining essential dynamics.

How is the simulation set up for reduced order modeling?

The simulation is set up using a Fourier spectral method to solve a nonlinear equation over a defined spatial domain. The domain is discretized into points, and the data matrix is constructed from time slices to facilitate low-rank representation.

What insights can be gained from the simulation results?

The simulation reveals complex nonlinear dynamics, such as breathing structures. It highlights the limitations of Fourier modes for representing such dynamics and suggests the need for a more appropriate basis to capture the essential features with fewer modes.

How do the modes contribute to the overall dynamics?

The analysis of modes shows that a small number of them can capture a significant portion of the variance in the system. Specifically, the first two modes can account for nearly all the energy, indicating that a reduced model can be built using just these modes.

What is the process for constructing a reduced order model?

To construct a reduced order model, one can expand the system in a subspace defined by the significant modes. By taking inner products with respect to these modes, one derives coupled ordinary differential equations that govern the dynamics, allowing for efficient simulations.

© transcribe · For agents Built with care and craft by Gokul Rajaram