![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|
Data Types | |
| type | concentrationpointer |
| type | gwfvsctype |
Functions/Subroutines | |
| real(dp) function | calc_visc (ivisc, viscref, dviscdc, cviscref, conc, a2, a3, a4) |
| Generic function to calculate changes in fluid viscosity using a linear formulation. | |
| subroutine, public | vsc_cr (vscobj, name_model, input_mempath, inunit, iout) |
| Create a new package object. | |
| subroutine | vsc_df (this, dis, vsc_input) |
| Define viscosity package options and dimensions. | |
| subroutine | vsc_ar (this, ibound) |
| Allocate and read method for viscosity package. | |
| subroutine | vsc_ar_bnd (this, packobj) |
| Activate viscosity in advanced packages. | |
| subroutine | set_npf_pointers (this) |
| Set pointers to NPF variables. | |
| subroutine | vsc_rp (this) |
| Read new period data in viscosity package. | |
| subroutine | vsc_ad (this) |
| Advance the viscosity package. | |
| subroutine | vsc_ad_bnd (this, packobj, hnew) |
| Advance the boundary packages when viscosity is active. | |
| subroutine | vsc_ad_standard_bnd (packobj, hnew, visc, viscref, locelev, locvisc, locconc, dviscdc, cviscref, ivisc, a2, a3, a4, ctemp) |
| advance ghb, drn and riv while accounting for viscosity | |
| subroutine | vsc_ad_sfr (packobj, visc, viscref, elev, locvisc, locconc, dviscdc, cviscref, ivisc, a2, a3, a4, ctemp) |
| Update sfr-related viscosity ratios. | |
| subroutine | vsc_ad_lak (packobj, visc, viscref, elev, locvisc, locconc, dviscdc, cviscref, ivisc, a2, a3, a4, ctemp) |
| Update lak-related viscosity ratios. | |
| subroutine | vsc_ad_maw (packobj, visc, viscref, elev, locvisc, locconc, dviscdc, cviscref, ivisc, a2, a3, a4, ctemp) |
| Update maw-related viscosity ratios. | |
| real(dp) function | calc_vsc_ratio (viscref, bndvisc) |
| calculate and return the viscosity ratio | |
| real(dp) function | calc_bnd_viscosity (n, locvisc, locconc, viscref, dviscdc, cviscref, ctemp, ivisc, a2, a3, a4, auxvar) |
| Calculate the boundary viscosity. | |
| subroutine | get_visc_ratio (this, n, m, gwhdn, gwhdm, viscratio) |
| Calculate the viscosity ratio. | |
| subroutine | calc_q_visc (this, cellid, viscratio) |
| Account for viscosity in the aquifer hydraulic flow barriers. | |
| subroutine | update_k_with_vsc (this) |
| Appled the viscosity ratio (mu_o/mu) to the hydraulic conductivity. | |
| subroutine | vsc_set_changed_at (this, kper, kstp) |
| Mark K changes as having occurred at (kper, kstp). | |
| subroutine | vsc_ot_dv (this, idvfl) |
| Output viscosity package dependent-variable terms. | |
| subroutine | vsc_da (this) |
| Deallocate viscosity package memory. | |
| subroutine | source_dimensions (this) |
| Source dimensions for package. | |
| subroutine | source_packagedata (this) |
| source packagedata for package | |
| subroutine | set_packagedata (this, input_data) |
| Sets package data instead of reading from file. | |
| subroutine | vsc_calcvisc (this) |
| Calculate fluid viscosity. | |
| subroutine | allocate_scalars (this) |
| Allocate scalars. | |
| subroutine | allocate_arrays (this, nodes) |
| Allocate arrays. | |
| subroutine | source_options (this) |
| Source VSC options. | |
| subroutine | log_options (this, found, viscosityfile) |
| log VSC options | |
| subroutine | set_options (this, input_data) |
| Sets options as opposed to reading them from a file. | |
| subroutine | set_concentration_pointer (this, modelname, conc, icbund, istmpr) |
| Set pointers to concentration(s). | |
|
private |
Allocate and initialize arrays for the VSC package.
Definition at line 1123 of file gwf-vsc.f90.
|
private |
Allocate and initialize scalars for the VSC package. The base model allocate scalars method is also called.
Definition at line 1083 of file gwf-vsc.f90.
|
private |
Return the viscosity of the boundary package using one of the options in the following order of priority:
Definition at line 679 of file gwf-vsc.f90.


|
private |
Will return the viscosity associated with the upgradient node (cell) to the HFB package for adjusting the hydraulic characteristic (hydchr) of the barrier
Definition at line 750 of file gwf-vsc.f90.

| real(dp) function gwfvscmodule::calc_visc | ( | integer(i4b), dimension(:), intent(in) | ivisc, |
| real(dp), intent(in) | viscref, | ||
| real(dp), dimension(:), intent(in) | dviscdc, | ||
| real(dp), dimension(:), intent(in) | cviscref, | ||
| real(dp), dimension(:), intent(in) | conc, | ||
| real(dp), intent(in) | a2, | ||
| real(dp), intent(in) | a3, | ||
| real(dp), intent(in) | a4 ) |
Definition at line 100 of file gwf-vsc.f90.

|
private |
Definition at line 661 of file gwf-vsc.f90.

|
private |
Calculate the viscosity ratio applied to the hydraulic characteristic provided by the user. The viscosity ratio is applicable only when the hydraulic characteristic is specified as positive and will not be applied when the hydchr is negative
Definition at line 724 of file gwf-vsc.f90.
|
private |
Definition at line 1246 of file gwf-vsc.f90.
|
private |
Pass in a gwt model name, concentration array, and ibound, and store a pointer to these in the VSC package so that viscosity can be calculated from them. This routine is called from the gwfgwt exchange in the exg_ar() method.
Definition at line 1341 of file gwf-vsc.f90.
|
private |
Set array and variable pointers from the NPF package for access by VSC.
Definition at line 301 of file gwf-vsc.f90.

|
private |
| [in] | input_data | the input data to be set |
Definition at line 1326 of file gwf-vsc.f90.
|
private |
| this | this vscoancy pkg | |
| [in] | input_data | the input data to be set |
Definition at line 1034 of file gwf-vsc.f90.
|
private |
Definition at line 898 of file gwf-vsc.f90.

|
private |
Definition at line 1160 of file gwf-vsc.f90.

|
private |
Definition at line 925 of file gwf-vsc.f90.

|
private |
This routine called after updating the viscosity values using the latest concentration and/or temperature values. The ratio mu_o/mu, reference viscosity divided by the updated viscosity value, is multiplied by K for each cell.
Definition at line 773 of file gwf-vsc.f90.
|
private |
Advance data in the VSC package. The method sets or advances time series, time array series, and observation data.
Definition at line 358 of file gwf-vsc.f90.
|
private |
Update the conductance values associate with inflow from a boundary when VSC package is active.
Definition at line 371 of file gwf-vsc.f90.

|
private |
When the viscosity package is active, update the viscosity ratio that is applied to the lakebed conductance calculated in the LAK package
Definition at line 556 of file gwf-vsc.f90.


|
private |
When the viscosity package is active, update the viscosity ratio that is applied to the conductance calculated in the MAW package
Definition at line 610 of file gwf-vsc.f90.


|
private |
When the viscosity package is active, update the viscosity ratio that is applied to the hydraulic conductivity specified in the SFR package
Definition at line 502 of file gwf-vsc.f90.


|
private |
Set the viscosity ratio that the package applies to each boundary conductance
Definition at line 462 of file gwf-vsc.f90.


|
private |
Generic method to allocate and read static data for the viscosity package available within the GWF model type.
Definition at line 215 of file gwf-vsc.f90.
|
private |
Viscosity ar_bnd routine to activate viscosity in the advanced packages. This routine is called from gwf_ar() as it moves through each package
Definition at line 233 of file gwf-vsc.f90.
|
private |
Calculates fluid viscosity based on concentration or temperature
Definition at line 1054 of file gwf-vsc.f90.

| subroutine, public gwfvscmodule::vsc_cr | ( | type(gwfvsctype), pointer | vscobj, |
| character(len=*), intent(in) | name_model, | ||
| character(len=*), intent(in) | input_mempath, | ||
| integer(i4b), intent(in) | inunit, | ||
| integer(i4b), intent(in) | iout ) |
Create a new VSC Package object.
Definition at line 142 of file gwf-vsc.f90.

|
private |
Deallocate viscosity package scalars and arrays.
Definition at line 853 of file gwf-vsc.f90.
|
private |
Define viscosity package options and dimensions
| this | this viscosity package | |
| [in] | dis | pointer to discretization |
| [in] | vsc_input | optional vsc input data, otherwise read from file |
Definition at line 168 of file gwf-vsc.f90.
|
private |
Save calculated viscosity array to binary file
Definition at line 814 of file gwf-vsc.f90.
|
private |
Method to read and prepare period data for the VSC package.
Definition at line 325 of file gwf-vsc.f90.

|
private |
Procedure called by VSC code when K updated due to viscosity changes. K values changed at (kper, kstp).
Definition at line 800 of file gwf-vsc.f90.