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

  • 576bf5c
  • /
  • cookbook2.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:c8234f561cc965d948bcc839bfe245bc9a00f317
directory badge
swh:1:dir:576bf5c378d0df7a153ddb60ce105797dbc9f29f

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 ...
cookbook2.cfg
# Cookbook 2: Domain Size and Velocity Boundary Conditions

[CitcomS]
steps = 60                  ; number of time steps

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

[CitcomS.solver]
datafile = cookbook2        ; prefix of output filenames

# Modify the layout of the mesh.
[CitcomS.solver.mesher]
nprocx =  2
nprocy =  2
nodex  = 17
nodey  = 17
nodez  =  9

theta_min    = 0.7854
theta_max    = 1.5708
fi_min       = 0.0
fi_max       = 0.7854
radius_inner = 0.55
radius_outer = 1.0

# Impose a uniform velocity across the top surface.
[CitcomS.solver.bc]
topvbc    =   1
topvbxval = 100
topvbyval =   0

# In addition, set the initial temperature perturbation to zero.
[CitcomS.solver.ic]
num_perturbations = 1
perturbmag        = 0.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