예제 #1
0
from sim_machine import *
import os
import stat
import time
import numpy as np
import commands
import socket
import datetime

nan = float('nan')
lem = 3.40000e41

sscfg = SimSetConfig()
sscfg.name = "i2"
sscfg.T = 3.50e11
sscfg.desnop = 200000
sscfg.bodtol = 0.1

#sscfg.auxfiles = "./aux/ANEOS.QUARTZ ./aux/aneos_tables.hdf5"
#sscfg.srcdir   = "./repos/sphlatch/apps/simple_sph"
sscfg.srcdir   = srcdir


sscfg.maketarg = "simple_sph_GCSHUmD_"
sscfg.binary   = "simple_sph_GCSHUmD_"
sscfg.attr     = [ ("umin", 1.e9), ("rhominclump", 0.7000), ("diskrmax",1.5e9), ("courant",0.2) ]

sscfg.nocpus  = 6
sscfg.runargs = "dump 8"

simadm = SimAdmin(sscfg)
예제 #2
0
import os
import stat
import numpy as np
import commands
import time

nan = float('nan')
lem = 3.40000e41

sscfg = SimSetConfig()
sscfg.name = "m1H"
#sscfg.attr     = [ ("umin", 1.e9), ("rhominclump", 2.0000), ("diskrmax",5.e10) ]
sscfg.attr     = [ ("umin", 1.e9), ("rhominclump", 2.0000), ("diskrmax",1.5e10), ("rmaxunbound", 1.0e10), ("rmaxbound", 1.5e10) ]
sscfg.nocpus  = 12
sscfg.runargs = "dump 32"
sscfg.desnop  = 1000000
sscfg.bodtol  = 0.22
simadm = SimAdmin(sscfg)

sims = simadm._sims

eVinK = 11604.505

cfg_orb_XY_m.imgdir = sscfg.dir + "/viz_orb_XY_m"
#cfg_orb_XY_m.ax        = [-3.2e10, 1.6e10, -1.8e10, 0.9e10]
cfg_orb_XY_m.ax        = [-1.2e10, 0.4e10, -0.6e10, 0.3e10]

cfg_ecc_m.imgdir = sscfg.dir + "/viz_ecc____m"
cfg_eng_m.imgdir = sscfg.dir + "/viz_eng____m"
cfg_T___XY_n.imgdir = sscfg.dir + "/viz_T___XY_n"
cfg_mat_XY_n.imgdir = sscfg.dir + "/viz_mat_XY_n"
예제 #3
0
from clumps import ClumpsPlotConfig
import os
import stat
import time
import numpy as np
import commands
import socket
import datetime

nan = float('nan')
lem = 3.40000e41

sscfg = SimSetConfig()
sscfg.name = "i1"
sscfg.T = 3.50e11
sscfg.desnop = 100000

sscfg.auxfiles = "./aux/ANEOS.QUARTZ ./aux/aneos_tables.hdf5"
sscfg.srcdir   = "./repos/sphlatch/apps/simple_sph"

sscfg.maketarg = "simple_sph_GCSHUmD_"
sscfg.binary   = "simple_sph_GCSHUmD_"
sscfg.attr     = [ ("umin", 1.e9), ("rhominclump", 1.5000), ("diskrmax",1.5e10), ("courant",0.2) ]

sscfg.nocpus  = 4
sscfg.runargs = "dump 6"

simadm = SimAdmin(sscfg)
sims = simadm._sims

eVinK = 11604.505