Improvement to the initial velocity profile.

This commit is contained in:
Miikka Vaisala
2019-09-03 12:33:44 +08:00
parent b3ed0937fe
commit 6560ab04bf
2 changed files with 15 additions and 33 deletions

View File

@@ -24,8 +24,7 @@
"metadata": {},
"outputs": [],
"source": [
"meshdir = \"/scratch/data/tchsu/sink7/\"\n",
"#meshdir = \"/scratch/data/mvaisala/normaltest/\""
"meshdir = \"/home/mvaisala/astaroth/build/\""
]
},
{
@@ -35,7 +34,7 @@
"outputs": [],
"source": [
"#imesh = 30000\n",
"imesh = 15000\n",
"imesh = 0\n",
"mesh = ad.read.Mesh(imesh, fdir=meshdir)"
]
},
@@ -74,9 +73,10 @@
"vis.slices.plot_3(mesh, mesh.uu[0], title = r'$u_x$')\n",
"vis.slices.plot_3(mesh, mesh.uu[1], title = r'$u_y$')\n",
"vis.slices.plot_3(mesh, mesh.uu[2], title = r'$u_z$')\n",
"vis.slices.plot_3(mesh, mesh.lnrho, title = r'$\\ln_\\rho$', colrange=[0,0.1])\n",
"vis.slices.plot_3(mesh, mesh.lnrho, title = r'$\\ln_\\rho$')#, colrange=[0,0.1])\n",
"vis.slices.plot_3(mesh, np.exp(mesh.lnrho), title = r'$\\rho$')\n",
"vis.slices.plot_3(mesh, np.exp(mesh.lnrho), title = r'$N_\\mathrm{col}$', slicetype = 'sum', colrange=[130,139])\n",
"vis.slices.plot_3(mesh, np.exp(mesh.lnrho), title = r'$N_\\mathrm{col}$', slicetype = 'sum')#, colrange=[130,139])\n",
"vis.slices.plot_3(mesh, uu_tot, title = r'$\\Sigma \\|u\\|$', slicetype = 'sum')#, colrange=[130,139])\n",
"#vis.slices.plot_3(mesh, mesh.ss, title = r'$s$')\n",
"vis.slices.plot_3(mesh, mesh.accretion, title = r'$Accretion buffer$')\n"
]