Skip to content

Commit 1008e6d

Browse files
Update README.md
1 parent 4decfb4 commit 1008e6d

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

relative_initial_tauy_example/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,22 @@ This is to say that at the start of the simulation, the value tauy is given by
33
```
44
tauy = tauy_r + val*(tauy_i - tauy_r)
55
```
6+
7+
Please look at the file **setrun.py** in this directory.
8+
It is *almost* identical to the **setrun.py** in the folder above but there are two crucial differences.
9+
10+
Firstly, we need to set the following lines near the top:
11+
```
12+
i_use_var_tau_y = 2 # Initial yield strength file with absolute tau values.
13+
fname_tau_y = 'relative_tau_init.tt3' # File for the variable yield stress
14+
```
15+
16+
(this is lines 28 and 29 in the **setrun.py** file in this folder).
17+
18+
but then, you also need to add the following two lines further down:
19+
```
20+
probdata.add_param('i_use_var_tau_y',i_use_var_tau_y ,'Use variablt tau_y (0,1,2)?')
21+
probdata.add_param('fname_tau_y' , fname_tau_y ,'File name for variable tau_y')
22+
```
23+
24+
(this is lines 90 and 91 in the **setrun.py** file in this folder).

0 commit comments

Comments
 (0)