GMS:LMG Package: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Tag: Manual revert
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The LMG1 package is only supported in GMS versions prior to 8.0. The LMG1 Package information can be found [[GMS:LMG1_Package|here]].
{{MODFLOW Links}}
[[File:MODFLOW-LMG.jpg|thumb|320 px|The MODFLOW ''LINK-AMG (LMG) Package'' dialog.]]
The MODFLOW Link-AMG (Algebraic Multi-Grid), or LMG (Link Multi-Grid), package solver is an interface linking the SAMG (Systems Algebraic Multi-Grid) library to MODFLOW. The LMG3 package offers some improvements over the LMG1 package for certain types of problems, and is backward compatible with LMG1 input files. For non-linear problems and simulations which use several time steps, subsequent matrices to be solved for often change only slightly in their algebraic properties. In these cases the LMG3 solver can accelerate the overall simulation run enormously. Using SAMG the user can run a specific GMS MODFLOW executable (mf2k5_..._parallel.exe) with parallel processing on a single machine (though not across multiple machines on a network).


{{MODFLOW Links}}
The [[GMS:LMG1_Package|LMG1 package]] is only supported in GMS versions prior to 8.0.
[[File:MODFLOW-LMG.jpg|thumb|300 px|The MODFLOW ''LINK-AMG (LMG) Package'' dialog.]]
 
LMG3 package offers some improvements over the LMG1 package for certain types of problems. The LMG3 package is backward compatible with LMG1 input files. For non-linear problems and simulations which use several time steps, subsequent matrices to be solved for often change only slightly in their algebraic properties. In this case the LMG3 offers a possibility to accelerate the overall simulation time enormously.
; MXITER. Maximum outer iterations : This value is the maximum iterations, or calls to the solver.  For linear problems, this value can be 2. For non linear problems, this values should be larger, but generally less than 50.
 
; MXCYC. Maximum inner iterations : This value is the maximum number of iterations per call to the solver.  The default value is 50, and this is sufficient for most problems.
 
; RCLOSE. Inner iteration closure criterion : Same as RCLOSE for the GMG solver package. The PCG algorithm computes the l2norm of the residual and compares it against RCLOSE.
In LMG1 this was called budget closure criterion. When the scaled norm of the matrix equations is less than this value then the solver iteration stops.


===MXITER. Maximum outer iterations===
; HCLOSE. Outer iteration closure criterion : Head change convergence criterion for nonlinear problems. After each linear solve (inner iteration), the maximum norm of the head change is compared against HCLOSE.
This value is the maximum iterations, or calls to the solver.  For linear problems, this value can be 2. For non linear problems, this values should be larger, but generally less than 50.


===MXCYC. Maximum inner iterations===
; CONTROL. LMG version to use : This variable allows the user to select either LMG1 or LMG2 version of the LMG solver.
This value is the maximum number of iterations per call to the solver.  The default value is 50, and this is sufficient for most problems.


===RCLOSE. Inner iteration closure criterion===
; Damping method : Three different damping methods are available: constant, Adaptive damping using the Cooley method, or Adaptive RRR damping using the relative reduced residual. Refer to the official package documentation for more explanation on the different damping methods.
Same as RCLOSE for the GMG solver package. The PCG algorithm computes the l2norm of the residual and compares it against RCLOSE.
In LMG1 this was called Budget Closure Criterion. When the scaled norm of the matrix equations is less than this value then the solver iteration stops.


===HCLOSE. Outer iteration closure criterion===
; DAMP. Acceleration Parameter : This value is used if the acceleration method is set to constant. Usually, this value is 1.0, but for some problems lower values may help achieve convergence.
Head change convergence criterion for nonlinear problems. After each linear solve (inner iteration), the maximum norm of the head change is compared against HCLOSE.


===CONTROL. LMG version to use===
; DUP. Max Acceleration : This is the maximum damping value when using the adaptive damping with relative reduced residual.
This variable allows the user to select either LMG1 or LMG2 version of the LMG solver.


===Damping method===
; DLOW. Min Acceleration : This is the minimum damping value when using the adaptive damping with relative reduced residual.
Three different damping methods are available: constant, Adaptive damping using the Cooley method, or Adaptive RRR damping using the relative reduced residual. Refer to the official package documentation for more explanation on the different damping methods.


===DAMP. Accleration Parameter===
; Conjugate Gradient : Controls whether the conjugate gradient method is used to accelerate the solver. By default this option is on.
This value is used if the acceleration method is set to constant. Usually, this value is 1.0, but for some problems lower values may help achieve convergence.


===DUP. Max Acceleration===
; Stor1, Stor2, Stor3 : These values are ignored in LMG2. In LMG1, these variables are used to control the amount of memory storage used by the solver. The defaults rarely need to be changed.
This is the max damping value when using the adaptive damping with relative reduced residual.


===DLOW. Min Acceleration===
; IOUTAMG. Output control : This controls the information printed to the SAMG output file while the solver is running. It has four options, Print level 0, 1, 2, and 3.
This is the min damping value when using the adaptive damping with relative reduced residual.


