JOB 
RESULT_FILE               ${CMAKE_BINARY_DIR}/tests/${CURRENT_TEST}/res.dflw
MODELS_PATH               ${CMAKE_BINARY_DIR}/Units
MODELS_PATH               ${CMAKE_BINARY_DIR}/Solvers
MATERIALS_DATABASE        ${CMAKE_SOURCE_DIR}/Materials.dmdb
EXPORT_FILE               ${CMAKE_BINARY_DIR}/tests/${CURRENT_TEST}/real.res
EXPORT_SIGNIFICANCE_LIMIT 1e-06

SIMULATION_TIME            1000
RELATIVE_TOLERANCE         1e-08
ABSOLUTE_TOLERANCE         1e-08
SAVE_TIME_STEP_HINT        100
SAVE_FLAG_FOR_HOLDUPS      YES
INIT_TIME_WINDOW           0.1
MIN_TIME_WINDOW            1e-09
MAX_TIME_WINDOW            1e+09
MAX_ITERATIONS_NUMBER      500
WINDOW_CHANGE_RATE         1.2
ITERATIONS_UPPER_LIMIT     7
ITERATIONS_LOWER_LIMIT     3
ITERATIONS_UPPER_LIMIT_1ST 100
CONVERGENCE_METHOD         WEGSTEIN
RELAXATION_PARAMETER       0.5
ACCELERATION_LIMIT         -0.5
EXTRAPOLATION_METHOD       LINEAR

COMPOUNDS         "Sand" 
PHASES            "PhaseS" SOLID 
DISTRIBUTION_GRID "GLOBAL" SIZE NUMERIC EQUIDISTANT VOLUME 20 0 500e-9
DISTRIBUTION_GRID "GLOBAL" USER_DEFINED_01 NUMERIC EQUIDISTANT 10 0 0.5

UNIT "Inlet1" "InletFlow" 
UNIT "Inlet2" "InletFlow" 
UNIT "MixerIn" "Mixer3" 
UNIT "Screen1" "Screen" 
UNIT "Screen2" "Screen" 
UNIT "Mill1" "Crusher PBM TM" 
UNIT "MixerCoarse" "Mixer" 
UNIT "Mill2" "Crusher PBM TM" 
UNIT "Outlet" "OutletFlow" 

STREAM "In1" "Inlet1" "InletMaterial" "MixerIn" "In1"
STREAM "In2" "Inlet2" "InletMaterial" "MixerIn" "In2"
STREAM "Milled2" "Mill2" "Output" "MixerIn" "In3"
STREAM "InMix" "MixerIn" "Out" "Screen1" "Input"
STREAM "Coarse1" "Screen1" "Coarse" "Mill1" "Input"
STREAM "Fine1" "Screen1" "Fine" "Screen2" "Input"
STREAM "Coarse2" "Screen2" "Coarse" "MixerCoarse" "In2"
STREAM "Fine2" "Screen2" "Fine" "Outlet" "In"
STREAM "Milled1" "Mill1" "Output" "MixerCoarse" "In1"
STREAM "CoarseMixed" "MixerCoarse" "Out" "Mill2" "Input"

UNIT_PARAMETER "Screen1" "Model" 1
UNIT_PARAMETER "Screen1" "Xcut"  0 0.008
UNIT_PARAMETER "Screen1" "Alpha"  0 5
UNIT_PARAMETER "Screen1" "Beta"  0 0.5
UNIT_PARAMETER "Screen1" "Offset"  0 0.2
UNIT_PARAMETER "Screen1" "Mean"  0 0.001
UNIT_PARAMETER "Screen1" "Deviation"  0 0.0001
UNIT_PARAMETER "Screen2" "Model" 1
UNIT_PARAMETER "Screen2" "Xcut"  0 0.0065
UNIT_PARAMETER "Screen2" "Alpha"  0 5
UNIT_PARAMETER "Screen2" "Beta"  0 0.5
UNIT_PARAMETER "Screen2" "Offset"  0 0.2
UNIT_PARAMETER "Screen2" "Mean"  0 0.001
UNIT_PARAMETER "Screen2" "Deviation"  0 0.0001
UNIT_PARAMETER "Mill1" "Selection" 6
UNIT_PARAMETER "Mill1" "Breakage" 3
UNIT_PARAMETER "Mill1" "S_scale" 1
UNIT_PARAMETER "Mill1" "S1" 5.2e-07
UNIT_PARAMETER "Mill1" "S2" 9.5
UNIT_PARAMETER "Mill1" "S3" 5.2e-07
UNIT_PARAMETER "Mill1" "B1" 0.5
UNIT_PARAMETER "Mill1" "B2" 4.1
UNIT_PARAMETER "Mill1" "B3" 2.5
UNIT_PARAMETER "Mill1" "dt_min" 1
UNIT_PARAMETER "Mill1" "dt_max" 1e+09
UNIT_PARAMETER "Mill1" "Method" 1
UNIT_PARAMETER "Mill2" "Selection" 6
UNIT_PARAMETER "Mill2" "Breakage" 3
UNIT_PARAMETER "Mill2" "S_scale" 1
UNIT_PARAMETER "Mill2" "S1" 6.1e-07
UNIT_PARAMETER "Mill2" "S2" 5.5
UNIT_PARAMETER "Mill2" "S3" 6.1e-07
UNIT_PARAMETER "Mill2" "B1" 0.9
UNIT_PARAMETER "Mill2" "B2" 4.5
UNIT_PARAMETER "Mill2" "B3" 3.2
UNIT_PARAMETER "Mill2" "dt_min" 1
UNIT_PARAMETER "Mill2" "dt_max" 1e+09
UNIT_PARAMETER "Mill2" "Method" 1

