![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|
This module contains the SwfGwfExchangeModule Module. More...
Data Types | |
| type | swfgwfexchangetype |
Functions/Subroutines | |
| subroutine | initialize (this, filename, name, swf_ftype, id, m1_id, m2_id, input_mempath) |
| Initialize SWF GWF exchange. | |
| subroutine | swf_gwf_ac (this, sparse) |
| Add connections. | |
| subroutine | swf_gwf_mc (this, matrix_sln) |
| Map connections. | |
| subroutine | swf_gwf_fc (this, kiter, matrix_sln, rhs_sln, inwtflag) |
| Fill coefficients. | |
| subroutine | swf_gwf_cq (this, icnvg, isuppress_output, isolnid) |
| Calculate flow. | |
| subroutine | swf_gwf_da (this) |
| Deallocate. | |
| subroutine | allocate_scalars (this) |
| Allocate scalars. | |
| subroutine | allocate_arrays (this) |
Allocate array data, using the number of connected nodes nexg. | |
| integer(i4b) function | noder (this, model, cellid, iout) |
| character(len=20) function | cellstr (this, model, cellid, iout) |
| subroutine | swf_gwf_calc_simvals (this) |
| Calculate flow rates for the exchanges and store them in a member array. | |
| real(dp) function | qcalc (this, iexg, hswf, hgwf) |
| Calculate flow. | |
| real(dp) function | get_cond (this, iexg, hswf, hgwf) |
| Calculate conductance. | |
| real(dp) function | get_wetted_perimeter (this, nodeswf, depth) |
| Get wetted perimeter for swf channel model. | |
| subroutine | swf_gwf_add_to_flowja (this) |
| Add exchange flow to each model flowja diagonal position so that residual is calculated correctly. | |
| subroutine | swf_gwf_bd (this, icnvg, isuppress_output, isolnid) |
| Budget. | |
| subroutine | swf_gwf_chd_bd (this) |
| swf-gwf-chd-bd | |
| subroutine | swf_gwf_bdsav (this) |
| Budget save. | |
| subroutine | swf_gwf_ot (this) |
| Output. | |
| subroutine | swf_gwf_save_simvals (this) |
| Save simulated flow observations. | |
| logical(lgp) function | swf_gwf_connects_model (this, model) |
| Should return true when the exchange should be added to the solution where the model resides. | |
This module contains the code for connecting a SWF model with a GWF model. The SwfGwfExchangeType class is a parent to the CHF and OLF models and should not be used directly.
|
private |
| this | instance of exchange object |
Definition at line 390 of file exg-swfgwf.f90.
|
private |
Allocate scalar variables
| this | SwfGwfExchangeType |
Definition at line 364 of file exg-swfgwf.f90.
|
private |
| this | instance of exchange object | |
| [in] | iout | the output file unit |
Definition at line 432 of file exg-swfgwf.f90.


|
private |
Calculate the conductance between the surface water cell and the underlying groundwater cell.
| this | SwfGwfExchangeType | |
| [in] | iexg | exchange number |
| [in] | hswf | surface water model head |
| [in] | hgwf | groundwater model head |
Definition at line 518 of file exg-swfgwf.f90.


|
private |
| this | SwfGwfExchangeType | |
| [in] | nodeswf | node number for surface water model cell |
| [in] | depth | water depth in surface water model cell |
Definition at line 564 of file exg-swfgwf.f90.
| subroutine swfgwfexchangemodule::initialize | ( | class(swfgwfexchangetype) | this, |
| character(len=*), intent(in) | filename, | ||
| character(len=*) | name, | ||
| character(len=*) | swf_ftype, | ||
| integer(i4b), intent(in) | id, | ||
| integer(i4b), intent(in) | m1_id, | ||
| integer(i4b), intent(in) | m2_id, | ||
| character(len=*), intent(in) | input_mempath ) |
| this | SwfGwfExchangeType | |
| [in] | filename | filename for reading |
| name | exchange name | |
| swf_ftype | type of swf model, CHF or OLF | |
| [in] | id | id for the exchange |
| [in] | m1_id | id for model 1 |
| [in] | m2_id | id for model 2 |
Definition at line 96 of file exg-swfgwf.f90.

|
private |
| this | instance of exchange object | |
| [in] | iout | the output file unit |
Definition at line 405 of file exg-swfgwf.f90.


|
private |
Calculate the flow for the specified exchange and node numbers. Flow is positive into the surface water model
| this | SwfGwfExchangeType |
Definition at line 496 of file exg-swfgwf.f90.


|
private |
Override parent exg_ac so that gnc can add connections here.
| this | SwfGwfExchangeType |
Definition at line 178 of file exg-swfgwf.f90.
|
private |
| this | SwfGwfExchangeType |
Definition at line 585 of file exg-swfgwf.f90.
|
private |
Accumulate budget terms
| this | SwfGwfExchangeType |
Definition at line 621 of file exg-swfgwf.f90.

|
private |
Output individual flows to listing file and binary budget files
| this | SwfGwfExchangeType |
Definition at line 726 of file exg-swfgwf.f90.
|
private |
| this | SwfGwfExchangeType |
Definition at line 463 of file exg-swfgwf.f90.
|
private |
Account for flow from an external model into a chd cell
| this | GwfExchangeType |
Definition at line 664 of file exg-swfgwf.f90.
|
private |
| this | the instance of the exchange | |
| [in] | model | the model to which the exchange might hold a connection |
Definition at line 1006 of file exg-swfgwf.f90.
|
private |
Calculate flow between two cells and store in simvals, also set information needed for specific discharge calculation
| this | SwfGwfExchangeType |
Definition at line 309 of file exg-swfgwf.f90.
|
private |
Deallocate memory associated with this object
| this | SwfGwfExchangeType |
Definition at line 331 of file exg-swfgwf.f90.
|
private |
Fill conductance into coefficient matrix. For now assume all connections are vertical and no newton correction is needed.
| this | SwfGwfExchangeType |
Definition at line 224 of file exg-swfgwf.f90.

|
private |
Map the connections in the global matrix
| this | SwfGwfExchangeType |
| matrix_sln | the system matrix |
Definition at line 200 of file exg-swfgwf.f90.
|
private |
Write output
| this | SwfGwfExchangeType |
Definition at line 916 of file exg-swfgwf.f90.
|
private |
Save the simulated flows for each exchange
Definition at line 961 of file exg-swfgwf.f90.
