Hello all,
Is it possible to prescribe layers only on one part of the mesh?
Also, is it possible to prescribe a LAW OF FRICTION to only part of the mesh e.g. Nikuradse in one section, and Manning's in another?
I am modelling a channel and floodplain. I am prescribing layers in the channel (where I apply head losses) however the floodplain is dry and should be without these layers. The channel has Nikuradse's law, however I want Manning's on the floodplain (is there a conversion between the two?
For the layers, my current method results in the exceeding maximum iterations error. Currently I input the layer elevation in CALCOT.f and then set the layers only at the nodes where I want head losses (i.e. the channel nodes) in SOURCE:
DO I=1,SIZE(CHANNEL_NODES)
DO IPLAN = NPLAN-33,NPLAN-30
I3D = I+NPOIN2*(IPLAN-1)
IF (IPLAN==(NPLAN-33))THEN
AREFU = 1.6546D0
AREFV = 1.9889D0
AREFW = 13.8340D0
ENDIF
IF (IPLAN==(NPLAN-32))THEN
AREFU = 12.0348D0
AREFV = 15.0840D0
AREFW = 77.5191D0
ENDIF
NORM =SQRT(UN3%R(I3D)**2+VN3%R(I3D)**2+WN3%R(I3D)**2)
S1U%R(I3D)=0.5D0*AREFU*CD*NORM
S1V%R(I3D)=0.5D0*AREFV*CD*NORM
S1W%R(I3D)=0.5D0*AREFW*CD*NORM
END DO
END DO
Is this the correct way to do this? Is it possible to have layers only in the channel but not in the floodplain?
Many thanks!