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

Getting started with trixi #1343

Merged
Merged
Show file tree
Hide file tree
Changes from 71 commits
Commits
Show all changes
250 commits
Select commit Hold shift + click to select a range
e658b63
0th tutorial v1
ArseniyKholod Jan 26, 2023
cb61c3a
0th tutorial v2
ArseniyKholod Jan 26, 2023
ded29ff
0th tutorial v3 (topic for developers)
ArseniyKholod Jan 29, 2023
e9e6b81
0th tutorial v4
ArseniyKholod Jan 29, 2023
3103007
0th tutorial v5
ArseniyKholod Feb 7, 2023
4e58472
Merge branch 'main' into Getting_started_with_Trixi
sloede Feb 7, 2023
99e9e70
0th tutorial v6
ArseniyKholod Feb 28, 2023
6c3db43
0th tutorial v6.1
ArseniyKholod Feb 28, 2023
587cfd0
0th tutorial v6.2
ArseniyKholod Feb 28, 2023
6fbf806
0th tutorial v7 (new example)
ArseniyKholod Mar 9, 2023
e5481d2
0th tutorial v8
ArseniyKholod Mar 14, 2023
2fe50f5
0th tutorial v8.1
ArseniyKholod Mar 15, 2023
2a08ee5
0th tutorial v9
ArseniyKholod Mar 18, 2023
a2473ea
0th tutorial v9.1
ArseniyKholod Mar 20, 2023
5e06196
Merge branch 'main' into Getting_started_with_Trixi
ArseniyKholod Mar 24, 2023
e2da5c2
0th tutorial v9.2
ArseniyKholod Mar 24, 2023
2c1189b
Revert "0th tutorial v9.2"
ArseniyKholod Mar 24, 2023
05d3d1c
0th tutorial v9.3 (test)
ArseniyKholod Mar 24, 2023
36fd35b
Revert "0th tutorial v9.3 (test)"
ArseniyKholod Mar 24, 2023
ae7ed4b
0th tutorial v9.3 (test)
ArseniyKholod Mar 28, 2023
2b5e455
0th tutorial v9.3 (test checks without diff. prog.)
ArseniyKholod Mar 28, 2023
413a2e3
0th tutorial v9.3 (test new diff. prog.)
ArseniyKholod Mar 28, 2023
f01e46e
0th tutorial v9.3 (test new diff. prog. v2)
ArseniyKholod Mar 28, 2023
cd786b7
0th tutorial v9.3 (test update of packages)
ArseniyKholod Mar 28, 2023
449b821
0th tutorial v9.3 (test update of packages v2)
ArseniyKholod Mar 28, 2023
624a961
0th tutorial v9.3 (downgrade Measurements.jl)
ArseniyKholod Mar 28, 2023
109147d
0th tutorial v9.4
ArseniyKholod Apr 1, 2023
c720645
Merge branch 'main' into Getting_started_with_Trixi
ArseniyKholod Apr 1, 2023
6c138a9
0th tutorial v9.5
ArseniyKholod Apr 2, 2023
53a0ba6
Merge branch 'Getting_started_with_Trixi' of https://github.com/Arsen…
ArseniyKholod Apr 2, 2023
1861f1d
0th tutorial review
ArseniyKholod Apr 3, 2023
8fa4ae9
0th tutorial review 2
ArseniyKholod Apr 3, 2023
878c952
0th tutorial v9.6
ArseniyKholod Apr 17, 2023
7bded25
delete test files
ArseniyKholod Apr 27, 2023
09e8117
Revert "rename into getting_started.jl"
ArseniyKholod Apr 27, 2023
8bd5e50
Update docs/make.jl
ArseniyKholod Apr 27, 2023
f88178b
Update Project.toml
ArseniyKholod Apr 27, 2023
906eb64
Update Project.toml
ArseniyKholod Apr 27, 2023
5bedcde
Update docs/make.jl
ArseniyKholod Apr 27, 2023
53a5757
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
6605ece
rename into getting_started.jl
ArseniyKholod Apr 27, 2023
1cb1faa
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
59441fb
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
e21dc0c
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
b9e69f5
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
75da706
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
2a5d413
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
db16d27
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
2cd276c
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
550fda8
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
15bcc10
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
a198ae5
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
ad77ae2
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
cb0c631
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
36337ab
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
d768ab1
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
3f6ef84
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
1ce63e0
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
a03f226
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
aab34d5
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
15f9d0b
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
6a0a128
Update docs/literate/src/files/getting_started_with_Trixi.jl
ArseniyKholod Apr 27, 2023
476f069
correction of spelling errors
ArseniyKholod Apr 27, 2023
2853f78
cleaning out directory
ArseniyKholod Apr 27, 2023
6cb0fed
Correction according to the comments above
ArseniyKholod Apr 27, 2023
f72dfc1
Merge branch 'main' into Getting_started_with_Trixi
ArseniyKholod Apr 27, 2023
83e4175
Trixi installation for Linux
ArseniyKholod Apr 27, 2023
b3c4af7
Merge branch 'Getting_started_with_Trixi' of https://github.com/Arsen…
ArseniyKholod Apr 27, 2023
47bc6d8
Update getting_started.jl
ArseniyKholod Apr 27, 2023
a06caea
cross-referencing correction
ArseniyKholod Apr 27, 2023
9c64e69
spelling
ArseniyKholod Apr 27, 2023
9012b77
Update .gitignore
ArseniyKholod Apr 29, 2023
a0b10ad
Update docs/make.jl
ArseniyKholod Apr 29, 2023
1ccac12
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
d36f310
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
b6e1b27
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
49befca
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
b480862
Update .gitignore
ArseniyKholod Apr 29, 2023
d95ac93
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
c6180ab
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
c302f2a
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
5a9c789
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
b133d78
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
15f73fd
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
ed61f73
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
898cce1
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
01c5ab6
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
7484e94
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
c9f0adc
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
5e451ef
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
cc96356
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
50a3d46
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
c1403a7
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
ba559b6
new plot in Modifying an existing setup
ArseniyKholod Apr 29, 2023
40e2748
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
8821a26
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
58188c4
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
d5b8d92
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
4b820a7
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
259259c
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
3197342
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
2e670f1
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
802cd73
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
bbe84b7
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
bcc8681
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
d16fdd5
Merge branch 'main' into Getting_started_with_Trixi
ArseniyKholod Apr 29, 2023
1521487
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Apr 29, 2023
a1c03e2
julia/shell-formatting
ArseniyKholod Apr 29, 2023
6668a6e
Update getting_started.jl
ArseniyKholod Apr 29, 2023
dd6f468
Update getting_started.jl
ArseniyKholod Apr 29, 2023
85254e1
Correction of Modifying part
ArseniyKholod Apr 30, 2023
c7e4920
Usage update
ArseniyKholod May 1, 2023
d09f1a7
Merge branch 'main' into Getting_started_with_Trixi
ArseniyKholod May 12, 2023
75eb721
Update getting_started.jl
ArseniyKholod Aug 15, 2023
1be47fa
Merge branch 'main' into Getting_started_with_Trixi
ArseniyKholod Aug 15, 2023
808cfbb
Merge branch 'main' into Getting_started_with_Trixi
ArseniyKholod Sep 23, 2023
177f9e5
add Visualize the solution
ArseniyKholod Sep 24, 2023
e2bbc62
spell check
ArseniyKholod Sep 24, 2023
5423be3
correction
ArseniyKholod Oct 1, 2023
9531985
correction
ArseniyKholod Oct 4, 2023
4d98e1c
add picture paraview
ArseniyKholod Oct 8, 2023
9e51e7e
Merge branch 'main' into Getting_started_with_Trixi
SimonCan Oct 18, 2023
acfcec2
divide in two parts & correction
ArseniyKholod Oct 20, 2023
fa6c2c6
Merge branch 'main' into Getting_started_with_Trixi
ArseniyKholod Oct 20, 2023
2e7812c
divide in 3 parts
ArseniyKholod Oct 23, 2023
bce20af
Merge branch 'main' into Getting_started_with_Trixi
ArseniyKholod Oct 23, 2023
847c719
Merge branch 'main' into Getting_started_with_Trixi
ArseniyKholod Oct 30, 2023
48b66c9
Merge branch 'main' into Getting_started_with_Trixi
ArseniyKholod Oct 30, 2023
c5cc3d9
Merge branch 'main' into Getting_started_with_Trixi
sloede Nov 9, 2023
b4f5631
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Feb 3, 2024
3dd71a5
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
67c537c
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
8c11124
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
10d564f
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
a45eedc
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
c090e47
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
71ad131
Update create_first_setup.jl
ArseniyKholod Feb 3, 2024
f55e922
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
80435e1
Merge branch 'main' into Getting_started_with_Trixi
ArseniyKholod Feb 3, 2024
651bced
Update getting_started.jl
ArseniyKholod Feb 3, 2024
735f299
Update getting_started.jl
ArseniyKholod Feb 3, 2024
ad453d2
Update create_first_setup.jl
ArseniyKholod Feb 3, 2024
952e5c5
Update changing_trixi.jl
ArseniyKholod Feb 3, 2024
151e7c4
Update changing_trixi.jl
ArseniyKholod Feb 3, 2024
24c921c
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Feb 3, 2024
79b4882
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Feb 3, 2024
706ad64
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Feb 3, 2024
0c6b2b0
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Feb 3, 2024
6bb982a
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Feb 3, 2024
949b209
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Feb 3, 2024
cb7493c
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Feb 3, 2024
175f676
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Feb 3, 2024
1de1ed8
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Feb 3, 2024
63958e3
Update docs/literate/src/files/getting_started.jl
ArseniyKholod Feb 3, 2024
a7fcc45
Merge branch 'Getting_started_with_Trixi' of https://github.com/Arsen…
ArseniyKholod Feb 3, 2024
a34f238
move files to subfolder
ArseniyKholod Feb 3, 2024
28f0080
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
3247a60
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
2ac17c4
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
8d3ea90
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
1e1c7f1
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
bfdb135
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
3a49ce0
Update create_first_setup.jl
ArseniyKholod Feb 3, 2024
3f536d4
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
1186293
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
8580ee7
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
d82d5f2
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
f5cdc52
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
7acc392
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
0d37a29
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
4830b1b
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
04dc77e
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
f26ace3
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
b5ec319
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
68aebe4
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
e3c93bd
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
8704538
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
ccd2b61
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
ad44c7a
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
ad9c66f
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
6ede28c
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
491caaa
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
730b284
Update docs/literate/src/files/create_first_setup.jl
ArseniyKholod Feb 3, 2024
2f968bf
Merge branch 'Getting_started_with_Trixi' of https://github.com/Arsen…
ArseniyKholod Feb 3, 2024
743be05
Update docs/literate/src/files/changing_trixi.jl
ArseniyKholod Feb 3, 2024
f1f2d5f
Update docs/literate/src/files/changing_trixi.jl
ArseniyKholod Feb 3, 2024
201c7a1
Update docs/literate/src/files/changing_trixi.jl
ArseniyKholod Feb 3, 2024
0940e5e
Update docs/literate/src/files/changing_trixi.jl
ArseniyKholod Feb 3, 2024
e2badb1
Merge branch 'Getting_started_with_Trixi' of https://github.com/Arsen…
ArseniyKholod Feb 3, 2024
42670ee
Update docs/literate/src/files/changing_trixi.jl
ArseniyKholod Feb 3, 2024
4faae87
Merge branch 'Getting_started_with_Trixi' of https://github.com/Arsen…
ArseniyKholod Feb 3, 2024
8a73f2c
add transition between 2nd and 3rd parts
ArseniyKholod Feb 3, 2024
8c49163
Update docs/make.jl
ArseniyKholod Feb 3, 2024
40d8b02
clear out folder
ArseniyKholod Feb 3, 2024
7a7cf49
Update docs/literate/src/files/first_steps/getting_started.jl
ArseniyKholod Feb 3, 2024
b66d07a
Update docs/literate/src/files/first_steps/getting_started.jl
ArseniyKholod Feb 3, 2024
e801e8a
Update docs/literate/src/files/first_steps/getting_started.jl
ArseniyKholod Feb 3, 2024
fbff5ef
Update getting_started.jl
ArseniyKholod Feb 3, 2024
1d61b52
Update docs/literate/src/files/first_steps/getting_started.jl
ArseniyKholod Feb 3, 2024
d61ba70
Update docs/literate/src/files/first_steps/getting_started.jl
ArseniyKholod Feb 3, 2024
076e44f
Update docs/literate/src/files/first_steps/getting_started.jl
ArseniyKholod Feb 3, 2024
7566945
Update docs/literate/src/files/first_steps/getting_started.jl
ArseniyKholod Feb 3, 2024
505559e
Update docs/literate/src/files/first_steps/getting_started.jl
ArseniyKholod Feb 3, 2024
ea97b2d
Update docs/literate/src/files/first_steps/getting_started.jl
ArseniyKholod Feb 3, 2024
87ee7ad
Update getting_started.jl
ArseniyKholod Feb 3, 2024
1d03e62
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
554a866
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
1666d30
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
92de625
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
b53ab01
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
11a3cc0
Update create_first_setup.jl
ArseniyKholod Feb 3, 2024
dc81024
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
799db43
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
c1eb2cb
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
ef21cf1
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
e632154
Update create_first_setup.jl
ArseniyKholod Feb 3, 2024
740dee0
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
35735a7
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
4437ec5
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
6def217
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
997288e
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
ce1deab
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
d351324
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
1356e19
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
d20aeaa
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
8cb8f61
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
08acbd2
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
633f6e7
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
9a8f4d6
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
df84d44
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 3, 2024
46c86c8
Update docs/literate/src/files/first_steps/changing_trixi.jl
ArseniyKholod Feb 3, 2024
23f75c0
Update docs/literate/src/files/first_steps/changing_trixi.jl
ArseniyKholod Feb 3, 2024
9dfb2b6
Update docs/literate/src/files/first_steps/changing_trixi.jl
ArseniyKholod Feb 3, 2024
947fcdc
Update docs/literate/src/files/first_steps/changing_trixi.jl
ArseniyKholod Feb 3, 2024
3835d66
Update docs/literate/src/files/first_steps/changing_trixi.jl
ArseniyKholod Feb 3, 2024
06b8a58
Update docs/literate/src/files/first_steps/changing_trixi.jl
ArseniyKholod Feb 3, 2024
2afc25e
spelling
ArseniyKholod Feb 3, 2024
4f51aa5
delete julia, tabs
ArseniyKholod Feb 3, 2024
509147b
add juliaup
ArseniyKholod Feb 4, 2024
a0d9835
add intro
ArseniyKholod Feb 4, 2024
c6c473f
rm
ArseniyKholod Feb 4, 2024
027d419
Apply suggestions from code review
sloede Feb 5, 2024
79d96e8
Apply suggestions from code review
sloede Feb 5, 2024
6b473fa
Update docs/literate/src/files/first_steps/getting_started.jl
sloede Feb 5, 2024
3d3952c
Update docs/literate/src/files/first_steps/changing_trixi.jl
ArseniyKholod Feb 5, 2024
8813890
Update docs/literate/src/files/first_steps/changing_trixi.jl
ArseniyKholod Feb 5, 2024
e7b1e53
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 5, 2024
a23bd2b
Update docs/literate/src/files/first_steps/create_first_setup.jl
ArseniyKholod Feb 5, 2024
ea0a7d3
add save solution dt
ArseniyKholod Feb 5, 2024
fe88db4
Merge branch 'main' into Getting_started_with_Trixi
sloede Feb 5, 2024
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
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ coverage_report/

