the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
A finite-element framework to explore the numerical solution of the coupled problem of heat conduction, water vapor diffusion and settlement in dry snow (IvoriFEM v0.1.0)
Marie Dumont
Pascal Hagenmuller
Neige Calonne
Francois Tuzet
Henning Löwe
Abstract. The poor treatment, or complete omission, of water vapor transport has been identified as a major limitation suffered by currently available snowpack models. Vapor and heat fluxes being closely intertwined, their mathematical representation amounts to a system of non-linear and tightly-coupled partial differential equations, which is particularly challenging to solve numerically. The choice of the numerical scheme and the representation of couplings between processes is crucial to ensure an accurate and robust solution that guarantees mass and energy conservation, while allowing time steps in the order of 15 minutes. To explore the numerical treatments fulfilling these requirements, we have developed a highly-modular finite-element program. The code is written in python. Every step of the numerical formulation and solution is coded internally, except for the inversion of the linearized system of equations. We illustrate the capabilities of our approach to tackle the coupled problem of heat conduction, vapor diffusion and settlement within a dry snowpack by running our model on several test cases proposed in recently published literature. We underline specific improvements regarding energy and mass conservation, as well as time step requirements. In particular, we show that a fully-coupled and fully-implicit time stepping approach enables to get accurate and stable solutions with little restriction on the time step.
- Preprint
(3545 KB) - Metadata XML
- BibTeX
- EndNote
Julien Brondex et al.
Status: final response (author comments only)
-
RC1: 'Comment on gmd-2023-97', Anonymous Referee #1, 02 Aug 2023
This is a thorough investigation of numerics for simulation of coupled processes in snow. As such, it is not an easy read and is very long. I wonder if it might be shortened beneficially. For example, the description of FEM will be unnecessary for those already familiar with it while not providing everything needed for understanding by those who are not. Otherwise, I have just reproduced editorial corrections that I noted in the manuscript; these will be of no interest for readers of the discussion, but should help the authors to improve the paper.
12
delete “to get”
33
“echoes on” is a curious choice of words
51
“too large relative to”
72
None of these references are to firn intercomparison projects. The statement is, I think, true for snow intercomparison projects. Mass and energy conservation was checked in earlier land surface model intercomparison projects (e.g. https://www.sciencedirect.com/science/article/pii/S0921818198000447); it was a surprise at the time that models did not all balance. Non-conservation and consequent drift is of more concern and more apparent in coupled climate models.
90
“is a an opening” – delete “a”
108
“the macroscopic system of equations is”
123
“dependency of the effective parameters on T”
129
https://doi.org/10.1029/2010EO450004
139
delete “which then writes”
141
“consists of a single prognostic equation for T”
158
“lies in the fact”
207
“we code every step of the method internally”
227
“that can be cast”
237
“the matrix form of the resulting algebraic system is”
250
“while every case … is first-order in time”
253
“combined with its stability”
264
“it is possible to diagnose the fluxes”
270
“One of the main goals”
271
“Details of the various approaches … to reach this conclusion”
285
delete “what regards”
334
“we refer to this as the proper form of the mass matrix”
348
“this method enables removing spurious oscillations”
383
delete “imperatively”
398
“obtained at the previous time step, is equivalent to performing”
399
“thus does not necessarily”
404
“without any reference to how these fluxes”
425
“this allows eliminating … from the continuity equation, which is then”
447
“the mass contained within each layer remains the same”
452
“would enable switching”
457
“consists of two numerical operations”
471
“without any explicit reference to how these fields should vary between nodes”
484
“an inconsistency that hampers mass conservation”
487
delete “which writes”
490
delete “comprised”
515
no need to abbreviate “respectively”
Figure 3
If the dashed blue “No Lump.; Prop.” line were plotted on top of the solid orange “Lump.; Prop.”, then both could be made visible (like “FEniCS” and “No Lump.; Improp.”).
543
“treated in detail”
556
“deviation in c”
565
delete “of”
613
delete “what regards”
625
“associated with stronger deposition rates”
629
“implies solving”
674
“equivalent to imposing”
685
“This oscillatory pattern propagates inwards over a number of nodes that grows in time.”
686
“but does not trigger oscillations”
708
“into an ice”
733
“associated with continuous sublimation”
737
“the dependence of k_eff and D_eff on ice volume fraction”
744
delete “of”
753
delete “of”, twice
719
“This is a generic result”
772
“might require considerably decreasing the time step”
778
“coming up with”
780
“This required knowing”
783
“associated with”
824
“the reader’s attention to”
825
“Even when one claims to be adopting”
826
“always requires discretization of the domain”
828
“must necessarily be made”
829
“This is equivalent to saying that there must”
833
“with a robust numerical treatment”
868
“enables closing”
971
A link to https://zenodo.org/record/5588308 would be useful here in addition to reference to Simson et al. (2021).
979
“consists of”
Citation: https://doi.org/10.5194/gmd-2023-97-RC1 -
RC2: 'Comment on gmd-2023-97', Anonymous Referee #2, 15 Aug 2023
This paper presents a valuable scientific contribution that advances the field by integrating water vapor transport with heat conduction and settling in dry firn models. The approach is particularly good for its modular program design, enabling potential extensions in the future. The utilization of mass conservative mixed forms of partial differential equations (PDEs) adds to the paper's robustness. The codes are well commented and the readme to the GitHub repository is clear to understand.
Addressing the below-mentioned points may refine the presentation and contribute to the overall impact of this work.
Major points:
1. Streamlining Content: The paper contains sections that come across as repetitive and overly verbose, potentially obscuring the core scientific contributions. It might be beneficial to consider either omitting or relocating such sections to the Appendix. For instance, the detailed description of finite element methods could be moved to appendix.
2. Enhancing Clarity: The description of the implementation of boundary conditions, such as the Robyn type, could be further elaborated upon to ensure greater clarity and ease of repeatability. A more detailed explanation would contribute to the paper's overall accessibility.
3. Tolerance Criterion Discussion: The choice of the tolerance criterion (as shown in Equation 11) plays a pivotal role in achieving accuracy. It would be valuable to discuss the criticality of this choice in relation to Equation 361, where readers could better grasp its significance.
4. Addressing Validity of Linear Flow Law: The paper could benefit from a concise discussion regarding the validity of the linear flow law for Newtonian fluids, particularly at short time scales (as mentioned in lines #430-438). It would be beneficial to cite relevant work, such as Simpson et al. 2021, to provide context and substantiate the argument.
Minor comments/typos:
- #90 – a an -> an
- #251, 253, 256 - Cranck -> Crank
- #526 - Full-implicit -> fully implicit
- #261 – l.h.s -> l.h.s.
- #263 – r.h.s -> r.h.s.
Citation: https://doi.org/10.5194/gmd-2023-97-RC2 - AC1: 'Comment on gmd-2023-97', Julien Brondex, 28 Sep 2023
Julien Brondex et al.
Model code and software
Supplementary to "A finite-element framework to explore the numerical solution of the coupled problem of heat conduction, water vapor diffusion and settlement in dry snow" Julien Brondex; Kevin Fourteau; Marie Dumont; Pascal Hagenmuller; Neige Calonne; François Tuzet; Henning Löwe https://doi.org/10.5281/zenodo.7941767
GitHub repository to the code used to generate the results of "A finite-element framework to explore the numerical solution of the coupled problem of heat conduction, water vapor diffusion and settlement in dry snow" Julien Brondex; Kevin Fourteau; Marie Dumont; Pascal Hagenmuller; Neige Calonne; François Tuzet; Henning Löwe https://github.com/jbrondex/ivori_model_homemadefem
Julien Brondex et al.
Viewed
HTML | XML | Total | BibTeX | EndNote | |
---|---|---|---|---|---|
296 | 82 | 16 | 394 | 6 | 4 |
- HTML: 296
- PDF: 82
- XML: 16
- Total: 394
- BibTeX: 6
- EndNote: 4
Viewed (geographical distribution)
Country | # | Views | % |
---|
Total: | 0 |
HTML: | 0 |
PDF: | 0 |
XML: | 0 |
- 1