In [1]:
%pylab nbagg
import ppmpy.ppm as ppm
import ppmpy.rprofile as rprofile
import os
In [2]:
data_dir = '/data/ppm_rpod2/RProfiles/'
!ls /data/ppm_rpod2/RProfiles/
In [3]:
project = 'AGBTP_M2.0Z1.e-5'
!ls /data/ppm_rpod2/RProfiles/AGBTP_M2.0Z1.e-5/
In [4]:
data_path = os.path.join(data_dir,project,'F4')
print(data_path)
rp_set = rprofile.rprofile_set(data_path)
rp = rp_set.get_dump(100)
rp.get('radtop')
Out[4]:
In [5]:
rp.get('radbase')
Out[5]:
In [6]:
ppm.plot_boundary_evolution(data_path, 27., 31., 700,sparse=20)
In [7]:
r_lim = (27, 30.5)
ut_lim = (1e-3, 19.)
dutdr_lim = (-0.099, 0.02)
dump = 560
hist_dmin = dump - 5
hist_dmax = dump + 5
ppm.upper_bound_ut(data_path,dump, hist_dmin, hist_dmax,r1 = r_lim[0],r2 = 31, derivative = False,
ylims = [1e-3,19.])
In [8]:
ppm.upper_bound_ut(data_path,dump, hist_dmin, hist_dmax,r1 = r_lim[0],r2 = 31, derivative = True,
ylims = (-0.099, 0.02))
In [9]:
ppm.plot_boundary_evolution(data_path,None,None,r_int=True,r_ref=13.,gamma = 5./3.,insert = True,
lims = [0., 2e3,27.6, 28.4],sparse=20)
In [ ]: