Skip to content

Time Transformations

Ben Mackay edited this page Aug 16, 2021 · 1 revision

Flux Calculation, Accumulation and Communication

Flux calculation and accumulation are performed in one of the component models (one with the smallest timestep), as specified by the user. The coupler communicates to each model:

  • whether it should perform surface flux calculation/accumulation (if yes, the model will create an additional prognostic variable, if not the mode will create an additional auxiliary variable)
  • which function from SurfaceFluxes.jl (revamped) to use
  • parameters it needs to pass from the component model
  • parameters needed by the component model. This method avoids multiple flux calculations in different parts of the code (Isca, CLM - lessons learnt).In some cases, the surface fluxes at the surface may required to be in equilibrium. This may be solved using a skin temperature layer (e.g., as in Roberts et al 2018; to be implemented when needed).