Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 014743a
  • /
  • examples
  • /
  • Cookbook7
  • /
  • cookbook7.cfg
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge
swh:1:cnt:73bbad4faff112abfe6b37ade83ebbf19447a645
directory badge
swh:1:dir:a65beec625b887d300190b0e6706d9e4276841a9

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
cookbook7.cfg
# Cookbook 7: Global Thermo-chemical Convection Model

[CitcomS]
solver = full
steps = 15                  ; number of time steps


[CitcomS.controller]
monitoringFrequency = 5     ; how often outputs are created


[CitcomS.solver]
datadir = output            ; path to output directory
datafile = cookbook7        ; prefix of output filenames
rayleigh = 1e7


[CitcomS.solver.ic]
num_perturbations = 1
perturbl = 3
perturbm = 2
perturblayer = 5
perturbmag = 0.05


[CitcomS.solver.output]
output_optional = tracer,comp_nd


[CitcomS.solver.tracer]
tracer = on
tracer_ic_method = 0
tracers_per_element = 20
tracer_file = tracer.dat

tracer_flavors = 2
ic_method_for_flavors = 0
z_interface = 0.7

chemical_buoyancy = 1
buoy_type = 1
buoyancy_ratio = 0.5

regular_grid_deltheta = 1.0
regular_grid_delphi = 1.0


[CitcomS.solver.vsolver]
Solver = cgrad
accuracy = 1e-04
vlowstep = 1000
piterations = 1000


# Assign the viscosities.
[CitcomS.solver.visc]
VISC_UPDATE = on
num_mat = 4
visc0 = 1,1,1,1
TDEPV = on
rheol = 4
viscE = 0.2,0.2,0.2,0.2
viscT = 0,0,0,0
viscZ = 0,0,0,0
VMIN = on
visc_min = 1.0
VMAX = on
visc_max = 100.0

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API