Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Tiles Lateral heat soil balance error

Status
Not open for further replies.

mariuslam

Marius Lambert
New Member
Hey @swensosc @erik ,

After the tile, excess ice and lateral snow redistribution implementations, we are now testing lateral heat flux between tiles in CTSM.

We placed the lateral heat flux function after the melting/freezing calculation but before the phase change calculation.

In our function, the temperature of each soil layer in Tile1 and Tile2 is updated based on the heat fluxes between connected layers.

Then we update errsoi_patch(p) in SoilFluxesMod.F90 --> errsoi_patch(p) = errsoi_patch(p)+eflx_lateral_col(c) (CTSM/SoilFluxesMod.F90 at be956e4139213c44ef739091eebd03134400b0a2 · mariuslam/CTSM)

The code seems to work when printing variables, but I don't manage to understand how to fix this: ERROR: ERROR in BalanceCheckMod.F90 at line 1021
The model works fine without the lateral heat fluxes. Do you think it is the updated temperatures that cause problems ?

Regards,

Marius Lambert
 
Status
Not open for further replies.
Top