reactingFlow/simpleReactingFlow_zerork.yaml

---
test:
  # a unique test name for this integration tests
  name: simpleReactingFlowZerork
  # create a default assert that compares the log file
  assert: "inputs/reactingFlow/simpleReactingFlow.zerork.txt"

environment:
  title: _simpleReactingFlowZerork
  tagDirectory: false
arguments: 
  dm_plex_separate_marker: ""
timestepper:
  name: theMainTimeStepper
  io:
    interval: 0
  arguments:
    ts_type: rk
    ts_max_time: 0.2
    ts_max_steps: 25
    ts_dt: 1E-6
    ts_adapt_type: none
  domain: !ablate::domain::BoxMesh
    name: simpleBoxField
    faces: [ 10, 10 ]
    lower: [ -0.1, -0.1 ]
    upper: [ .1, .1 ]
    boundary: [ "NONE", "NONE" ]
    simplex: false
    modifiers:
      - !ablate::domain::modifiers::GhostBoundaryCells
      - !ablate::domain::modifiers::DistributeWithGhostCells
    fields:
      - !ablate::finiteVolume::CompressibleFlowFields
        eos: !ablate::eos::zerorkEOS  &eos
          reactionFile: ../mechanisms/gri30.inp
          thermoFile: ../mechanisms/gri30.dat
          options:
            reactorType: ConstantPressure #zerork deafult is constant volume
  initialization:
    - &eulerField
      fieldName: "euler" #for euler all components are in a single field
      field: >-
        1.0,
        sqrt(x*x+y*y) <.05 ? 1498029.067485712: -58970.06564527616,
        0.0,
        0.0
    - &densityYiField
      fieldName: "densityYi" #H2,H,O,O2,OH,H2O,HO2,H2O2,C,CH,CH2,CH2(S),CH3,CH4,CO,CO2,HCO,CH2O,CH2OH,CH3O,CH3OH,C2H,C2H2,C2H3,C2H4,C2H5,C2H6,HCCO,CH2CO,HCCOH,N,NH,NH2,NH3,NNH,NO,NO2,N2O,HNO,CN,HCN,H2CN,HCNN,HCNO,HOCN,HNCO,NCO,N2,AR,C3H7,C3H8,CH2CHO,CH3CHO
      field: 0,0,0,0.2,0,0,0,0,0,0,0,0,0,0.2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.6,0,0,0,0,0
solver: !ablate::finiteVolume::CompressibleFlowSolver
  id: vortexFlowField
  parameters: {}
  transport:
    k: 0.0
    mu: 0.0
  additionalProcesses:
    # add in the reaction processes
    - !ablate::finiteVolume::processes::Chemistry
      eos: *eos
  boundaryConditions:
    - !ablate::finiteVolume::boundaryConditions::EssentialGhost
      boundaryName: "walls"
      labelIds: [1, 2, 3, 4]
      boundaryValue: *eulerField
    - !ablate::finiteVolume::boundaryConditions::EssentialGhost
      boundaryName: "walls"
      labelIds: [1, 2, 3, 4]
      boundaryValue: *densityYiField
  monitors:
    - !ablate::monitors::TimeStepMonitor
  eos: *eos