PLUTO
Sph_disk.py File Reference

Go to the source code of this file.

Namespaces

 Sph_disk
 

Variables

list Sph_disk.plutodir = os.environ['PLUTO_DIR']
 
string Sph_disk.wdir = plutodir+'/Test_Problems/MHD/FARGO/Spherical_Disk/'
 
tuple Sph_disk.nlinf = pp.nlast_info(w_dir=wdir,datatype='vtk')
 
tuple Sph_disk.D = pp.pload(nlinf['nlast'],w_dir=wdir,datatype='vtk')
 
tuple Sph_disk.I = pp.Image()
 
tuple Sph_disk.f1 = figure(figsize=[15,6],num=1)
 
tuple Sph_disk.ax1 = f1.add_subplot(122)
 
tuple Sph_disk.ax2 = f1.add_subplot(121)
 
tuple Sph_disk.T = pp.Tools()
 
int Sph_disk.newdims = 2
 
tuple Sph_disk.xcong = T.congrid(R,newdims,method='linear')
 
tuple Sph_disk.ycong = T.congrid(Z,newdims,method='linear')
 
list Sph_disk.vel1 = SphData['v1c']
 
list Sph_disk.vel2 = SphData['v3c']
 
tuple Sph_disk.xveccong = T.congrid(vel1,newdims,method='linear')
 
tuple Sph_disk.yveccong = T.congrid(vel2,newdims,method='linear')
 
tuple Sph_disk.normVp = sqrt(xveccong**2 + yveccong**2)