# Test goal: Darcy flow Dirichlet boundary condition, solved by Lumped Mixed Hybrid method.
# Author: Pavel Exner
# Source for reference:
#   it is the same problem as in test 01_dirichlet
#   analytical solution available: p=x*y, u=-K*(y,x)
#   checked in Paraview

flow123d_version: 4.0.0a01
problem: !Coupling_Sequential
  description: Test05 - Steady flow with Dirichlet/Neumann/Newton boundary condition
  mesh:
    mesh_file: ../00_mesh/square_1x1_xy.msh
  flow_equation: !Flow_Darcy_LMH
    nonlinear_solver:
      linear_solver: !Petsc
        a_tol: 1.0e-07
    input_fields:
      - region: bulk
        anisotropy: 1
      - region: .bottom_y
        bc_type: dirichlet
        bc_pressure: 0
      - region: .right_x
        bc_type: dirichlet
        bc_pressure: !FieldFormula
          value: X[1]
      - region: .top_y
        bc_type: dirichlet
        bc_pressure: !FieldFormula
          value: X[0]
      - region: .left_x
        bc_type: dirichlet
        bc_pressure: 0
    output:
      fields:
        - piezo_head_p0
        - pressure_p0
        - velocity_p0
    output_stream:
      file: ./test05.pvd
      format: !vtk
        variant: ascii