.DS_Store

run
run/*
trixi
trixi/*
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
288 changes: 288 additions & 0 deletions docs/literate/src/files/getting_started.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,288 @@
#src # Getting started

# Trixi.jl is a numerical simulation framework for conservation laws and
# is written in the [Julia programming language](https://julialang.org/).
# This tutorial is intended for beginners in Julia and Trixi.jl.
# After reading it, you will know how to install Julia and Trixi.jl on your computer,
# and you will be able to download setup files from our GitHub repository, modify them,
# and run simulations.

# ## Julia installation
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

# Trixi.jl works with the current stable Julia release. More information about Julia support can be
# found in the [`README.md`](https://github.com/trixi-framework/Trixi.jl#installation) file.
# A detailed description of the installation process can be found in the
# [Julia installation instructions](https://julialang.org/downloads/platform/).
# But you can follow also our short installation guidelines for Windows and Linux below.

# ### Windows

# - Download Julia installer for Windows from https://julialang.org/downloads/. Make sure
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# that you choose the right version of installer (64-bit or 32-bit) according to your computer.
# - Open the downloaded installer.
# - Paste an installation directory path or find it using a file manager (select `Browse`).
# - Select `Next`.
# - Check the `Add Julia to PATH` option to add Julia to the environment variables.
# This makes it possible to run Julia in the terminal from any directory by only typing `julia`.
# - Select `Next`, then Julia will be installed.

# Now you can verify, that Julia is installed:
# - Press `Win+R` on a keyboard.
# - Enter `cmd` in opened window.
# - Enter in a terminal `julia`.

# Then Julia will be invoked. To close Julia enter `exit()` or press `Ctrl+d`.

# ### Linux

# - Open a terminal and navigate (using `cd`) to the directory, where you want to store Julia.
# - To install Julia, get a link to the latest version of Julia from the
# [Julia website](https://julialang.org/downloads/), then download an archive file by executing:
# ````
# wget https://julialang-s3.julialang.org/bin/linux/... # your link goes here
# ````
# - Unpack the downloaded file with:
# ````
# tar xf julia-....tar.gz # your archive filename goes here
# ````

# Now you can verify that Julia is installed entering `<Julia directory>/bin/julia`
# (e.g. `julia-1.8.5/bin/julia`) command in a terminal. `<Julia directory>` is the directory where
# Julia is installed.
# Then Julia will be invoked. To close Julia, enter `exit()` or press `Ctrl+d`.

# Note, that further in the tutorial Julia will be invoked only typing `julia` in a terminal.
# To enable that, you have to add
# [Julia to the PATH](https://julialang.org/downloads/platform/#linux_and_freebsd).

# ## Trixi.jl installation
sloede marked this conversation as resolved.
Show resolved Hide resolved

# Trixi.jl and its related tools are registered Julia packages, thus their installation
# happens inside Julia.
# For a smooth workflow experience with Trixi.jl, you need to install
# [Trixi.jl](https://github.com/trixi-framework/Trixi.jl),
# [OrdinaryDiffEq.jl](https://github.com/SciML/OrdinaryDiffEq.jl) and
# [Plots.jl](https://github.com/JuliaPlots/Plots.jl).

# - Open a terminal and invoke Julia (Windows and Linux: type `julia`).
# - Execute following commands:
# ````
# import Pkg
# Pkg.add(["OrdinaryDiffEq", "Plots", "Trixi"])
# ````

# Now you have installed all these
# packages. [OrdinaryDiffEq.jl](https://github.com/SciML/OrdinaryDiffEq.jl) provides time integration schemes
# used by Trixi.jl and [Plots.jl](https://github.com/JuliaPlots/Plots.jl) can be used to directly
# visualize Trixi.jl results from the Julia REPL.

# ## Usage

# ### Running a simulation

# To get you started, Trixi.jl has a large set
# of [example setups](https://github.com/trixi-framework/Trixi.jl/tree/main/examples), that can be taken
# as a basis for your future investigations.
# In Trixi.jl, we call these setup files "elixirs", since they contain Julia code that
# takes parts of Trixi.jl and combines them into something new.

# Now execute one of the examples using the [`trixi_include`](@ref)
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# function. `trixi_include(...)` expects
# a single string argument with a path to a file containing Julia code.
# `joinpath(...)` join a path components into a full path.
# The [`examples_dir`](@ref) function returns a path to the
# [`examples`](https://github.com/trixi-framework/Trixi.jl/tree/main/examples) folder
# that has been locally downloaded while installing Trixi.jl.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

# Let's execute a short two-dimensional problem setup. It approximates the solution of
# the compressible Euler equations in 2D for an ideal gas ([`CompressibleEulerEquations2D`](@ref))
# with a weak blast wave as the initial condition.

# Invoke Julia in a terminal.
# And execute following code.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

using Trixi, OrdinaryDiffEq
trixi_include(@__MODULE__,joinpath(examples_dir(), "tree_2d_dgsem", "elixir_euler_ec.jl"))
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

# To observe the result of the computation, we need to use the `Plots` package and the function
# `plot()`, that builds a graphical representation of the solution. `sol` is a variable defined in
# executed example and it contains a solution at a final moment of time.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

using Plots
plot(sol)

# To obtain list of all Trixi.jl elixirs execute
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# [`get_examples`](@ref). It returns paths to all examples.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

get_examples()

# Editing Trixi.jl examples is the best way to start your first own investigation using Trixi.jl.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

# ### Files downloading
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

# To edit example files you have to download them. Let's have a look how to download
# `elixir_euler_ec.jl` used in the previous section from the
# [Trixi.jl github](https://github.com/trixi-framework/Trixi.jl).
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

# - All examples are located inside
# the [`examples`](https://github.com/trixi-framework/Trixi.jl/tree/main/examples) folder.
# - Navigate to the
# file [`elixir_euler_ec.jl`](https://github.com/trixi-framework/Trixi.jl/blob/main/examples/tree_2d_dgsem/elixir_euler_ec.jl).
# - Click the `Raw` button on the right side of the webpage.
# - Right-click on any place of the newly opened webpage and choose `Save as`.
# - Choose a folder and erase `.txt` from the file name. Save the file.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

# ### Files editing
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

# For example, we will change the initial condition for calculations that occur in
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# `elixir_euler_ec.jl`. In this example we consider the compressible Euler equations:
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# ```math
# \frac{\partial}{\partial t}
# \begin{pmatrix}
# \rho \\ \rho v_1 \\ \rho v_2 \\ \rho e
# \end{pmatrix}
# +
# \frac{\partial}{\partial x}
# \begin{pmatrix}
# \rho v_1 \\ \rho v_1^2 + p \\ \rho v_1 v_2 \\ (\rho e +p) v_1
# \end{pmatrix}
# +
# \frac{\partial}{\partial y}
# \begin{pmatrix}
# \rho v_2 \\ \rho v_1 v_2 \\ \rho v_2^2 + p \\ (\rho e +p) v_2
# \end{pmatrix}
# =
# \begin{pmatrix}
# 0 \\ 0 \\ 0 \\ 0
# \end{pmatrix}
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# ```
# for an ideal gas with ratio of specific heats ``\gamma``
# in two space dimensions.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# Here, ``\rho`` is the density, ``v_1``, ``v_2`` the velocities, ``e`` the specific total
# energy, and
# ```math
# p = (\gamma - 1) \left( \rho e - \frac{1}{2} \rho (v_1^2+v_2^2) \right)
# ```
# the pressure.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# Initial condition consists of initial values for ``\rho``, ``\rho v_1``,
# ``\rho v_2`` and ``\rho e``.
# One of the common initial condition for compressible Euler equations is density wave.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# Let's implement it.

# - Open the downloaded file with notepad or any other text editor.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# - And go to the 9th line with following code:
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# ````
# initial_condition = initial_condition_weak_blast_wave
# ````
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# Here [`initial_condition_weak_blast_wave`](@ref) is used.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# - Comment out this line using # symbol:
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# ````
# # initial_condition = initial_condition_weak_blast_wave
# ````
# - Now you can create your own initial conditions. Write following code into a file after the
# commented line:
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

function initial_condition_density_waves(x,t,equations::CompressibleEulerEquations2D)
v1 = 0.1 # velocity along x-axis
v2 = 0.2 # velocity along y-axis
rho = 1.0 + 0.98 * sin(pi * (sum(x) - t * (v1 + v2))) # density wave profile
p = 20 # pressure
rho_e = p / (equations.gamma - 1) + 1/2 * rho * (v1^2 + v2^2)
return SVector(rho, rho*v1, rho*v2, rho_e)
end
initial_condition=initial_condition_density_waves

# - Execute following code one more time, but instead of `path_to_file` paste the path to the
# `elixir_euler_ec.jl` file from the current folder.
# ````
# using Trixi
# trixi_include(path_to_file)
# using Plots
# plot(sol)
# ````
# Then you will obtain new solution.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

trixi_include(@__MODULE__,joinpath(examples_dir(), "tree_2d_dgsem", "elixir_euler_ec.jl"), #hide #md
callbacks=CallbackSet(StepsizeCallback(cfl=1.0)), initial_condition=initial_condition) #hide #md
plot(sol) #hide #md
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

# Feel free to add
# changes into `initial_condition` to observe different solutions.

# Now you are able to download, edit and execute Trixi.jl code.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

# ## Next steps
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

# If you plan on editing Trixi.jl itself, you can download Trixi.jl locally and run it from
# the cloned directory:

# ### Cloning Trixi.jl

# #### Windows

# If you are using Windows OS, you can clone Trixi.jl directory using a Github Desktop.
# - If you haven't any github account yet, you have to create it on
# the [Github website](https://github.com/join).
# - Download and install [Github Desktop](https://desktop.github.com/) and then login into
# your account.
# - Open an installed Github Desktop, press `Ctrl+Shift+O`.
# - In opened window paste `trixi-framework/Trixi.jl` and choose path to the folder, where you want
# to save Trixi.jl. Then click `Clone` and Trixi.jl will be cloned to your computer.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

# Now you cloned Trixi.jl and only need to add Trixi.jl packages to Julia.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# - Open a terminal using `Win+R` and `cmd`. Navigate to the folder with cloned Trixi.jl using `cd`.
# - Create new directory and start Julia with the `--project` flag set to your local Trixi.jl clone.
# ````
# mkdir run
# cd run
# julia --project=.
# ````
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# - Run following commands in Julia REPL:
# ````
# using Pkg; Pkg.develop(PackageSpec(path="..")) # Install local Trixi.jl clone
# Pkg.add(["OrdinaryDiffEq", "Trixi2Vtk", "Plots"]) # Install additional packages
# ````
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

# Now you already installed Trixi.jl from your local clone. Note that if you installed Trixi.jl this
# way, you always have to start Julia with the `--project` flag set to your `run` directory, e.g.,
# ````
# julia --project=.
# ````
# if already inside the `run` directory.

# #### Linux

# You can clone Trixi.jl to your computer executing following commands:
# ````
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# git clone [email protected]:trixi-framework/Trixi.jl.git
# # In case of an error, use following: git clone https://github.com/trixi-framework/Trixi.jl
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# cd Trixi.jl
# mkdir run
# cd run
# julia --project=. -e 'using Pkg; Pkg.develop(PackageSpec(path=".."))' # Install local Trixi.jl clone
# julia -e 'using Pkg; Pkg.add(["OrdinaryDiffEq", "Trixi2Vtk", "Plots"])' # Install additional packages'
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
# ````
# Note that if you installed Trixi.jl this way,
# you always have to start Julia with the `--project` flag set to your `run` directory, e.g.,
# ````
# julia --project=.
# ````
# if already inside the `run` directory.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

# ### For further reading

# To get deeper into Trixi.jl, you may have a look at following tutorials.
# - [Introduction to DG methods](@ref scalar_linear_advection_1d) on how to set up a simple way to
# approximate the solution of a hyperbolic partial differential equation. It will be esspecialy
# useful to learn about the
# [Discontinuous Galerkin method](https://en.wikipedia.org/wiki/Discontinuous_Galerkin_method)
# and way of its implementation in Trixi.jl. Detailed explanation of code provides a quick start
# with Trixi.jl.
# - [Adding a new scalar conservation law](@ref adding_new_scalar_equations) and
# [Adding a non-conservative equation](@ref adding_nonconservative_equation)
# describe how to add a new physics model that's not included in Trixi.jl yet.
# - [Callbacks](@ref callbacks-id) gives an overview of an algorithmic entity called callback that
# gets passed to the ODE solver and is called at specific points during execution to perform
# certain tasks. It extends Trixi.jl without modifying the internal source code.
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved

Sys.rm("out"; recursive=true, force=true) #hide #md
4 changes: 3 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ end
# "title" => ["subtitle 1" => ("folder 1", "filename 1.jl"),
# "subtitle 2" => ("folder 2", "filename 2.jl")]
files = [
# Topic: introduction
"Getting started" => "getting_started.jl",
# Topic: DG semidiscretizations
"Introduction to DG methods" => "scalar_linear_advection_1d.jl",
"DGSEM with flux differencing" => "DGSEM_FluxDiff.jl",
Expand All @@ -67,7 +69,7 @@ files = [
"Unstructured meshes with HOHQMesh.jl" => "hohqmesh_tutorial.jl",
# Topic: other stuff
"Explicit time stepping" => "time_stepping.jl",
"Differentiable programming" => "differentiable_programming.jl",
"Differentiable programming" => "differentiable_programming.jl"
ArseniyKholod marked this conversation as resolved.
Show resolved Hide resolved
]
tutorials = create_tutorials(files)

Expand Down