外观
Lesson 5 Diffusion
约 1192 字大约 4 分钟
2026-03-27
Thomson 散射截面 σe=σT,平均自由程 lmfp=(neσT)−1. 定义透明度
opacity,κ:=masstotal σ=ρVneV⋅σT=ρneσT=μemμσT
我们观测宇宙时,很多恒星会被其他的恒星遮住,我们并不能看到所有的星体. 这引入了一个 optical depth 的概念,
τ=L/lmfp=ρκL
这个值越大,就越透明,我们能够看到的东西越多.
如果认为辐射压强抵消重力,那么我们可以计算出 Eddington Luminosity
LEddington=2e43GMμemume2c5≈3.3×104L⊙(M⊙M)
虽然我们知道太阳质量的星体并不存在用辐射压强抵消重力的机制,但是这对应 HR 图上一条直线,那么一定有那么一种恒星,其辐射压强足以撕碎整个星体.
Diffusion:仍然是随机行走,但是现在整个区域的密度有一个梯度场,因此并不能简单地说平均值是零. 对于 z0 上下各 lz/2 的区域,穿过 z=z0 平面的流为
Flux∓=n(z0±2lz)vz=[n(z0)±2lz(∂z∂n)0]vz
净流为
net flux=n(z0−2lz)vz−n(z0+2lz)vz=−lzvz(∂z∂n)0
如果认为三个方向 x,y,z 均分,且把 lz 取作 lmfp,那么
F=−31lmfpvth(∂z∂n)0
这里的 vth 是 thermal velocity. 定义 D=31lmfpvth,那么就得到 Fick 扩散定律,
Fdiff=−D∇n
对于太阳中的光子,
4πr2L=−Dphdrdu=−31ρκRcdrdTdTdu
对于每一个频率,
4πr2Lν=−31ρκνcdrdTdTduν
总的 κR 和 κν 存在关系:
κR1=(dTdu)∫κν1dTduνdν
利用上面的式子,以及 u=4σT4/c,我们可以算出 T 和 r 的关系
drdT=−64πσT3r23ρκRL
做恒星演化的天文学家比较喜欢下面这个量:
∇rad≡dlogPdlogT=TPdPdrdrdT=64πσT4GmR3κRLP
同样,引入
∂logP∂logρ>γ1⟹stability
这里的 γ 是 P=Kργ 中的参数. 上面的量表征了恒星力学状态的稳定性,还可以继续引入 ∇μ=∂logP∂logμ 等等,利用物态方程得到它们和 ∇rad 的关系,并获得一些稳定条件. 如果超过这些条件 (∇rad 太大),星体就会发生 convection (对流),而不在稳定状态. 当然对流的具体情况是什么样,并不在我们课程的讨论范围之内,但是我们需要知道在变化发生之后对流带走了更多的能量,而不是通过辐射.
MESA tutorial
全称 Modules for Experiments in Stellar Astrophysics.
Download
Get the prerequisites.
Install MESA SDK.
Install MESA.
Firstly, Download a zip file of the latest MESA release from its website.
Set the environment variables. If you use Linux (or WSL) system, you may just copy the example on the right.
Compile the code by running the following command:
source ~/.bashrc cd $MESA_DIR ./install
A message
MESA installation was successfulis expected once it is done.export MESA_DIR=/Users/my_username/Software/mesa-r24.08.1 export OMP_NUM_THREADS=2 export MESASDK_ROOT=/Applications/mesasdk source $MESASDK_ROOT/bin/mesasdk_init.sh export PATH=$PATH:$MESA_DIR/scripts/shmesaPlease set
MESA_DIRto be the directory to which you downloaded MESA, and setOMP_NUM_THREADSto be the number of cores on your machine. The third and fourth command should be already added when you set up the MESA SDK.
We are now going to simulate the evolution of a 15 mass star from a pre-main sequence model until the zero-age main sequence (ZAMS) is reached. The code has already been written in the directory $MESA_DIR/star/work. However, instead of running the code in that directory, it's highly recommended to store and perform the work somewhere else. Let's run the following command:
cp -r $MESA_DIR/star/work ~/work_dir/mesa_tutorialPlease, modified the second directory according to your machine.
Next, compile and run the code by typing:
cd ~/work_dir/mesa_tutorial ./mk ./rnA new directory star is expected after the second command.
Once MESA is running, it will keep your updated through terminal output. As we promised before, MESA can automatically convert data into real-time HR diagram and internal temperature-density profile shown on the right.
The simulation should terminate after 207 steps with the following message:
stop because Lnuc_div_L>=Lnuc_div_L_zams_limitNew directory LOGS and photos are expected after the code finishes.
The photos files are machine readable binaries, where the models from MESA are saved. The LOGS include all you need for data analysis. They are text-based and can be fed into your favourite plotting program.
更新日志
2026/3/27 15:15
查看所有更新日志
fbc5d-feat(note): update note于
