-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(config): new yaml files for more examples
- Loading branch information
1 parent
32dfbe5
commit b9f6f43
Showing
8 changed files
with
134 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
# ----- CLEO ----- | ||
# File: shima2009_config.yaml | ||
# Project: config | ||
# Created Date: Wednesday 17th April 2024 | ||
# Author: Clara Bayley (CB) | ||
# Additional Contributors: | ||
# ----- | ||
# Last Modified: Wednesday 17th April 2024 | ||
# Modified By: CB | ||
# ----- | ||
# License: BSD 3-Clause "New" or "Revised" License | ||
# https://opensource.org/licenses/BSD-3-Clause | ||
# ----- | ||
# Copyright (c) 2023 MPI-M, Clara Bayley | ||
# ----- | ||
# File Description: | ||
# Configuration file for example of collisions in CLEO SDM 0-D box model. | ||
# Note: The inital superdroplets data read from file "initsupers_filename" can be made with | ||
# CLEO's pySD module (see Python script "create_initsuperdropsbinary_script.py" for usage). | ||
# Likewise the "grid_filename" can be made using pySD (see "create_gbxboundariesbinary_script.py"), | ||
# and so can the thermodynamics files when using coupled thermodynamics "fromfile". | ||
# | ||
|
||
### Initialisation Parameters ### | ||
inputfiles: | ||
constants_filename : ../libs/cleoconstants.hpp # name of file for values of physical constants | ||
grid_filename : ./share/shima2009_dimlessGBxboundaries.dat # binary filename for initialisation of GBxs / GbxMaps | ||
|
||
initsupers: | ||
type : frombinary # type of initialisation of super-droplets | ||
initsupers_filename : ./share/shima2009_dimlessSDsinit.dat # binary filename for initialisation of SDs | ||
totnsupers : 4096 # initial total no. of SDs | ||
|
||
### Output Parameters ### | ||
outputdata: | ||
setup_filename : ./bin/shima2009_setup.txt # .txt filename to copy configuration to | ||
stats_filename : ./bin/shima2009_stats.txt # .txt file to output runtime statistics to | ||
zarrbasedir : ./bin/shima2009_sol.zarr # zarr store base directory | ||
maxchunk : 2500000 # maximum no. of elements in chunks of zarr store array | ||
|
||
### SDM Runtime Parameters ### | ||
domain: | ||
nspacedims : 0 # no. of spatial dimensions to model | ||
ngbxs : 1 # total number of Gbxs | ||
|
||
timesteps: | ||
CONDTSTEP : 200 # time between SD condensation [s] | ||
COLLTSTEP : 1 # time between SD collision [s] | ||
MOTIONTSTEP : 200 # time between SDM motion [s] | ||
COUPLTSTEP : 2000 # time between dynamic couplings [s] | ||
OBSTSTEP : 200 # time between SDM observations [s] | ||
T_END : 4000 # time span of integration from 0s to T_END [s] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
# ----- CLEO ----- | ||
# File: const2d_config.yaml | ||
# Project: config | ||
# Created Date: Wednesday 17th April 2024 | ||
# Author: Clara Bayley (CB) | ||
# Additional Contributors: | ||
# ----- | ||
# Last Modified: Wednesday 17th April 2024 | ||
# Modified By: CB | ||
# ----- | ||
# License: BSD 3-Clause "New" or "Revised" License | ||
# https://opensource.org/licenses/BSD-3-Clause | ||
# ----- | ||
# Copyright (c) 2023 MPI-M, Clara Bayley | ||
# ----- | ||
# File Description: | ||
# Configuration file for CLEO 2-D example with constant thermodynamics read from a file. | ||
# Note: The inital superdroplets data read from file "initsupers_filename" can be made with | ||
# CLEO's pySD module (see Python script "create_initsuperdropsbinary_script.py" for usage). | ||
# Likewise the "grid_filename" can be made using pySD (see "create_gbxboundariesbinary_script.py"), | ||
# and so can the thermodynamics files when using coupled thermodynamics "fromfile". | ||
# | ||
|
||
### Initialisation Parameters ### | ||
inputfiles: | ||
constants_filename : ../libs/cleoconstants.hpp # name of file for values of physical constants | ||
grid_filename : ./share/const2d_dimlessGBxboundaries.dat # binary filename for initialisation of GBxs / GbxMaps | ||
|
||
initsupers: | ||
type : frombinary # type of initialisation of super-droplets | ||
initsupers_filename : ./share/const2d_dimlessSDsinit.dat # binary filename for initialisation of SDs | ||
totnsupers : 960 # initial total no. of SDs | ||
|
||
### Output Parameters ### | ||
outputdata: | ||
setup_filename : ./bin/const2d_setup.txt # .txt filename to copy configuration to | ||
stats_filename : ./bin/const2d_stats.txt # .txt file to output runtime statistics to | ||
zarrbasedir : ./bin/const2d_sol.zarr # zarr store base directory | ||
maxchunk : 2500000 # maximum no. of elements in chunks of zarr store array | ||
|
||
### SDM Runtime Parameters ### | ||
domain: | ||
nspacedims : 2 # no. of spatial dimensions to model | ||
ngbxs : 400 # total number of Gbxs | ||
|
||
timesteps: | ||
CONDTSTEP : 1 # time between SD condensation [s] | ||
COLLTSTEP : 1 # time between SD collision [s] | ||
MOTIONTSTEP : 2 # time between SDM motion [s] | ||
COUPLTSTEP : 7200 # time between dynamic couplings [s] | ||
OBSTSTEP : 120 # time between SDM observations [s] | ||
T_END : 7200 # time span of integration from 0s to T_END [s] | ||
|
||
### Microphysics Parameters ### | ||
microphysics: | ||
condensation: | ||
do_alter_thermo : false # true = cond/evap alters the thermodynamic state | ||
niters : 2 # no. iterations of Newton Raphson Method before testing for convergence | ||
SUBTSTEP : 0.1 # smallest subtimestep in cases of substepping [s] | ||
rtol : 0.0 # relative tolerance for implicit Euler integration | ||
atol : 0.01 # abolute tolerance for implicit Euler integration | ||
|
||
### Coupled Dynamics Parameters ### | ||
coupled_dynamics: | ||
type : fromfile # type of coupled dynamics to configure | ||
press : ./share/const2d_dimlessthermo_press.dat # binary filename for pressure | ||
temp : ./share/const2d_dimlessthermo_temp.dat # binary filename for temperature | ||
qvap : ./share/const2d_dimlessthermo_qvap.dat # binary filename for vapour mixing ratio | ||
qcond : ./share/const2d_dimlessthermo_qcond.dat # binary filename for liquid mixing ratio | ||
wvel : ./share/const2d_dimlessthermo_wvel.dat # binary filename for vertical (coord3) velocity | ||
uvel : ./share/const2d_dimlessthermo_uvel.dat # binary filename for eastwards (coord1) velocity | ||
vvel : ./share/const2d_dimlessthermo_vvel.dat # binary filename for northwards (coord2) velocity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters