Opened 2 months ago

Last modified 2 months ago

#2537 new Defect

Using salinity array as a passive tracer

Reported by: jchanut Owned by: systeam
Priority: low Milestone:
Component: TRA Version:
Severity: minor Keywords:



Test cases often require the use of a passive tracer to ease diagnostics. Since most of the time a simplified (temperature dependent) equation of state is used, it would be convenient to use salinity as a passive tracer (that could be zero, and eventually slightly negative where monotone schemes fail).


There are several instances in the code that check or correct if salinity is ⇐0:

  • A source term is added in trazdf to ensure S≥0.1. That's brutal.
  • The model stops in stpctl if S⇐0


Remove those constrains if a temperature dependent, simplified equation of state is used, i.e.:


Commit History (0)

(No commits)

Change History (1)

comment:1 Changed 2 months ago by smasson

Yes of course, great idea!
I face this problem in CANAL since years, copying and maintaining a stpctl in CANAL/MY_SRC…
I should have thought about it… ;-)

Note: See TracTickets for help on using tickets.