Skip to content

Commit 4ecabf6

Browse files
author
Jon Drobny
committed
Merge branch 'main' into dev
2 parents 0dcd97a + 7f5b65b commit 4ecabf6

File tree

2 files changed

+52
-20
lines changed

2 files changed

+52
-20
lines changed

Diff for: README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Selected citations of RustBCA as of 5/24/23:
3030
* [Global sensitivity analysis of a coupled multiphysics model to predict surface evolution in fusion plasma–surface interactions](https://doi.org/10.1016/j.commatsci.2023.112229), P. Robbe et al. (2023)
3131
* [Modeling the effect of nitrogen recycling on the erosion and leakage of tungsten impurities from the SAS-VW divertor in DIII-D during nitrogen gas injection](https://doi.org/10.1016/j.nme.2022.101254), MS Parsons et al. (2023)
3232
* [Enabling attractive-repulsive potentials in binary-collision-approximation monte-carlo codes for ion-surface interactions](https://doi.org/10.1088/2053-1591/ad1262), J Drobny and D Curreli (2023)
33+
* [Multi-physics modeling of tungsten collector probe samples during the WEST C4 He campaign](https://doi.org.10.1088/1741-4326/ad6c5b), A. Lasa et al. (2024)
3334

3435
## Getting started
3536

@@ -278,11 +279,8 @@ Additionally, `RustBCA` accepts an input file type (one of: `0D`, `1D`, `2D`, `T
278279
```bash
279280
./RustBCA 0D /path/to/input.toml
280281
```
281-
282-
For further details, have a look at
283-
[Usage](https://github.com/lcpp-org/RustBCA/wiki/Usage,-Input-File,-and-Output-Files)
284-
on the `RustBCA` [Wiki] for usage instructions.
285-
Also have a look at the examples on the [Wiki] for writing `.toml` input files.
282+
**Warning: RustBCA defaults to the 2D triangular mesh input mode.** For more details, see [Input Files](https://github.com/lcpp-org/RustBCA/wiki/Standalone-Code:-Input-File).
283+
Also have a look at the examples on the [Wiki] to see some examples of RustBCA input files.
286284

287285
[BCA]: https://en.wikipedia.org/wiki/Binary_collision_approximation
288286
[HDF5]: https://en.wikipedia.org/wiki/Hierarchical_Data_Format

Diff for: scripts/materials.py

+49-15
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
'm': 47.867,
66
'Es': 4.84,
77
'Ec': 3.5,
8-
'Eb': 3.,
9-
'Q': 0.58,
8+
'Eb': 0.,
9+
'Q': 0.54,
1010
'n': 5.67e28,
1111
'W': 2.57,
1212
's': 2.5
@@ -15,23 +15,26 @@
1515
carbon = {
1616
'symbol': 'C',
1717
'name': 'carbon',
18-
'Z': 6,
18+
'Z': 6.0,
1919
'm': 12.011,
2020
'n': 1.1331E29,
2121
'Es': 7.37,
2222
'Ec': 1.0,
23-
'Eb': 3.0,
23+
'Eb': 0.0,
24+
'Q': 1.70,
25+
'W': 1.84,
26+
's': 2.5
2427
}
2528

2629
chromium = {
2730
'symbol': 'Cr',
2831
'name': 'chromium',
29-
'Z': 24,
32+
'Z': 24.0,
3033
'm': 51.9961,
3134
'Es': 4.10,
3235
'Ed': 28.0,
3336
'Ec': 3.0,
34-
'Eb': 3.0,
37+
'Eb': 0.0,
3538
'n': 8.327E28
3639
}
3740

@@ -129,10 +132,10 @@
129132
'Z': 5.0,
130133
'm': 10.811,
131134
'n': 1.309E29,
132-
'Es': 5.76,
135+
'Es': 5.77,
133136
'Eb': 0.,
134137
'Ec': 5.,
135-
'Q': 4.6,
138+
'Q': 2.62,
136139
'W': 4.39,
137140
's': 2.5
138141
}
@@ -197,9 +200,9 @@
197200
'name': 'oxygen',
198201
'Z': 8.0,
199202
'm': 15.9994,
200-
'Eb': 2.58,
203+
'Eb': 2.58, # Old SDTrimSP value
201204
'Ec': 2.0,
202-
'Es': 2.58,
205+
'Es': 2.58,
203206
'n': 4.291E28
204207
}
205208

@@ -221,7 +224,7 @@
221224
'Z': 70.0,
222225
'm': 173.04,
223226
'n': 2.424E28,
224-
'Eb': 1.58,
227+
'Eb': 1.58, # Old SDTrimSP value
225228
'Es': 1.58,
226229
'Ec': 1.0,
227230
'Q': 1.0
@@ -233,7 +236,7 @@
233236
'Z': 29.0,
234237
'm': 63.546,
235238
'n': 8.491E28,
236-
'Es': (4.65 + 4.26 + 4.62)/3., #Eckstein (1991) p. 80
239+
'Es': (4.65 + 4.26 + 4.62)/3., # Average of Eckstein (1991) p. 80
237240
'Eb': 0.0,
238241
'Ec': 3.0,
239242
'Q': 1.30,
@@ -247,10 +250,10 @@
247250
'Z': 74.0,
248251
'm': 183.84,
249252
'n': 6.306E28,
250-
'Es': 8.79,
253+
'Es': 8.9,
251254
'Eb': 0.,
252255
'Ec': 3.0,
253-
'Q': 1.10,
256+
'Q': 0.72,
254257
'W': 2.14,
255258
's': 2.8
256259
}
@@ -262,7 +265,7 @@
262265
'm': 196.97,
263266
'n': 5.901E28,
264267
'Es': 3.79,
265-
'Eb': 3.,
268+
'Eb': 0.,
266269
'Ec': 3.79,
267270
'Q': 1.04,
268271
}
@@ -296,3 +299,34 @@
296299
'Ec': 1.0,
297300
'Es': 0.
298301
}
302+
303+
tritium = {
304+
'symbol': 'T',
305+
'name': 'tritium',
306+
'Z': 1.0,
307+
'm': 3.0,
308+
'Ec': 0.1,
309+
'Es': 1.5,
310+
}
311+
312+
iron = {
313+
'symbol': 'Fe',
314+
'name': 'iron',
315+
'Z': 26.0,
316+
'm': 55.845,
317+
'Q': 0.75,
318+
'W': 1.20,
319+
's': 2.5,
320+
'Es': 4.28,
321+
}
322+
323+
molybdenum = {
324+
'symbol': 'Mo',
325+
'name': 'molybdenum',
326+
'Z': 42.0,
327+
'm': 95.95,
328+
'Q': 0.85,
329+
'W': 2.39,
330+
's': 2.8,
331+
'Es': 6.82,
332+
}

0 commit comments

Comments
 (0)