I'm modifying the conlit.f file to set the bedload solid discharge at the boundary condition of 6 size-classes of bed material.
In conlit.f I have the following routine:
DO K=1,NPTFR
.
.
.
LIEBOR%I(K)=KSORT
LIQBOR%I(K)=KENT
if (K .ge. 5510 .and. K .le. 5556) then !5510 and 5556 are the limits node of the inlet boundary condition.
QBOR%ADR(1)%P%R(K)=0.168D0
QBOR%ADR(2)%P%R(K)=0.168D0
QBOR%ADR(3)%P%R(K)=0.168D0
QBOR%ADR(4)%P%R(K)=0.168D0
QBOR%ADR(5)%P%R(K)=0.084D0
QBOR%ADR(6)%P%R(K)=0.084D0
else
QBOR%ADR(1)%P%R(K)=0D0
QBOR%ADR(2)%P%R(K)=0D0
QBOR%ADR(3)%P%R(K)=0D0
QBOR%ADR(4)%P%R(K)=0D0
QBOR%ADR(5)%P%R(k)=0D0
QBOR%ADR(6)%P%R(K)=0D0
end if
But, QBOR%ADR(1)%P%R(K) still being 0. Y include this line: WRITE(LU,*) K , so I can see in the temrinal which values takes K, and the maximum was 2655 when I have 11304 boundary nodes so it will never set the solid discharge rate for each sediment class.
How I can fix this problem.
I attached my *. cli file and the conlit.f file.
Best regards,
Gonzalo