Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cp example #104

Merged
merged 3 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/_static/example12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions docs/source/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ The gallery of examples below cover different ways in which calphy can be used t
:link-type: doc
```

```{grid-item-card} Calculation of specific heat of Cu
:img-top: example12.png
:link: examples/example_12/analysis
:link-type: doc
```

```{grid-item-card} Running calphy from jupyter notebooks
:img-top: example06.jpg
:link: examples/example_06/analysis
Expand Down
275 changes: 275 additions & 0 deletions examples/example_12/analysis.ipynb

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions examples/example_12/input.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
calculations:
- element: Cu
lattice: fcc
mass: 63.546
equilibration_control: berendsen
md:
timestep: 0.001
mode: ts
n_equilibration_steps: 10000
n_iterations: 1
n_switching_steps: 50000
pair_coeff: '* * ../potentials/Cu01.eam.alloy Cu'
pair_style: eam/alloy
pressure: 0.0
queue:
commands:
- conda activate calphy-dev
cores: 4
scheduler: local
reference_phase: solid
repeat:
- 10
- 10
- 10
temperature:
- 400.0
- 1200.0
Loading