aboutsummaryrefslogtreecommitdiffstats
path: root/examples/classic_gravitation/metadata.toml
blob: 9d61b3b58b9a7ecd19debfbbc6f15cf2e8815128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

[model]
name-en = "Classic Gravitation"
description-en = "Newtonian"

[variables]

  [variables.G]
  type = "constant"
  name-en = "Gravitational Constant"
  value_si = 6.674e-11

  [variables.F]
  type = 'dependent'
  name-en = "force"
  units_si = "unit"

  [variables.r]
  type = 'independent'
  name-en = "distance"
  units_si = "meter"

  [variables.m1]
  type = 'independent'
  latex = 'm_1'
  name = "mass #1"
  units_si = "kilogram"

  [variables.m2]
  type = 'independent'
  latex = 'm_2'
  name = "mass #2"
  units_si = "kilogram"

[examples]

  [examples.earth_surface]
  r = 6.371e6       # radius of earth
  m1 = 5.972e24     # mass of earth

  [examples.earth_moon]
  r = 385000        # radius of earth
  m1 = 5.972e24     # mass of earth
  m2 = 7.348e22     # mass of moon