Skip to content

Commit 10febf1

Browse files
modified source/solifluction.py. This is the first script that test the run for real solifluction
examples added: This is first simple example for real solifluction
1 parent 2630d50 commit 10febf1

File tree

5 files changed

+449
-0
lines changed

5 files changed

+449
-0
lines changed

examples/h_uniform_initial.tif

39.6 KB
Binary file not shown.

examples/param.txt

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[simulation]
2+
# 1 day in seconds — OK if you assume constant velocity
3+
dt_momentum = 86400
4+
5+
# Can be large if temperature changes slowly
6+
dt_heat_transfer = 86400
7+
8+
# Same as above
9+
dt_mass_conservation = 86400
10+
11+
# ~10 days — OK
12+
time_end_simulation = 864000
13+
14+
# Correct boolean syntax
15+
heat_transfer_warmup = False
16+
17+
# Optional warmup iterations
18+
# heat_transfer_warmup_iteration = 300
19+
20+
# Relative path — make sure folder exists
21+
results_path = ./results
22+
23+
# Radians — small slope, realistic for solifluction
24+
alfa_slope = 0.1
25+
26+
27+
[grid]
28+
# number of cells per partition — OK
29+
partition_shape_size = 100
30+
31+
# Mesh layer thickness in meters — reasonable
32+
initial_layer_size = 5
33+
34+
35+
[material]
36+
# Realistic for wet soil
37+
uniform_mu = 0.3
38+
39+
# Wet soil (lower than rock)
40+
uniform_density = 1800
41+
42+
# W/m·K — plausible
43+
uniform_k_conductivity = 0.25
44+
45+
# J/m³·K — reasonable
46+
uniform_rho_c_heat = 900000
47+
48+
# Make sure this file exists
49+
temperature_file = temperature_file.csv
50+
51+
52+
[initial_condition]
53+
# Initial height map — make sure path is correct
54+
h_total_initial_file = h_uniform_initial.tif

examples/run_bash.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
export PYTHONPATH="../source:..:$PYTHONPATH"
3+
4+
python ../run_simulation.py param.txt

0 commit comments

Comments
 (0)