![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|
This module contains the WEL package methods. More...
Data Types | |
| type | weltype |
Functions/Subroutines | |
| subroutine, public | wel_create (packobj, id, ibcnum, inunit, iout, namemodel, pakname, mempath) |
| Create a new package object. | |
| subroutine | wel_da (this) |
| Deallocate package memory. | |
| subroutine | wel_allocate_scalars (this) |
| Allocate scalars. | |
| subroutine | wel_allocate_arrays (this, nodelist, auxvar) |
| Allocate arrays. | |
| subroutine | wel_options (this) |
| Source additional options for package. | |
| subroutine | log_wel_options (this, found) |
| Log WEL specific package options. | |
| subroutine | wel_ck (this) |
| Check WEL period data. | |
| subroutine | wel_cf (this) |
| Formulate the package hcof and rhs terms. | |
| subroutine | reduction_factor (this, i, node, f, dfdh) |
| Factor by which a withdrawal is reduced, and its derivative. | |
| subroutine | wel_fc (this, rhs, ia, idxglo, matrix_sln) |
| Copy hcof and rhs terms into solution. | |
| subroutine | wel_fn (this, rhs, ia, idxglo, matrix_sln) |
| Add Newton-Raphson terms for package into solution. | |
| subroutine | wel_afr_csv_init (this, fname) |
| Initialize the auto flow reduce csv output file. | |
| subroutine | wel_afr_csv_write (this) |
| Write out auto flow reductions only when & where they occur. | |
| subroutine | define_listlabel (this) |
| Define the list label for the package. | |
| logical function | wel_obs_supported (this) |
| Determine if observations are supported. | |
| subroutine | wel_df_obs (this) |
| Define the observation types available in the package. | |
| subroutine | wel_bd_obs (this) |
| Save observations for the package. | |
| real(dp) function | q_mult (this, row) |
| real(dp) function | wel_bound_value (this, col, row) |
| Return a bound value. | |
Variables | |
| character(len=lenftype) | ftype = 'WEL' |
| package ftype | |
| character(len=16) | text = ' WEL' |
| package flow text string | |
This module contains the overridden methods for the standard WEL package. Several methods need to be overridden because of the AUTO_FLOW_REDUCE option. Overridden methods include:
|
private |
Method defined the list label for the WEL package. The list label is the heading that is written to iout when PRINT_INPUT option is used.
| [in,out] | this | WelType object |
Definition at line 660 of file gwf-wel.f90.
|
private |
Definition at line 315 of file gwf-wel.f90.
|
private |
Definition at line 782 of file gwf-wel.f90.
|
private |
The taper length is what the user asked for: the per-well auxiliary value or the package value, a length as given or a fraction of the cell thickness. Without a provider the factor tapers up from the cell bottom over that length and applies to convertible cells only, as it always has. A provider decides for itself how much of the fluid being withdrawn the cell holds and returns the factor directly, so with one a cell can be reduced whatever its cell type.
| [in,out] | this | this WEL instance |
| [in] | i | well number |
| [in] | node | reduced node number |
| [out] | f | factor to apply to the requested rate |
| [out] | dfdh | derivative of the factor with respect to head |
Definition at line 482 of file gwf-wel.f90.

|
private |
| [in,out] | this | WelType object |
Definition at line 607 of file gwf-wel.f90.

|
private |
| [in,out] | this | WelType object |
Definition at line 627 of file gwf-wel.f90.
|
private |
Allocate and initialize arrays for the WEL package
Definition at line 176 of file gwf-wel.f90.
|
private |
Allocate and initialize scalars for the WEL package. The base model allocate scalars method is also called.
| this | WelType object |
Definition at line 147 of file gwf-wel.f90.
|
private |
Method to save simulated values for the WEL package.
| this | WelType object |
Definition at line 731 of file gwf-wel.f90.
|
private |
Return a bound value associated with an ncolbnd index and row.
Definition at line 804 of file gwf-wel.f90.
|
private |
Formulate the hcof and rhs terms for the WEL package that will be added to the coefficient matrix and right-hand side vector.
| this | WelType object |
Definition at line 443 of file gwf-wel.f90.
|
private |
Verify that the per-well AUTO_FLOW_REDUCE_AUXNAME auxiliary values are within valid bounds. When FLOW_REDUCTION_LENGTH is not specified the value is interpreted as a fraction of the cell thickness and must be between 0 and 1. When FLOW_REDUCTION_LENGTH is specified the value is interpreted as a length above the cell bottom and must be between 0 and the cell thickness. The check runs each stress period because the auxiliary values may change between periods.
| [in,out] | this | WelType object |
Definition at line 377 of file gwf-wel.f90.

| subroutine, public welmodule::wel_create | ( | class(bndtype), pointer | packobj, |
| integer(i4b), intent(in) | id, | ||
| integer(i4b), intent(in) | ibcnum, | ||
| integer(i4b), intent(in) | inunit, | ||
| integer(i4b), intent(in) | iout, | ||
| character(len=*), intent(in) | namemodel, | ||
| character(len=*), intent(in) | pakname, | ||
| character(len=*), intent(in) | mempath ) |
Create a new WEL Package object
| packobj | pointer to default package type | |
| [in] | id | package id |
| [in] | ibcnum | boundary condition number |
| [in] | inunit | unit number of WEL package input file |
| [in] | iout | unit number of model listing file |
| [in] | namemodel | model name |
| [in] | pakname | package name |
| [in] | mempath | input mempath |
Definition at line 81 of file gwf-wel.f90.


|
private |
Deallocate WEL package scalars and arrays.
| this | WelType object |
Definition at line 122 of file gwf-wel.f90.
|
private |
Method to define the observation types available in the WEL package.
| this | WelType object |
Definition at line 705 of file gwf-wel.f90.

|
private |
Add the hcof and rhs terms for the WEL package to the coefficient matrix and right-hand side vector.
| this | WelType object | |
| [in,out] | rhs | right-hand side vector for model |
| [in] | ia | solution CRS row pointers |
| [in] | idxglo | mapping vector for model (local) to solution (global) |
| matrix_sln | solution coefficient matrix |
Definition at line 526 of file gwf-wel.f90.
|
private |
Calculate and add the Newton-Raphson terms for the WEL package to the coefficient matrix and right-hand side vector.
| this | WelType object | |
| [in,out] | rhs | right-hand side vector for model |
| [in] | ia | solution CRS row pointers |
| [in] | idxglo | mapping vector for model (local) to solution (global) |
| matrix_sln | solution coefficient matrix |
Definition at line 564 of file gwf-wel.f90.
|
private |
Function to determine if observations are supported by the WEL package. Observations are supported by the WEL package.
| this | WelType object |
Definition at line 692 of file gwf-wel.f90.


|
private |
Source additional options for WEL package.
| [in,out] | this | WelType object |
Definition at line 201 of file gwf-wel.f90.

|
private |
Definition at line 40 of file gwf-wel.f90.
|
private |
Definition at line 41 of file gwf-wel.f90.