Dear JMH,
I am sorry to interrupt you again.
I have tried several ways as the suggestions you provided latst time. they are separately as following,
OK, this is a common problem in long rivers, and a constant elevation is not a solution. here are 4 possibilities:
1) you put a constant depth everywhere and the water will flow down in its correct position during the first time steps (ugly, lots of supercritical flows, but it generally works).
2) BlueKenue and Fudaa allow you to give a not too unrealistic free surface elevation to start the computation.
3) Start from a dry river, except at the entrance, and fill it till reaching a steady state, use this as restart conditions for further computations (it may take time).
4) program yourself a tentative initial free surface in condin.f (see the section allowed for INITIAL CONDITION = 'SPECIAL')
Firstly, I tried the last one, though I can run it successfully, but because I don't know how to define the function for the H%R(I) at the time, then I tried to use other suggestions.
Secondly, I tried the first one, I set a constant depth, the details I did this are: I used the keyword in the cas file,
INITIAL CONDITIONS = 'CONSTANT DEPTH'
INITIAL DEPTH = 0.4
then I set the HUOB and HVOB as 700m3/s (flow in the upstream) in the open boundary file with prescribed Q in the conlim file, is this correct? but the water depth of result file is 0.4 in all the places. am I wrong to do so? then how can I use the 'constant depth'? Attached files is my cas file and cli file.
thirdly, I want to try the third suggestion, but I don't know how to start from a dry river, can you give me more details, I can use the keyword 'STOP IF A STEADY STATE IS REACHED' and set it as YES, then should I use other keywords to start a dry river?
I am really sorry to ask you so much questions, but I really think for several days and don't have ideas for them, any help will be appreciated!
Best regards!
yajuan