Dear Users,
Can anyone help me with Fortran script modification. I used the Traces Initialization field as example from validation case 119_stratification, which produce 2 layers stratification. I would like to have three large well defined layers with different values of salinity: 0, 24 and 34, but I am not sure how to write the code correctly. Also I would like to add the Temperature tracer to the script as well with values: -0.29, 1 and 4.3. The current script is :
IF(NTRAC.NE.0) THEN
DO ITRAC=1,NTRAC
! CALL OS('X=C ',X=TA%ADR(ITRAC)%P,C=TRAC0(ITRAC))
DO IPLAN=1,NPLAN
DO I=1,NPOIN2
J=NPOIN2*(IPLAN-1)+I
IF(IPLAN.GT.18) THEN
TA%ADR(ITRAC)%P%R(J)=24.D0
ELSE
TA%ADR(ITRAC)%P%R(J)=34.D0
ENDIF
ENDDO
ENDDO
ENDDO
ENDIF
Please advise. Thank you.
Kind Regards!
Violeta