flow123d_version: 4.0.0a01
problem: !Coupling_Sequential
  description: Test14 - 2D transport with time variable boundary
  mesh:
    mesh_file: ../00_mesh/rectangle_1x0.2_1080el.msh
  flow_equation: !Flow_Darcy_LMH
    nonlinear_solver:
      linear_solver: !Petsc
        a_tol: 1.0e-12
        r_tol: 1.0e-12
    input_fields:
      - region: BULK
        anisotropy: 0.1
      - region: .BOUNDARY
        bc_type: dirichlet
        bc_pressure: !FieldFormula
          value: X[0]
    output:
      fields:
        - pressure_p0
        - velocity_p0
    output_stream:
      file: ./test14.pvd
      format: !vtk
        variant: ascii
  solute_equation: !Coupling_OperatorSplitting
    transport: !Solute_Advection_FV
      input_fields:
        - region: BULK
          init_conc: 0
        - region: .BOUNDARY
          bc_conc: 20
          time: 1
        - region: .BOUNDARY
          bc_conc: 0
          time: 3
        - region: .BOUNDARY
          bc_conc: 40
          time: 6
        - region: .BOUNDARY
          bc_conc: 0
          time: 7
    output_stream:
      file: ./transport.pvd
      format: !vtk
        variant: ascii
      times:
        - step: 1.0
    substances:
      - A
    time:
      end_time: 10.0
    balance:
      cumulative: true
