imod.mf6.AdvectionUpstream#

class imod.mf6.AdvectionUpstream[source]#

The upstream weighting (first order upwind) scheme sets the concentration at the cellface between two adjacent cells equal to the concentration in the cell where the flow comes from. It surpresses oscillations.

__init__()[source]#

Methods

__init__()

add_periodic_auxiliary_variable()

clip_domain([layer, x, y])

Clip a variable along the specified dimensions.

copy()

from_file(path, **kwargs)

Loads an imod mf6 package from a file (currently only netcdf and zarr are supported).

get_auxiliary_variable_names()

isel()

mask(domain)

Mask values outside of domain.

period_data()

render(directory, pkgname, globaltimes, binary)

sel()

to_sparse(arrdict, layer)

Convert from dense arrays to list based input

write(directory, pkgname, globaltimes, binary)

write_binary_griddata(outpath, da, dtype)

write_blockfile(directory, pkgname, ...)

write_netcdf(directory, pkgname[, ...])

Write to netcdf.

write_text_griddata(outpath, da, dtype)