pyrtid.forward#

Provide the forward reactive transport model and solver.

Model#

Class storing the data and the parameters fed to the solver.

ForwardModel(grid, time_params, fl_params, ...)

Class representing the reactive transport model.

Model Parameters#

Classes from which a ForwardModel is built.

TimeParameters(duration, dt_init[, dt_min, ...])

Class defining the time parameters used in the simulation.

FlowParameters([permeability, ...])

Class defining the time parameters used in the simulation.

TransportParameters([diffusion, ...])

Class defining the transport parameters used in the simulation.

GeochemicalParameters([conc, conc2, grade, ...])

Class defining the geocgemical parameters used in the simulation.

SourceTerm(name, node_ids, times, flowrates, ...)

Define a source term object.

FlowRegime(value[, names, module, qualname, ...])

VerticalAxis(value[, names, module, ...])

Boundary Conditions#

Available boundary conditions for the flow and the transport.

ConstantHead(span, values)

Represent a constant head condition (Dirichlet).

ConstantConcentration(span, values)

Represent a constant conentration boundary condition (Dirichlet).

ZeroConcGradient(span)

Represent a zero conentration gradient boundary condition (Neumann).

Solver#

Class responsible to solve the reactive-transport problem. It does not hold any data and performs the calculation on a ForwardModel.

ForwardSolver(model)

Class solving the reactive transport forward systems.

get_max_coupling_error(current_arr, prev_arr)

solve_flow_stationary(grid, fl_model, ...)

Solving the diffusivity equation:

solve_flow_transient_semi_implicit(grid, ...)

Solving the diffusivity equation:

solve_transport_semi_implicit(grid, ...)

Compute the transport of the mobile concentrations.

solve_geochem_explicit(tr_model, gch_params, ...)

Compute the mineral dissolution.

solve_geochem_implicit(grid, tr_model, ...)

Compute the mineral dissolution.

Functions#

Some useful functions

get_owner_neigh_indices(grid, span_owner, ...)

_summary_