Hello,
According to the source code of waqtel/ray_effect.f and WAQTEL theory guide, the light effect on algae growth was calculated by Smith formula shown in the Figure attached, but it is averaged over the depth for now.
! warning: the formula of smith is depth integrated, here after a tentative
! generalization, to be investigated later.
DO KK=1,NPOIN
CC=H%R(KK)*T1%R(KK)
IF(CC.GT.EPS)THEN
EFF%R(KK)=LOG(CNUM/(T2%R(KK)+SQRT(IK2+T2%R(KK)**2)))/CC
ENDIF
ENDDO
For 3D models this generalization would probably lead to unreal Chla results, so does anyone know how to modify the code above to make sure the ray effect varies along the depth?
Besides, where can we find the reference of the original Smith formula? It's neither listed in the user_manual/theory_guide nor the source code.
Many thanks,
Yunhao