Loading 7_composite_system/precracked_hierarchical.py +8 −8 Original line number Diff line number Diff line Loading @@ -59,10 +59,10 @@ def get_parametercollection(seed): par.set_Lx(Lx) par.set_Ly(Ly) par.set_Lz(Lz) par.set_minDy(0.05) par.set_minydirichlet({'displacement' : 0.0}) par.set_maxDy(Ly - 0.05) par.set_maxydirichlet({'displacement' : 1.0}) par.set_minDz(0.05) par.set_minzdirichlet({'displacement' : 0.0}) par.set_maxDz(Lz - 0.05) par.set_maxzdirichlet({'displacement' : 1.0}) par.set_thresholdrng(seed) par.set_structurerng(seed + 1_000_000) par.set_weibullparameter(4) Loading @@ -88,8 +88,8 @@ def run_a_simulation_fuse(seed, targetdirectory): #or bottom, so we need definitions of boundary conditions #based on their assigned positions boundaries = mn.general.EmptyBoundariesConstructor() boundaries = mn.arbgeo.MinYBoundaryDecorator(boundaries) boundaries = mn.arbgeo.MaxYBoundaryDecorator(boundaries) boundaries = mn.arbgeo.MinZBoundaryDecorator(boundaries) boundaries = mn.arbgeo.MaxZBoundaryDecorator(boundaries) #construct network by calling the start_construction() method of the #network and passing the fitting parametercollection Loading Loading
7_composite_system/precracked_hierarchical.py +8 −8 Original line number Diff line number Diff line Loading @@ -59,10 +59,10 @@ def get_parametercollection(seed): par.set_Lx(Lx) par.set_Ly(Ly) par.set_Lz(Lz) par.set_minDy(0.05) par.set_minydirichlet({'displacement' : 0.0}) par.set_maxDy(Ly - 0.05) par.set_maxydirichlet({'displacement' : 1.0}) par.set_minDz(0.05) par.set_minzdirichlet({'displacement' : 0.0}) par.set_maxDz(Lz - 0.05) par.set_maxzdirichlet({'displacement' : 1.0}) par.set_thresholdrng(seed) par.set_structurerng(seed + 1_000_000) par.set_weibullparameter(4) Loading @@ -88,8 +88,8 @@ def run_a_simulation_fuse(seed, targetdirectory): #or bottom, so we need definitions of boundary conditions #based on their assigned positions boundaries = mn.general.EmptyBoundariesConstructor() boundaries = mn.arbgeo.MinYBoundaryDecorator(boundaries) boundaries = mn.arbgeo.MaxYBoundaryDecorator(boundaries) boundaries = mn.arbgeo.MinZBoundaryDecorator(boundaries) boundaries = mn.arbgeo.MaxZBoundaryDecorator(boundaries) #construct network by calling the start_construction() method of the #network and passing the fitting parametercollection Loading