tminor changes - granular-basin - tectonic deformation experiments with Granular.jl
(HTM) git clone git://src.adamsgaard.dk/granular-basin
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit c487b81e938f3d9dd3cefc0b79d28274c860b174
(DIR) parent d42404e97dc00893186174cbc88eeb09e40513b0
(HTM) Author: esbenpalmstrom <esbenpalmstroem@gmail.com>
Date: Thu, 25 Nov 2021 14:18:01 +0100
minor changes
Diffstat:
M deform_basin.jl | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
---
(DIR) diff --git a/deform_basin.jl b/deform_basin.jl
t@@ -7,7 +7,7 @@ t_start = Dates.now()
# User defined settings
-id = "simulation500" # folder name of simulation
+id = "simulation1000" # folder name of simulation
hw_ratio = 0.2 # height/width ratio of indenter
grain_radius = 0.05 # grain radius of grains in indenter
t@@ -72,14 +72,16 @@ Granular.resetTime!(sim)
cd("$id")
sim.id = "deformed"
+sim.walls = Granular.WallLinear[] # remove existing walls
-# Add side walls
-if deformation_Type == true
- #wall facing east
- Granular.addWallLinearFrictionless!(sim,[1.,0.],e_pos)
+#find the edge grains of the carpet
-end
+
+#add walls
+#facing east
+Granular.addWallLinearFrictionless(sim, [-1.,0.]
+ )
while sim.time < sim.time_total
for grain in sim.grains
t@@ -89,6 +91,7 @@ while sim.time < sim.time_total
end
end
Granular.run!(sim,single_step = true)
+
end
# Granular.resetTime!(sim)