Skip to content

Commit 1d51dc0

Browse files
committed
updated tutorial: hexagonal arrangement added
1 parent 0cc8f81 commit 1d51dc0

File tree

2 files changed

+28
-26
lines changed

2 files changed

+28
-26
lines changed

docs_src/tutorial.rst

+22-20
Original file line numberDiff line numberDiff line change
@@ -30,26 +30,25 @@ A partial config is allowed (e.g., one only containing a new water:cp_w entry).
3030

3131
.. code-block:: yaml
3232
33-
# model dimensionality/temperature resolution within vial (homogeneous, spatial_1D, spatial_2D)
34-
dimensionality: homogeneous
35-
36-
# freezing configuration to be simulated (shelf, VISF, jacket)
37-
configuration: shelf
38-
33+
# additional parameters for the shelf-scale model (Snowfall and Snowflake modules)
34+
snowfall_parameters:
35+
# arrangment of vials (square or hexagonal)
36+
vial_arrangement: square
37+
3938
# all vial-related parameters
4039
vial:
4140
# define the geometry
4241
geometry:
43-
# base shape of vial (snow and snowfall only accepts cube, snowing rewrites it to cylinder)
42+
# base shape of vial
4443
shape: cube
45-
# height of the filled product when shape is cube [m]
44+
# height of the filled product [m]
4645
height: 0.01
4746
# length of the vial when shape is cube [m]
4847
length: 0.01
4948
# width of the vial when shape is cube [m]
5049
width: 0.01
5150
52-
# all parameters realted to water
51+
# all parameters related to water
5352
water:
5453
# specific heat capacity of liquid water [J/kgK]
5554
cp_w: 4187
@@ -88,6 +87,12 @@ A partial config is allowed (e.g., one only containing a new water:cp_w entry).
8887
# vial-dependent pre-exponential nucleation parameter [-]
8988
c: 1.00
9089
90+
general:
91+
# the Stefan-Boltzmann constant [W/m2]
92+
sigma_B: 5.67e-8
93+
# Boltzmann constant [JK]
94+
k_B: 1.38e-23
95+
9196
Example
9297
========
9398

@@ -184,26 +189,23 @@ The spatial model (termed Snowing) accounts for different **dimensionalities (0D
184189

185190
.. code-block:: yaml
186191
187-
# model dimensionality/temperature resolution within vial (homogeneous, spatial_1D, spatial_2D)
188-
dimensionality: spatial_1D
189-
190-
# freezing configuration to be simulated (shelf, VISF, jacket)
191-
configuration: shelf
192+
# additional parameters for the spatial model (Snowing module)
193+
snowing_parameters:
194+
# model dimensionality/temperature resolution within vial (homogeneous, spatial_1D, spatial_2D)
195+
dimensionality: spatial_1D
196+
# freezing configuration to be simulated (shelf, VISF, jacket)
197+
configuration: shelf
192198
193199
# all vial-related parameters
194200
vial:
195201
# define the geometry
196202
geometry:
197-
# base shape of vial (snow and snowfall only accepts cube, snowing rewrites it to cylinder)
203+
# base shape of vial (snow and snowfall only accepts cube, snowing automatically rewrites it to cylinder)
198204
shape: cube
199205
# diameter of the vial for cylindrical geometry (only spatial model) [m]
200206
diameter: 0.01
201-
# height of the filled product for cubic (snow/snowfall) and cylindrical geometry (only spatial model) [m]
207+
# height of the filled product [m]
202208
height: 0.01
203-
# length of the vial when shape is cube [m]
204-
length: 0.01
205-
# width of the vial when shape is cube [m]
206-
width: 0.01
207209
208210
# parameters used in VISF simulation
209211
VISF:

src/ethz_snow/config/snowConfig_default.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# additional parameters for the shelf-scale model (Snowfall and Snowflake modules)
1+
# additional parameters for Snowfall and Snowflake modules
22
snowfall_parameters:
3-
# arrangment of vials (only for homogeneous dimensionality model)
4-
vial_arrangement: hexagonal
3+
# arrangment of vials
4+
vial_arrangement: square
55

66
# additional parameters for the spatial model (Snowing module)
77
snowing_parameters:
@@ -47,7 +47,7 @@ jacket:
4747
# heat conductivity of air [W/mK]
4848
lambda_air: 0.025
4949

50-
# all parameters realted to water
50+
# all parameters related to water
5151
water:
5252
# specific heat capacity of liquid water [J/kgK]
5353
cp_w: 4187
@@ -87,7 +87,7 @@ kinetics:
8787
c: 1.00
8888

8989
general:
90-
# the Stefan-Boltzmann constant [W/m2]
90+
# Stefan-Boltzmann constant [W/m2]
9191
sigma_B: 5.67e-8
92-
# Boltzmann cosntant [JK]
92+
# Boltzmann constant [JK]
9393
k_B: 1.38e-23

0 commit comments

Comments
 (0)