Anasol.jl
Anasol.jl provides a series of analytical solutions for groundwater contaminant transport in 1, 2, and 3 dimensions.
The analytical solutions can have:
- different source types
- instantaneous contaminant release
- continuous contaminant release with a unit flux
- continuous contaminant release with a given constant flux
- different source shapes
- constrained (within predefined limits)
- distributed (assuming normal distribution)
- different dispersion models
- classical (Fickian)
- fractional Brownian
- different boundaries along each axis
- infinite (no boundary)
- reflecting
- absorbing
Anasol.jl functions have the following arguments:
t
: time to compute the concentrationx
: spatial coordinates of the point to compute the concentrationx01
/x02
/x03
: contaminant source coordinatessigma01
/sigma02
/sigma01
: contaminant source sizes (if a constrained source) or standard deviations (if a distributed source)sourcestrength
: user-provided function defining time-dependent source strengtht0
/t1
: contaminant release times (source is released betweent0
andt1
)v1
/v2
/v3
: groundwater flow velocity componentssigma1
/sigma2
/sigma3
: groundwater flow dispersion componentslambda
: half-life contaminant decayH1
/H2
/H3
: Hurst coefficients in the case of fractional Brownian dispersionxb1
/xb2
/xb3
: locations of the domain boundaries
Anasol.jl functions:
Anasol.documentationoff
— MethodDo not make documentation
Methods:
Anasol.documentationoff()
:/home/travis/.julia/packages/Anasol/B3nl1/src/Anasol.jl:234
Anasol.documentationon
— MethodMake documentation
Methods:
Anasol.documentationon()
:/home/travis/.julia/packages/Anasol/B3nl1/src/Anasol.jl:225
Anasol.@code
— Macrocode
the code macro is used to put a line of code (or a quote) onto the growing gen_code function.
Anasol.@gen_code
— Macrogen_code
rejigs the standard julia @generate
macro so that it creates a code
expression variable that can be extended using the @code
macro. At the end of the function it automatically outputs the result.