RE: Normal Flow initial condition not found - Forum - Riverlab
Community header
Forum
- Startpagina
- Elv
- RE: Normal Flow initial condition not found
RE: Normal Flow initial condition not found
Mieke Scherpbier, 4 Jaren geleden aangepast.
Normal Flow initial condition not found
Keen Forecaster Berichten: 2 Aanmelddatum: 3-2-21 Recente berichten
I am using initype=1 to set normal flow conditions but get the warning that "normal flow initial condition not found". From what I can tell, the equilibrium slope does not converge in the solver. I am using constant sediment and water discharge. The downstream boundary condition is water level. Any suggestions to resolve this?
Thanks!
Thanks!
Victor Chavarrias, 4 Jaren geleden aangepast.
RE: Normal Flow initial condition not found
Famous Fortune teller Berichten: 97 Aanmelddatum: 24-4-20 Recente berichten
Hi
I guess you are getting the error in the log-file:
-ATTENTION!!! Normal flow initial condition not found. Maximum relative error
The essence is that the non-linear solver does not find a solution. It is difficult to know what is the problem without the input. What is your input? In general, I would follow the following strategy to find the issue. First, double check that all input make sense. If you are using a lot of size fractions, consider reducing the number of size fractions to make life easier for the solver and see whether it also has a problem in that case. To check that what you want to do is indeed happening under the hood, consider running in debug mode (there is a flag for it). This will allow you to stop the simulation, for instance, in <ini_normalflow_L> before calling <get_equivals_V>. Finally, you can directly call this functions outside Elv to make it even simpler to debug.
V
I guess you are getting the error in the log-file:
-ATTENTION!!! Normal flow initial condition not found. Maximum relative error
The essence is that the non-linear solver does not find a solution. It is difficult to know what is the problem without the input. What is your input? In general, I would follow the following strategy to find the issue. First, double check that all input make sense. If you are using a lot of size fractions, consider reducing the number of size fractions to make life easier for the solver and see whether it also has a problem in that case. To check that what you want to do is indeed happening under the hood, consider running in debug mode (there is a flag for it). This will allow you to stop the simulation, for instance, in <ini_normalflow_L> before calling <get_equivals_V>. Finally, you can directly call this functions outside Elv to make it even simpler to debug.
V