Skip to content

Commit

Permalink
Fix thermal examples
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoireHENRY committed Jan 25, 2024
1 parent 8eb3ac8 commit 225eb28
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/thermal-binary/cfg/cfg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ simulation:
scene:
sun:
position:
!cartesian [1.5e11, 0.0, 0.0]
!cartesian [1.5e8, 0.0, 0.0]

bodies:
- id: body
Expand Down Expand Up @@ -60,4 +60,4 @@ bodies:
frame: body
control: 5.2e11
record:
columns: [114]
columns: [114]
70 changes: 70 additions & 0 deletions examples/thermal-didymos-system-spice/cfg/cfg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
window:
colormap:
name: inferno
vmax: 400.0
scalar: temperature

spice:
kernel: C:\data\spice\hera\kernels\mk\hera_study_PO_EMA_2024.tm
frame: J2000

simulation:
routines: thermal
start: 2025-01-01 00:00
step: 600
duration: 99661440 # 1.5 Didy year
export:
step: 60
duration: 42960
period: 4296000


scene:
sun:
position:
!spice

bodies:

- id: DIDYMOS
mesh:
# factor: [0.4095, 0.4005, 0.3035]
shape: C:\data\spice\hera\kernels\dsk\g_50677mm_rad_obj_didy_0000n00000_v001.obj
material:
albedo: 0.1
emissivity: 0.9
thermal_inertia: 500.0
density: 2100.0
heat_capacity: 600.0
color: data
interior:
type: linear
size: 40
a: 2e-2
state:
!spice
frame: DIDYMOS_FIXED
record:
columns: [114]

- id: DIMORPHOS
mesh:
# factor: [0.0895165, 0.0825, 0.0575]
shape: C:\data\spice\hera\kernels\dsk\g_08438mm_lgt_obj_dimo_0000n00000_v002.obj
material:
albedo: 0.1
emissivity: 0.9
thermal_inertia: 500.0
density: 2100.0
heat_capacity: 600.0
color: data
interior:
type: linear
size: 40
a: 2e-2
state:
!spice
frame: DIMORPHOS_FIXED
origin: DIDYMOS
record:
columns: [114]
4 changes: 2 additions & 2 deletions examples/thermal-triangle/cfg/cfg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ simulation:
scene:
sun:
position:
!cartesian [0.0, 0.0, 1.5e11]
!cartesian [0.0, 0.0, 1.5e8]
camera:
position:
!cartesian [0.0, 3.0, 3.0]
Expand All @@ -38,4 +38,4 @@ bodies:
spin:
period: 7200
record:
columns: [0]
columns: [0]

0 comments on commit 225eb28

Please sign in to comment.