HOLDUP_OVERALL      "Inlet1" "InputMaterial" 0 0.1 300 100000
HOLDUP_OVERALL      "Inlet2" "InputMaterial" 0 0.4 300 100000
HOLDUP_OVERALL      "Mill1" "Holdup" 0 200 300 100000
HOLDUP_OVERALL      "Mill2" "Holdup" 0 100 300 100000
HOLDUP_PHASES       "Inlet1" "InputMaterial" 0 1
HOLDUP_PHASES       "Inlet2" "InputMaterial" 0 1
HOLDUP_PHASES       "Mill1" "Holdup" 0 1
HOLDUP_PHASES       "Mill2" "Holdup" 0 1
HOLDUP_COMPOUNDS    "Inlet1" "InputMaterial" SOLID 0 1
HOLDUP_COMPOUNDS    "Inlet2" "InputMaterial" SOLID 0 1
HOLDUP_COMPOUNDS    "Mill1" "Holdup" SOLID 0 1
HOLDUP_COMPOUNDS    "Mill2" "Holdup" SOLID 0 1
HOLDUP_DISTRIBUTION "Inlet1" "InputMaterial" SIZE MIXTURE Q3_DENSITY VOLUME NORMAL 0 2e-7 2e-8
HOLDUP_DISTRIBUTION "Inlet1" "InputMaterial" USER_DEFINED_01 MIXTURE NORMAL 0 0.2 0.04
HOLDUP_DISTRIBUTION "Inlet2" "InputMaterial" SIZE MIXTURE Q3_DENSITY VOLUME NORMAL 0 3.5e-7 3e-8
HOLDUP_DISTRIBUTION "Inlet2" "InputMaterial" USER_DEFINED_01 MIXTURE NORMAL 0 0.4 0.02
HOLDUP_DISTRIBUTION "Mill1" "Holdup" SIZE MIXTURE Q3_DENSITY VOLUME NORMAL 0 2e-7 2e-8
HOLDUP_DISTRIBUTION "Mill1" "Holdup" USER_DEFINED_01 MIXTURE NORMAL 0 0.2 0.04
HOLDUP_DISTRIBUTION "Mill2" "Holdup" SIZE MIXTURE Q3_DENSITY VOLUME NORMAL 0 2e-7 2e-8
HOLDUP_DISTRIBUTION "Mill2" "Holdup" USER_DEFINED_01 MIXTURE NORMAL 0 0.2 0.04

EXPORT_STREAM_MASS          InMix       0 1000
EXPORT_STREAM_DISTRIBUTIONS InMix       0 1000
EXPORT_STREAM_MASS          Coarse1     0 1000
EXPORT_STREAM_DISTRIBUTIONS Coarse1     0 1000
EXPORT_STREAM_MASS          Fine1       0 1000
EXPORT_STREAM_DISTRIBUTIONS Fine1       0 1000
EXPORT_STREAM_MASS          Coarse2     0 1000
EXPORT_STREAM_DISTRIBUTIONS Coarse2     0 1000
EXPORT_STREAM_MASS          Fine2       0 1000
EXPORT_STREAM_DISTRIBUTIONS Fine2       0 1000
EXPORT_STREAM_MASS          Milled1     0 1000
EXPORT_STREAM_DISTRIBUTIONS Milled1     0 1000
EXPORT_STREAM_MASS          CoarseMixed 0 1000
EXPORT_STREAM_DISTRIBUTIONS CoarseMixed 0 1000
EXPORT_STREAM_MASS          Milled2     0 1000
EXPORT_STREAM_DISTRIBUTIONS Milled2     0 1000

EXPORT_HOLDUP_MASS          Mill1 Holdup 0 1000
EXPORT_HOLDUP_DISTRIBUTIONS Mill1 Holdup 0 1000

EXPORT_HOLDUP_MASS          Mill2 Holdup 0 1000
EXPORT_HOLDUP_DISTRIBUTIONS Mill2 Holdup 0 1000
