flow123d_version: 4.0.0a01
problem: !Coupling_Sequential
  description: Test of boundary conditions for transport
  mesh:
    mesh_file: ../00_mesh/square_1x1_str.msh
  flow_equation: !Flow_Darcy_LMH
    nonlinear_solver:
      linear_solver: !Petsc
        a_tol: 1.0e-15    # 1.0e-12
        r_tol: 1.0e-15    # 1.0e-12
    input_fields:
      - region: .BOUNDARY
        bc_type: dirichlet
        bc_pressure: !FieldFormula
          value: (X[0]-0.5)*X[1]
    output:
      fields:
        - pressure_p0
        - velocity_p0
    output_stream:
      file: ./flow.pvd
      format: !vtk
        variant: ascii
  solute_equation: !Coupling_OperatorSplitting
    transport: !Solute_Advection_FV
      input_fields:
        - region: .right
          bc_conc: 1
        - region: .bottom
          bc_conc: 2
        - region: .top
          bc_conc: 3
    output_stream:
      file: ./transport.pvd
      format: !vtk
        variant: ascii
      times:
        - 0
        - 0.25
        - 0.5
        - 1
        - 2
        - 10
    substances:
      - tracer
    time:
      end_time: 10
    balance:
      cumulative: true
