Skip to content

Commit

Permalink
refactor(misc): improve doc (MODFLOW-USGS#1647)
Browse files Browse the repository at this point in the history
* refactor(misc): improve doc

* improve auto flow reduce description in dfn to indicate it is only for unconfined cells
* mark swf as a dev_feature
* minor name change to tsp list file header

* fprettify
  • Loading branch information
langevin-usgs authored Feb 23, 2024
1 parent 577b14d commit 0950ba8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/mf6io/mf6ivar/dfn/gwf-wel.dfn
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type double precision
reader urword
optional true
longname cell fractional thickness for reduced pumping
description keyword and real value that defines the fraction of the cell thickness used as an interval for smoothly adjusting negative pumping rates to 0 in cells with head values less than or equal to the bottom of the cell. Negative pumping rates are adjusted to 0 or a smaller negative value when the head in the cell is equal to or less than the calculated interval above the cell bottom. AUTO\_FLOW\_REDUCE is set to 0.1 if the specified value is less than or equal to zero. By default, negative pumping rates are not reduced during a simulation.
description keyword and real value that defines the fraction of the cell thickness used as an interval for smoothly adjusting negative pumping rates to 0 in cells with head values less than or equal to the bottom of the cell. Negative pumping rates are adjusted to 0 or a smaller negative value when the head in the cell is equal to or less than the calculated interval above the cell bottom. AUTO\_FLOW\_REDUCE is set to 0.1 if the specified value is less than or equal to zero. By default, negative pumping rates are not reduced during a simulation. This AUTO\_FLOW\_REDUCE option only applies to wells in model cells that are marked as ``convertible'' (ICELLTYPE /= 0) in the Node Property Flow (NPF) input file. Reduction in flow will not occur for wells in cells marked as confined (ICELLTYPE = 0).
mf6internal flowred

block options
Expand Down
2 changes: 1 addition & 1 deletion src/Model/TransportModel/tsp.f90
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ subroutine tsp_cr(this, filename, id, modelname, macronym, indis)
!
! -- create the list file
call this%create_lstfile(lst_fname, filename, found%list, &
'GROUNDWATER TRANSPORT MODEL (GWT)')
'TRANSPORT MODEL ('//trim(macronym)//')')
!
! -- activate save_flows if found
if (found%save_flows) then
Expand Down
6 changes: 4 additions & 2 deletions src/SimulationCreate.f90
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ subroutine models_create()
write (iout, '(4x,2a,i0,a)') trim(model_type), " model ", &
n, " will be created"
call swf_cr(fname, n, model_names(n))
call dev_feature('SWF is still under development, install the &
&nightly build or compile from source with IDEVELOPMODE = 1.')
num_model => GetNumericalModelFromList(basemodellist, im)
model_loc_idx(n) = im
end if
Expand All @@ -321,8 +323,8 @@ subroutine models_create()
write (iout, '(4x,2a,i0,a)') trim(model_type), ' model ', &
n, ' will be created'
call prt_cr(fname, n, model_names(n))
call dev_feature("PRT is still under development, install the' &
&nightly build or compile from source with IDEVELOPMODE = 1.")
call dev_feature('PRT is still under development, install the &
&nightly build or compile from source with IDEVELOPMODE = 1.')
num_model => GetNumericalModelFromList(basemodellist, im)
model_loc_idx(n) = im
case default
Expand Down

0 comments on commit 0950ba8

Please sign in to comment.