Nonlinear Piola Transform


 

This is an extension for Linear Piola Transform, where we discuss the cases where the transformation from the reference element to the physical element is nonlinear such as a parametric element. The main tool here is actually from the exterior calculus framework, and will just be from the FEEC book by Arnold.

Let $\Omega, \hat \Omega$ by the physical element and reference element with an orientation-preserving, differentiable map $\phi: \hat \Omega \to \Omega$. Suppose $p: \Omega \to \mathbb{R}, v: \Omega \to \mathbb{R}^3$ are the functions on the physical element. The quantity $(p, \nabla \cdot v) = \int_\Omega p \nabla \cdot v \, dx$ is of importance.

The key observation here is that by letting $\nu = v^1 dx^2 \wedge dx^3 – v^2 dx^1 \wedge dx^3 + v^3 dx^1 \wedge dx^2$, we have $d\nu = v$ where $d$ is the exterior derivative. A key fact here is that with integral of differential forms is it preserves pullbacks (see second answer) hence
\begin{align*}
(p, \nabla \cdot v) = \int_\Omega p \nabla \cdot v \, dx = \int_\Omega p \wedge d\nu = \int_{\hat \Omega} \phi^*(p \wedge d\nu)
\end{align*}
where $\phi^*$ is the pullback of differential form $\phi$.

Now, it’s just a matter of algebra
\begin{align*}
\int_{\hat \Omega} \phi^*(p \wedge d\nu) = \int_{\hat \Omega} \phi^*p \wedge \phi^* d\nu = \int_{\hat \Omega} \phi^*p \wedge d\phi^*\nu.
\end{align*}
Now, we need to look up what the pullback does to a 0-form $p$ and on the 2-form $\nu$. Well, we can look this up or just algebraically do it (which I’ll do it sooner or later because I couldn’t find a good source online), we have $\phi^* p = p \cdot \phi$ and
\begin{align*}
\phi^* \nu = (\det \phi’ )(\phi’)^{-1} (v \cdot \phi): \hat \Omega \to \mathbb{R}^3
\end{align*}
which is exactly the Piola transform.

Helplessness

The last three weeks has been terrible in every sense of the word with the outbreak of war in Europe. Even though I’m more than eight time zones way from the action, my anxiety level is through the roof, and has caused my heart rate to spike. Part of the reason is that I have absolutely no control over the situation. Nothing I do can effect the news.

I think one indication of maturity level is how one handles helplessness. As my world opened up while aging, there’s more and more things which I can’t change. The way I fundamentally look, the way mustard taste, the way someone else feels about you. And now, the way global geopolitics is shaping up for the foreseeable future.

My approach right now is best encapsulated by Vonnegut’s “so it goes.” It’s okay to be frustrated at what’s going on. In fact, one should absolutely be aghast at what’s happening to the climate crisis, Ukraine war, the pandemic… but alas, what can I do besides my little part?

It’s odd how I think about this right now. Perhaps it’s a strategy to deal with overwhelming anxiety, but I always believed that I have an internal locus of control. I firmly believe that my future is under my control, but having moved to ABQ, home of a nuclear lab, I fully realized that if nuclear war were to break out, I would be incinerated instantly. Furthermore, there’s also issues of health in my family that I can’t control. It just sucks that as we age, chaos increasingly dominates our life and helplessness goes up.

So it goes.

 

Simple Neural ODE Code

 

 

Hitting the Slopes

I recently had an epitome the other day: having fun skiing entails skiing less.

Ski Santa Fe

The logic is simple. A tired skier is an unhappy skier. A tired skier is a an injury-prone skier. A tired skier is a miserable skier.

Another particular benefit of skiing less is I can save money, since many ski parks offer half-day passes for a discount. By only opting for the afternoon session, I also get to experience a warmer day with less crowds since après ski tend to set in around lunch time. There’s also the fact that I could sleep in more, and not contend with the early morning rush.

I finally understand less is more now.

A Walk in the Woods

My third Bill Bryson book after a Short History of Nearly Everything and At Home. As usual, I loved his writing style and humor. I found myself laughing and snickering more while reading this book about struggling through the Appalachian Trail then the Anxious People novel.

Pros:

  • Lots of facts, and his usage of vocabulary has always been strong.
  • Dry, British humor

Cons:

  • No sources; there is a fact about the average American walking less than ____ miles a week which I couldn’t verify.

The novel was published back in 1998, I do wonder if anything has changed since. There were quite a few sections where Bryson crucified certain governmental actions (or lack thereof) which I suspect will have gained a lot of attention due to the book/movie. It’s just so depressing sometimes to read about the accelerating decline of nature.

My Castle

Nowadays, home is not only where the heart is, but also where my office is. I spend over twenty one hours per day on average inside the confines of the four walls. This is partly why I splurged for the two bedroom instead of the one, and why I’ve been sort of obsessing over air quality recently.

Ever since college, I’ve developed some sort of allergic reaction whenever I visit my parent’s house in Florida. I’m convinced it’s due to some sort of ragweed floating around, or the sudden changes in stress leads to a floundering immune system. When there’s nobody around, I just stuck tissues up my nose… luckily, my sinus passage has so far enjoyed New Mexico… for the most part.

I’ve noticed in the afternoons that my nose are constantly flared, and that repeated vacuuming of my carpets still leads to large amounts of dust piling in the bin. The rays of sunshine streaming into my apartments laid bare the amount of dust floating around. It makes sense; the dust comes from, well, the twenty one hours I spend at home and the fact that the dry, high desert environment readily kicks up the sand and particulates from the ground. Since no home is sealed, those little particulate matter diffuse into my castle.

Ever since I got my Airmega 200M air purifier, that nose flaring has gone away for the most part. A side effect is that I have to dust my home less with that HEPA filter running. It has also made me more aware of the effects on indoor air quality of cooking and vacuuming. The filter plus my humidifier really makes my indoor air quality much better. This translates to a happier Marshall.

Now, I’m concerned about my water quality…