Skip to content

Add qsat to restart files to enable warm starts with deposition#304

Closed
LeonGeers wants to merge 1291 commits into
mainfrom
dev_qsat_to_restart_files
Closed

Add qsat to restart files to enable warm starts with deposition#304
LeonGeers wants to merge 1291 commits into
mainfrom
dev_qsat_to_restart_files

Conversation

@LeonGeers

Copy link
Copy Markdown

Ruud found a problem running warm starts with DALES, specifically when deposition was activated. It turned out that the compensation point concentration was NaN, caused by the fact that qsat was not defined when restarting (it was not included in the warm start initializer files). He's corrected that for DALES v4.4 (Ruisdael branch) and I cherry-picked it for version 5.

CasparJungbacker and others added 30 commits October 23, 2025 14:40
Not used anymore
* modforces: account for gravity on precipitation with bulkmicro3

* modforces: change OpenACC kernels to parallel loop

---------

Co-authored-by: Caspar Jungbacker <caspar.jungbacker@outlook.com>
* modsurface: change lmostlocal to .true. by default

reason: with large domains with some heterogeneity, e.g. with open
boundaries or cold pools, there may be large deviations in the local
wind speed from the domain average. Using the local wind by default is
less surprising than using the domain average.

* modsurfdata: add space :-)

---------

Co-authored-by: Caspar Jungbacker <74240267+CasparJungbacker@users.noreply.github.com>
modchem: avoid out-of-bounds read when determining lastchem, fix typos
* Nudging: add support for nudging scalars

* Tracers: add switch for enabling nudging

* Nudging: small fixes for nudging scalars
Aerosols

Infrastructure for M7 aerosol scheme. Based on an earlier implementation by Marco de Bruine. This version is very bare bones, since it only features activation. More features to come...
* Poisson: move reading of solver namelist

* Poisson: move data to `modpois_data.f90`

* Poisson: re-add default solver selection

* Poisson: actually track modpois_data.f90
modchecksim: fix stars in sim_sec/s (add min/hour option)
fjansson and others added 25 commits June 16, 2026 11:03
* modnudge: move printing of nudging profile to the file used_profiles.txt

* update copyright years, remove old changelog

* program.f90: remove duplicate call to datetime
baseprof: re-add user-specified baseprof option
Fix fortran-support compilation with `-fdefault-real-8`
@fjansson

fjansson commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Good find, let's fix this. However, this pull request is massive because it tries to merge into the main branch. Probably it should target dev, with just the one cherry-picked commit.

Second, qsat can be calculated from the prognostic variables, so it might be possible to not store it in the restart file but make sure it's been calculated in the time step before it's required - that's nice also otherwise because then the qsat value used is the most recent one. Not sure if this is easy or possible in this case.

@LeonGeers

Copy link
Copy Markdown
Author

Oh, crap. I was under the impression that, since it is a cherry-pick to a sidebranch of dev, it should generate a merge request in dev. F'd it up again, apparently. I'll have a look at it tomorrow

@LeonGeers

Copy link
Copy Markdown
Author

qsat is calculated in every time step, a fix that was made some time ago, which renders this merge request redundant.

@LeonGeers LeonGeers closed this Jul 2, 2026
@CasparJungbacker CasparJungbacker deleted the dev_qsat_to_restart_files branch July 2, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants