Opened 3 years ago

Closed 3 years ago

#443 closed defect (fixed)

Correction of the refined bottom discretization

Reported by: tverbeke Owned by: somebody
Priority: major Milestone: ORCHIDEE 2.0
Component: Physical processes Version: orchidee_2_0
Keywords: Cc:

Description

When you activate the refined bottom discretisation for hydrology and thermosoil,
the nodes for temperatures in the soil column are not well distributed, which produces
NaN in some outputs (NEE, Heteroresp,...).

The following corrections should be made in vertical_soil.f90 (sorry for not using WikiFormatting):

Line 346: (after the IF(refinebottom loop))
Add: nbrefine=nbrefine-1

Line 402:
Delete: DO i=ntmp,ntmp+nbrefine
Add : DO i=ntmp,ntmp+nbrefine-1

Line 403:
Delete: iref=(nbrefine+1)-(i-ntmp)
Add : iref=nbrefine-(i-ntmp)

Change History (1)

comment:1 Changed 3 years ago by jgipsl

  • Resolution set to fixed
  • Status changed from new to closed

Done in the trunk rev [5358] and in tag ORCHIDEE_2_0 rev [5359]

Note: See TracTickets for help on using tickets.