Skip to content

Commit 4decfb4

Browse files
Update README.md
1 parent 9c9863d commit 4decfb4

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,20 @@
1-
A directory containing a sample setrun.py file to implement the specification of a spatially varying initial yield stress using absolute values (between tauy_i and tauy_r)
1+
A directory containing a sample setrun.py file to implement the specification of a spatially varying initial yield stress using absolute values (between tauy_i and tauy_r)
2+
3+
Please look at the file **setrun.py** in this directory.
4+
It is *almost* identical to the **setrun.py** in the folder above but there are two crucial differences.
5+
6+
Firstly, we need to set the following lines near the top:
7+
```
8+
i_use_var_tau_y = 1 # Initial yield strength file with absolute tau values.
9+
fname_tau_y = 'absolute_tau_init.tt3' # File for the variable yield stress
10+
```
11+
12+
(this is lines 28 and 29 in the **setrun.py** file in this folder).
13+
14+
but then, you also need to add the following two lines further down:
15+
```
16+
probdata.add_param('i_use_var_tau_y',i_use_var_tau_y ,'Use variablt tau_y (0,1,2)?')
17+
probdata.add_param('fname_tau_y' , fname_tau_y ,'File name for variable tau_y')
18+
```
19+
20+
(this is lines 88 and 89 in the **setrun.py** file in this folder).

0 commit comments

Comments
 (0)