===Conjugate Gradient===
; Reset : This button will change all options to the default state.
Controls whether the conjugate gradient method is used to accelerate the solver. By default this option is on.


===Stor1, Stor2, Stor3===
==External Links==
These values are ignored in LMG2. In LMG1, these variables are used to control the amount of memory storage used by the solver. The defaults rarely need to be changed.


===IOUTAMG. Output control===
* LMG/SAMG Manual for MODFLOW-2000[https://water.usgs.gov/nrp/gwsoftware/modflow2000/ofr01-177.pdf]
This controls the information printed to the samg output file while the solver is running.
* MODFLOW-2005 LMG/SAMG Page [http://water.usgs.gov/ogw/modflow/MODFLOW-2005-Guide/index.html?lmg.htm]
* Additional information [http://novametrixgm.com/help/vmod-flex/index.html?vm_solvers_samg.htm]


===Reset===
This button will change all options to the default state.


{{Navbox GMS}}
{{Navbox GMS}}
[[Category:MODFLOW]]
[[Category:MODFLOW]]
[[Category:MODFLOW Packages]]
[[Category:MODFLOW Packages]]
[[Category:MODFLOW Dialogs]]

Latest revision as of 19:30, 6 March 2023

MODFLOW
Pre-processing
MODFLOW Commands
Building a MODFLOW Model
Map to MODFLOW
Calibration
Packages Supported in GMS
Saving a MODFLOW Simulation
Importing MODFLOW Files
Unsupported MODFLOW Features
Run MODFLOW
Post-processing
MODFLOW Display Options
MODFLOW Post-Processing Viewing Options
Reading a MODFLOW Simulation
Tutorials
Packages
Flow: BCF6, HUF, LPF, UPW
Solvers:

DE4, GMG, NWT, PCG,

PCGN, LMG, SIP, SOR,

SMS
Other:

BAS6, BFH, CHD1, CLN,

DRN1, DRT1, EVT1, ETS1,

GAGE, GHB1, GNC, HFB1,

HUF, LAK3, MNW1, MNW2,

OUT1, RCH1, RIV1, SFR2,

STR1, SUB1, SWI2, WEL1,

UZF1

The MODFLOW LINK-AMG (LMG) Package dialog.

The MODFLOW Link-AMG (Algebraic Multi-Grid), or LMG (Link Multi-Grid), package solver is an interface linking the SAMG (Systems Algebraic Multi-Grid) library to MODFLOW. The LMG3 package offers some improvements over the LMG1 package for certain types of problems, and is backward compatible with LMG1 input files. For non-linear problems and simulations which use several time steps, subsequent matrices to be solved for often change only slightly in their algebraic properties. In these cases the LMG3 solver can accelerate the overall simulation run enormously. Using SAMG the user can run a specific GMS MODFLOW executable (mf2k5_..._parallel.exe) with parallel processing on a single machine (though not across multiple machines on a network).

The LMG1 package is only supported in GMS versions prior to 8.0.

MXITER. Maximum outer iterations
This value is the maximum iterations, or calls to the solver. For linear problems, this value can be 2. For non linear problems, this values should be larger, but generally less than 50.
MXCYC. Maximum inner iterations
This value is the maximum number of iterations per call to the solver. The default value is 50, and this is sufficient for most problems.
RCLOSE. Inner iteration closure criterion
Same as RCLOSE for the GMG solver package. The PCG algorithm computes the l2norm of the residual and compares it against RCLOSE.

In LMG1 this was called budget closure criterion. When the scaled norm of the matrix equations is less than this value then the solver iteration stops.

HCLOSE. Outer iteration closure criterion
Head change convergence criterion for nonlinear problems. After each linear solve (inner iteration), the maximum norm of the head change is compared against HCLOSE.
CONTROL. LMG version to use
This variable allows the user to select either LMG1 or LMG2 version of the LMG solver.
Damping method
Three different damping methods are available: constant, Adaptive damping using the Cooley method, or Adaptive RRR damping using the relative reduced residual. Refer to the official package documentation for more explanation on the different damping methods.
DAMP. Acceleration Parameter
This value is used if the acceleration method is set to constant. Usually, this value is 1.0, but for some problems lower values may help achieve convergence.
DUP. Max Acceleration
This is the maximum damping value when using the adaptive damping with relative reduced residual.
DLOW. Min Acceleration
This is the minimum damping value when using the adaptive damping with relative reduced residual.
Conjugate Gradient
Controls whether the conjugate gradient method is used to accelerate the solver. By default this option is on.
Stor1, Stor2, Stor3
These values are ignored in LMG2. In LMG1, these variables are used to control the amount of memory storage used by the solver. The defaults rarely need to be changed.
IOUTAMG. Output control
This controls the information printed to the SAMG output file while the solver is running. It has four options, Print level 0, 1, 2, and 3.
Reset
This button will change all options to the default state.

External Links

  • LMG/SAMG Manual for MODFLOW-2000[1]
  • MODFLOW-2005 LMG/SAMG Page [2]
  • Additional information [3]