Processing math: 100%

Labels

Monday, January 27, 2020

The stress tensor



For each surface on a unit cube, the stress on that surface can point in each of the three directions.

Fx=iσi1/x

The second moment of the particle distribution function, describing the flow of momentum in
the laboratory frame, is called the stress tensor,
P=mvvf(r,v,t)d3v.
The third order moment of the particle distribution function measuring the energy flux density is denoted by 
Q(r,t)=12mv2vf(r,v,t)d3v.

The stress tensor measured in the rest-frame is called the pressure tensor, P, whereas the energy flux density becomes the heat flux density, q. We introduce the relative velocity,
\[ \vec{w} = \vec{v} - \vec{V} .
Then, we get
p(r,t)=mwwf(r,v,t)d3v.
q(r,t)=12mw2wf(r,v,t)d3v.
The trace of the pressure tensor measures the ordinary (scalar) pressure,
p=13Tr(p)=13(pxx+pyy+pzz).
Note that the kinetic energy density is 3/2p,
32p=12mw2f(r,v,t)d3v.

The moments measures in the two different frames are related.
P=p+mnVV
Q=q+pV+32pV+12mnV2V.

Sunday, January 26, 2020

Tuesday, January 7, 2020

Byobu

Byobu is a GPLv3 open source text-based window manager and terminal multiplexer. It allows for the execution of multiple shells in one terminal.



to load bash_profile
in /usr/local/bin/byobu-shell  or /usr/bin/byobu-shell
there is one lile
[ -n "SHELL"ax"SHELL" ] && exec "$SHELL" || exec /bin/bash

changed it to
[ -n "SHELL"ax"SHELL" ] && exec "$SHELL" --login || exec /bin/bash --login

Reference:
https://byobu.org/index.html
https://help.ubuntu.com/lts/serverguide/byobu.html
http://manpages.ubuntu.com/manpages/eoan/en/man1/byobu.1.html