Mixed Topics with the Pencil Code
MRI in 1-D
→ Working material: MagnetoRotational_1D/,
MagnetoRotational_1D.tar.gz
[untar this file by typing tar zxf MagnetoRotational_1D.tar.gz]
Determine the growth rate for various values of the B field.
Study the effects of viscosity and resistivity.
MRI in 2-D
→ Working material: MagnetoRotational/,
MagnetoRotational.tar.gz
[untar this file by typing tar zxf MagnetoRotational.tar.gz]
Watch the streaming instability.
How large does the velocity get?
Magneto-buoyancy in an isothermal layer
→ Working material: MagnetoBuoyancy/,
MagnetoBuoyancy.tar.gz
[untar this file by typing tar zxf MagnetoBuoyancy.tar.gz]
Watch the rise of the tube with ".r pvid.pro"
Try different initial amplitudes
Try different initial positions
What do you get in 3-D?
AlfvenWave_SIunits
→ Description: AlfvenWave_SIunits.html.
→ Working material: AlfvenWave_SIunits/,
AlfvenWave_SIunits.tar.gz
[untar this file by typing tar zxf AlfvenWave_SIunits.tar.gz]
Mean-Field Dynamos
→ Description: MeanFieldCartesian_1D.html.
→ Working material: MeanFieldCartesian_1D/,
Mean-Field Spherical and Lambda Effect
→ Description: MeanFieldSpherical.html.
→ Working material: MeanFieldSpherical_1D/,
MeanFieldSpherical_1D.tar.gz
[untar this file by typing tar zxf MeanFieldSpherical.tar.gz]
→ Description: ForceFree.html.
→ Working material: ForceFree/,
ForceFree.tar.gz
[untar this file by typing tar zxf MeanFieldSpherical.tar.gz]
→ Description: LambdaEffect.html.
→ Working material: LambdaEffect/,
LambdaEffect.tar.gz
[untar this file by typing tar zxf LambdaEffect.tar.gz]
Kelvin-Helmholtz Instability
→ Working material: KelvinHelmholtz/,
KelvinHelmholtz.tar.gz
[untar this file by typing tar zxf KelvinHelmholtz.tar.gz]
Here we use as initial condition a ux=tanh(y) profile.
&hydro_init_pars
inituu='tanhy', 'gaussian-noise'
ampluu=.15, .05
widthuu=.05
/
→ Working material: ParkerWind/,
ParkerWind.tar.gz
[untar this file by typing tar zxf ParkerWind.tar.gz]
The isothermal Parker wind is a solution of the equations
u du/dr = -cs^2 dlnrho/dr - GM/r^2 and
d(r^2 rho ur)/dr = 0
There is a critical point at r=GM/2cs^2.
The numerical solution approaches the wind after some equilibration
process.
The inital condition was just ur=1.
Bondi Accretion
→ Working material: BondiAccretion/,
BondiAccretion.tar.gz
[untar this file by typing tar zxf BondiAccretion.tar.gz]
This picture on the right shows the evolution of the radial velocity
at different times.
The initial condition was ur=-1.
As time goes on, the code approaches an equilibrium solution
that corresponds to the solution of Bondi describing radial accretion.
Convection with radiation & ionization
→ Working material: KramersConv_Ionization/,
Those with cvs repository access can just say
cvs co KramersConv_Ionization
Tayler Instability
→ Working material: TaylerInstability/,
Those with cvs repository access can just say
cvs co public_html/teach/PencilCode/material/TaylerInstability
Reference:
Bonanno, A., Brandenburg, A., Del Sordo, F., & Mitra, D.: 2012, ``Breakdown of chiral symmetry during saturation of the Tayler instability,'' Phys. Rev. E 86, 016313
(arXiv:1204.0081, ADS, DOI, PDF)
Numerical Experiments homepage
$Date: 2016/11/14 14:30:42 $, $Author: brandenb $, $Revision: 1.18 $