from clumps import ClumpsPlotConfig import os import stat import numpy as np import commands nan = float('nan') lem = 3.40000e41 sscfg = SimSetConfig() sscfg.name = "f1" sscfg.dir = "./" + sscfg.name sscfg.bodiesdb = "fluffy_colls/bodies" sscfg.resultsdb = sscfg.dir + "/results" sscfg.bodtol = 0.2 sscfg.T = 3.50e11 sscfg.tcolanim = 0.1 sscfg.relsep = 10. sscfg.auxfiles = "./aux/aneos.input ./aux/aneos_tables.hdf5" sscfg.srcdir = "/home0/areufer/repos/sphlatch/apps/simple_sph" sscfg.maketarg = "simple_sph_GHUaE_" sscfg.binary = "simple_sph_GHUaE_" sscfg.attr = [("rmaxunbound", 5.e10), ("rmaxbound", 5.e10), ("umin", 1.e9), ("rhominclump", 1.9875), ("diskrmax", 5.e10)] #sscfg.subcmd = "qsub -M [email protected] -b y -cwd -l h_cpu=240:00:00 -l h_vmem=512M -pe smp $NOCPUS -R y -N $SIMNAME ./$BINARY initial.h5part $SAVETIME $STOPTIME $RUNARGS" sscfg.subcmd = "qsubPSMP $NOCPUS $SIMNAME ./$BINARY initial.h5part $SAVETIME $STOPTIME $RUNARGS" sscfg.delcmd = "qdel $JOBID" sscfg.nocpus = 8
from clumps import ClumpsPlotConfig import os import stat import numpy as np import commands nan = float('nan') lem = 3.40000e41 sscfg = SimSetConfig() sscfg.name = "f1" sscfg.dir = "./" + sscfg.name sscfg.bodiesdb = "fluffy_colls/bodies" sscfg.resultsdb = sscfg.dir + "/results" sscfg.bodtol = 0.2 sscfg.T = 3.50e11 sscfg.tcolanim = 0.1 sscfg.relsep = 10. sscfg.auxfiles = "./aux/aneos.input ./aux/aneos_tables.hdf5" sscfg.srcdir = "/home0/areufer/repos/sphlatch/apps/simple_sph" sscfg.maketarg = "simple_sph_GHUaE_" sscfg.binary = "simple_sph_GHUaE_" sscfg.attr = [ ("rmaxunbound",5.e10), ("rmaxbound",5.e10), ("umin", 1.e9), ("rhominclump", 1.9875), ("diskrmax",5.e10) ] #sscfg.subcmd = "qsub -M [email protected] -b y -cwd -l h_cpu=240:00:00 -l h_vmem=512M -pe smp $NOCPUS -R y -N $SIMNAME ./$BINARY initial.h5part $SAVETIME $STOPTIME $RUNARGS" sscfg.subcmd = "qsubPSMP $NOCPUS $SIMNAME ./$BINARY initial.h5part $SAVETIME $STOPTIME $RUNARGS" sscfg.delcmd = "qdel $JOBID" sscfg.nocpus = 8 sscfg.runargs = "dump 16"
import matplotlib.pyplot as plt from sim_admin import SimAdmin, SimParam, SimSetConfig from gi_plot import GIplot, GIplotConfig, colorScalarLinear, colorScalarLog10, colorClumps, colorBodyAndPhaseANEOS, plotGrid, plotSimParams from gi_viz import GIviz, GIvizConfig from clumps import ClumpsPlotConfig import os import numpy as np nan = float('nan') ssconf = SimSetConfig() ssconf.name = "r0" ssconf.dir = "./" + ssconf.name ssconf.bodiesdb = "./bodies" ssconf.T = 1500. ssconf.mimp = np.array([0.1, 1.0]) ssconf.mtar = np.array([0.1, 1.0]) ssconf.vimp = np.array([1.0, 1.1, 1.15, 1.2, 1.25, 1.3, 1.5]) ssconf.impa = np.array([0, 15, 30, 45, 60, 75, 80, 85]) ssconf.attr.append(("UMIN", 1.e9)) ssconf.auxfiles = "./aux/aneos.input" ssconf.srcdir = "~/repos/sphlatch/apps/simple_sph" ssconf.maketarg = "simple_sph_GHUaC_" ssconf.binary = "simple_sph_GHUaC_" ssconf.subcmd = "qsub -M [email protected] -b y -cwd -l h_cpu=240:00:00 -l h_vmem=512M -pe smp $NOCPUS -R y -N $SIMNAME ./$BINARY initial.h5part $SAVETIME $STOPTIME $RUNARGS" ssconf.delcmd = "qdel $JOBID" ssconf.nocpus = 4