DNAPLmodel-class: DNAPL distribution and dissolution model

Description Details Slots

Description

This is the structure of a DNAPL model used by DNST to specify the behaviour and dissolution of DNAPLs layer by layer.

Details

Use the DNAPLmodel.check function for a thorough analysis of the DNAPL model, to make sure that it is set up correctly.

Slots

NLAY

integer; number of layers in the DNAPL model

hL

numeric; height of each DNAPL model layer

params

list; a list of input parameters specific to the model

domains

vector of character strings; names of the mass domains, one of which will probably be "plume"; other common examples include "NAPL" (lumped NAPL), "pool", "ganglia", "vapour", "fractureNAPL", ...

domain1

character string; the name of the domain to which the infiltrating DNAPL is sent initially; must feature in domains

mdmax

numeric matrix; with rows representing layers and columns (named) representing domains, layer-by-layer values for the maximum mass in each domain; Inf is permitted and is often used for the plume domain

mdredist

list; elements should be of class Mredistribution; number of elements is arbitrary as each element represents a mass redistribtion process

spill.to

data.frame; one named row for each domain, except for domains with infinite capacity (as in mdmax) in every layer; this data frame redirects mass that exceeds the capacity for a domain in a given layer to a new domain or a new layer. The data frame should have columns:
$domain chr/ factor: domain to which overspilt mass from this domain (in the row.names) should be directed; may be itself if layer != 0; for example excess mass in a "ganglia" domain may spill to the "pool" domain in the same layer, (in which case layer would be 0), or excess mass in a "NAPL" domain may spill to the "NAPL" domain in the underlying layer (in which case layer would be 1)
$layer int: 1 for directing to the layer below; 0 for the same layer or (rarely) -1 for the layer above
optional $domain2 chr/ factor: a second choice domain


CJBarry/DNAPL documentation built on Aug. 2, 2017, 6:28 p.m.