implement flux function (psi) in a generic way that works for openggcm and psc