-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Applying River Discharge #551
Comments
I would ask this on claw-users or at least in GeoClaw raise the issue. As such I am going to close this issue. |
Sorry for the late reply. It's true that this should eventually be documented in the docs, and it's something I've been meaning to create an example for in GeoClaw first. I'm going to transfer this issue to GeoClaw to remind me to do so soon. |
I will try to create a small working example soon, but the basic idea is pretty easy to implement: Copy the library file
to your application directory and modify the Makefile to use it, by listing it
See https://www.clawpack.org/makefiles_library.html Then add to your version of src2.f90 the local variables
and some code like the following after the declarations (before the other executable code for the friction source term):
The rectangle [x1rs,x2rs,y1rs,y2rs] should be roughly in the river upstream from where you are modeling, and discharge_cfs should be set to the discharge rate in cubic feet per second. What this does is to add a bit of water everywhere in the specified rectangle in every time step, at the rate specified. If you start doing this at time 0 they you may have to let it run for a while in order for the river to reach a steady state, but with luck it will soon reach a state that looks reasonable. If not, you might have to adjust the discharge, and/or make sure you have good topography data for the river bed far enough upstream from your study area. |
Does anyone know how to apply river discharge (time series or single value) at upstream of a domain? I tried to use set_eta_init.f90, however, the results did not change in comparison with the time I applied no river discharge.
The text was updated successfully, but these errors were encountered: