personal_site/_posts/2100-12-30-template.md
2025-01-17 13:56:31 +00:00

11 KiB
Raw Blame History

title, layout, excerpt, draft, redirect_from, images, assets, thumbnail, social_image, alt, image_class, mathjax, head
title layout excerpt draft redirect_from images assets thumbnail social_image alt image_class mathjax head
post A one sentence summary. true /template /assets/images/2024 /assets/blog/template/thumbnail.svg /assets/blog/template/thumbnail.png An image of the text "{...}" to suggest the idea of a template. invertable true <script async src="/node_modules/es-module-shims/dist/es-module-shims.js"></script> <script type="importmap"> { "imports": { "three": "/node_modules/three/build/three.module.min.js", "three/addons/": "/node_modules/three/examples/jsm/", "lil-gui": "/node_modules/lil-gui/dist/lil-gui.esm.min.js" } } </script> <script src="/assets/js/projects.js" type="module"></script>

This page acts as both a reminder of how I do various things on this blog and also serves as a canary to see if I've broken the layout inadvertently.

See this kramdown cheatsheet

Subtitle

The first big project of the year was repainting this ladder up to our mezzanine bed. This ended up being so much more work than we expected, they say it's all in the surface prep and the surface prep here took ages with all the awkward corners.

There was one aspect that was fun with this which was that I made non-slip pads on the rungs by mixing the gloss paint with sand and painting over masked rectangle.

A single large image.
Two images side by side.
More than two images layed out nicely.

Four images:

A very long image:

Played around with some logo designs that I could stamp into ceramics.
  1. Item one
    • sub item one
    • sub item two
    • sub item three
  2. Item two

A table:

Power Voltage Current
15W 5 V 3A
27W 9 V 3A
45W 15 V 3A
60W 20 V 3A
100W* 20V 5A

Line Element

So the setup is this: Imagine we draw a very short line vector \vec{v} and let it flow along in a fluid with velocity field u(\vec{x}, t).

A line element $\delta \vec{v}$ being dragged aloung in a fluid with velocity field $u(\vec{x}, t)$

Three things will happen, the vector will be translated along, it will change length and it will change direction. If we ignore the translation, we can ask what the equation would be for the change in length and direction of \vec{v}. I'll drop the vector symbols on v, u and x from now on.

D_t \; v = ?

If we assume v is very small we can think about expanding u to first order along v

u(x + v, t) = u(x, t) + v \cdot \nabla u

where v \cdot \nabla is the directional derivative v_x \partial_x + v_y \partial_y + v_y \partial_y and when v is infinitesimal it just directly tells us how u will change if we move from point x to point x + v.

So from this we can see that one end of our vector v is moving along at u(x, t) while the other end will move at u(x, t) + v \cdot \nabla u hence:

D_t \; v = v \cdot \nabla u

Below is a more “indexbyindex” look at how one carries out Step 3 in detail. We start from

math with color:

{\color{red} x} + {\color{blue} y}

\frac{D}{Dt}\,\delta S_i
\;=\;
\varepsilon_{i j k}\,\bigl(\tfrac{D}{Dt}\delta x_j^{(1)}\bigr)\,\delta x_k^{(2)}
\;+\;
\varepsilon_{i j k}\,\delta x_j^{(1)}\,\bigl(\tfrac{D}{Dt}\delta x_k^{(2)}\bigr),

and then substitute


\frac{D}{Dt}\,\delta x_j^{(1)} 
\;=\; 
\delta x_\ell^{(1)}\,\frac{\partial u_j}{\partial x_\ell},
\quad
\frac{D}{Dt}\,\delta x_k^{(2)}
\;=\; 
\delta x_\ell^{(2)}\,\frac{\partial u_k}{\partial x_\ell}.

I like these underbraces:


\frac{D}{Dt}\,\delta S_i
\;=\;
\underbrace{\varepsilon_{i j k}\,\delta x_\ell^{(1)}\,\frac{\partial u_j}{\partial x_\ell}\,\delta x_k^{(2)}}
_{T_{1}}
\;+\;
\underbrace{\varepsilon_{i j k}\,\delta x_j^{(1)}\,\delta x_\ell^{(2)}\,\frac{\partial u_k}{\partial x_\ell}}
_{T_{2}}.

References:

This is a link to the subtitle heading at the top of the page

A link to the homepage.

This is a text with a footnote1.

This is a text with a footnote2.


Here are some images, (top left) original, (top right) white subtracted and replaced with alpha, (bottom left) same but brightened, (bottom right) ai background removal tool (loses shadow)

  1. And here is the definition. ↩︎

  2. And here is the definition.

    With a quote!

    and some math

    x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} ↩︎