Steady state boundary conditions

class pygaf.bcs.SteadyBC(type=2, head=10.0, flow=0.0, cond=0.0)

Bases: object

Boundary condition for steady state groundwater flow.

The boundary condition can be type 1, 2 or 3 (see the ‘type’ attribute). An exception occurs if any other value is specified for type. The default SteadyBC object is a type 2 boundary condition with flow=0.0, which is equivalent to a no-flow boundary. The default type 1 Boundary has head=10.0 (same as the default head of all Aquifer classes). The default type 3 boundary condition has head=10.0 and cond=0.0, which is equivalent to a no-flow condition.

Note a utilities function is available to calculate conductance values

type

Boundary condition type; choices are type=1 (Dirichlet, first-type or constant head), type=2 (Neumann, second-type or constant flow) or type=3 (Cauchy or general head).

Type:

int

head

Value of head at the boundary for type 1 and value of

Type:

float

external head for type 2
Type:

units L, default 10.0

flow

value of normal flow at boundary for type 2 (units L/T, default 0.0).

Type:

float

cond

Value of conductance for type 3 (units L2/T, default 0.0).

Type:

float

info()

Print the solution information.

property type

Boundary condition type.

Setter method checks for valid values and triggers an exception if invalid values are specified.

Type:

int

property value

Boundary condition value(s).

Type:

dic