Hi,
I'm using the rainfall-runoff module in the telemac2D.
I have the variables 'CN coefficient', 'accumulated rainfall' and 'accumulated runoff' along with the other default variables in the result file but I also want to see the 'accumulated initial abstractions' and the 'accumulated continuing abstractions' in my results file.
So, I added the last four lines in the following piece of code in the runoff_scs_cn.f file:
! COEFFICIENT CN => USER VARIABLE 'O' (NO. 24)
PRIVE%ADR(2)%P%R(I)=CN%R(I)
! ACCUMULATED RAINFALL => USER VARIABLE 'R' (NO. 25)
PRIVE%ADR(3)%P%R(I)=T22%R(I)
! ACCUMULATED RUNOFF => USER VARIABLE 'Z' (NO. 26)
PRIVE%ADR(4)%P%R(I)=ACCROFF(I)
!
! ACCUMULATED initial abstraction => USER VARIABLE 'P1'(NO. ??)
PRIVE%ADR(5)%P%R(I)=ACCIA(I)
! ACCUMULATED continuing abstraction => USER VARIABLE 'P2'(NO. ??)
PRIVE%ADR(6)%P%R(I)=ACCFA(I)
and did the following changes in the file user_nomvar_telemac2d.f (I don't know if nr.35 and 36 are available):
TEXTE(24) = 'CN COEFFICIENT '
TEXTE(25) = 'ACC. RAINFALL M '
TEXTE(26) = 'ACC. RUNOFF M '
!
TEXTE(35) = 'ACC. Initial Abstractions M '
TEXTE(36) = 'ACC. Continuing Abstractions M '
!
TEXTPR(24) = 'CN COEFFICIENT '
TEXTPR(25) = 'ACC. RAINFALL M '
TEXTPR(26) = 'ACC. RUNOFF M '
!
TEXTPR(35) = 'ACC. Initial Abstractions M '
TEXTPR(36) = 'ACC. Continuing Abstractions M '
!
In the end, I changed the 'NUMBER OF PRIVATE ARRAYS= 6' instead of 4
and added P1 and P2 to the 'VARIABLES FOR GRAPHIC PRINTOUTS= H,B,N,O,R,U,V,S,Z,I,J,
P1,P2,MAXV' in the steering .cas file.
I still see no changes in the list of variables in the results file.
Where do I need to define that the additional 2 variables are
P1 and
P2.
Attached are my edited file.
Regards,
Nitesh