#################
# Test goal: Test of generic fields.
# Author: David Flanderka
# Source for reference:
#   - check fields 'region_id' and 'subdomain' in Paraview
#   - depends only on mesh: two regions (id=1: "1d"), (id=4: "2d")
#   - 'subdomain' - decomposition when running parallel (-> running on 2p)

flow123d_version: 4.0.0a01
problem: !Coupling_Sequential
  description: Output of generic fields - region_id and subdomain
  mesh:
    mesh_file: ../00_mesh/rectangle_12.8x8_frac.msh
  flow_equation: !Flow_Darcy_LMH
    input_fields:
      - region: .BOUNDARY
        bc_type: dirichlet
        bc_piezo_head: 0
      - region: BULK
        conductivity: 1
    output:
      fields:
        - region_id
        - subdomain
    output_stream:
      file: ./test13.pvd
