OGS
flow_fully_saturated.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>square_1x1_quad8_1e2.vtu</mesh>
    <mesh>square_1x1_quad8_1e2_bottom.vtu</mesh>
    <mesh>square_1x1_quad8_1e2_left.vtu</mesh>
    <mesh>square_1x1_quad8_1e2_right.vtu</mesh>
    <mesh>square_1x1_quad8_1e2_top.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>TH2M</name>
      <type>TH2M</type>
      <integration_order>3</integration_order>
      <constitutive_relation>
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E</youngs_modulus>
        <poissons_ratio>nu</poissons_ratio>
      </constitutive_relation>
      <jacobian_assembler>
        <type>CentralDifferences</type>
        <component_magnitudes>1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0</component_magnitudes>
        <relative_epsilons>1e-03 1e-03 1e-03 1e-03 1e-03 1e-03 1e-03 1e-03 1e-06 1e-06 1e-06 1e-06 1e-08 1e-08 1e-08 1e-08 1e-08 1e-08 1e-08 1e-08 1e-08 1e-08 1e-08 1e-08 1e-08 1e-08 1e-08 1e-08</relative_epsilons>
      </jacobian_assembler>
      <reference_temperature>temperature_outside</reference_temperature>
      <process_variables>
        <gas_pressure>gas_pressure</gas_pressure>
        <capillary_pressure>capillary_pressure</capillary_pressure>
        <temperature>temperature</temperature>
        <displacement>displacement</displacement>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="velocity_gas" output_name="velocity_gas" />
        <secondary_variable internal_name="velocity_liquid" output_name="velocity_liquid" />
        <secondary_variable internal_name="sigma" output_name="sigma" />
        <secondary_variable internal_name="epsilon" output_name="epsilon" />
        <secondary_variable internal_name="liquid_density" output_name="liquid_density" />
        <secondary_variable internal_name="gas_density" output_name="gas_density" />
        <secondary_variable internal_name="porosity" output_name="porosity" />
        <secondary_variable internal_name="saturation" output_name="saturation" />
      </secondary_variables>
      <specific_body_force>0 0</specific_body_force>
    </process>
  </processes>
  <media>
    <medium>
      <phases>
        <phase>
          <type>Gas</type>
          <properties>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1e-9</value>
            </property>
            <property>
              <name>density</name>
              <type>Linear</type>
              <reference_value>1</reference_value>
              <independent_variable>
                <variable_name>gas_phase_pressure</variable_name>
                <reference_condition>0</reference_condition>
                <slope>1e-100</slope>
              </independent_variable>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>1</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>1</value>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>0</value>
            </property>
            <property>
              <name>molar_mass</name>
              <type>Constant</type>
              <value>0.02</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1e-9</value>
            </property>
            <property>
              <name>density</name>
              <type>Linear</type>
              <reference_value>1</reference_value>
              <independent_variable>
                <variable_name>liquid_phase_pressure</variable_name>
                <reference_condition>0</reference_condition>
                <slope>1e-100</slope>
              </independent_variable>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>1</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>1</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>1</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>1</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>1</value>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>0</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>1</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.1</value>
        </property>
        <property>
          <name>storage</name>
          <type>Constant</type>
          <value>1e+300</value>
        </property>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1e-12</value>
        </property>
        <property>
          <name>saturation</name>
          <type>Constant</type>
          <value>1</value>
        </property>
        <property>
          <name>relative_permeability</name>
          <type>Constant</type>
          <value>1</value>
        </property>
        <property>
          <name>bishops_effective_stress</name>
          <type>BishopsPowerLaw</type>
          <exponent>1</exponent>
        </property>
        <property>
          <name>relative_permeability_nonwetting_phase</name>
          <type>Constant</type>
          <value>1</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>EffectiveThermalConductivityPorosityMixing</type>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="TH2M">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstols>1e-14 1e-14 1e-14 1e-14 1e-14</abstols>
          <reltols>1e-14 1e-14 1e-14 1e-14 1e-14</reltols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>2</t_end>
          <timesteps>
            <pair>
              <repeat>2</repeat>
              <delta_t>1</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>flow_fully_saturated</prefix>
      <timesteps>
        <pair>
          <repeat>10000</repeat>
          <each_steps>1</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>gas_pressure</variable>
        <variable>gas_pressure_interpolated</variable>
        <variable>capillary_pressure</variable>
        <variable>capillary_pressure_interpolated</variable>
        <variable>temperature</variable>
        <variable>temperature_interpolated</variable>
        <variable>displacement</variable>
        <variable>sigma</variable>
        <variable>epsilon</variable>
        <variable>velocity_gas</variable>
        <variable>velocity_liquid</variable>
        <variable>liquid_density</variable>
        <variable>gas_density</variable>
        <variable>porosity</variable>
        <variable>saturation</variable>
        <variable>GasMassFlowRate</variable>
        <variable>HeatFlowRate</variable>
        <variable>LiquidMassFlowRate</variable>
        <variable>NodalForces</variable>
        <variable>liquid_pressure_interpolated</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>1e10</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>.3</value>
    </parameter>
    <parameter>
      <name>mu</name>
      <type>Constant</type>
      <value>1e-9</value>
    </parameter>
    <parameter>
      <name>temperature_outside</name>
      <type>Constant</type>
      <values>298.15</values>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>gas_pressure_ic</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
    <parameter>
      <name>capillary_pressure_ic</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
    <parameter>
      <name>dirichlet0</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>dirichlet-1</name>
      <type>Constant</type>
      <value>-1</value>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>2</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>square_1x1_quad8_1e2_left</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>square_1x1_quad8_1e2_right</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>square_1x1_quad8_1e2_bottom</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>square_1x1_quad8_1e2_top</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>gas_pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>gas_pressure_ic</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>square_1x1_quad8_1e2_left</mesh>
          <type>Dirichlet</type>
          <parameter>gas_pressure_ic</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>square_1x1_quad8_1e2_right</mesh>
          <type>Dirichlet</type>
          <parameter>gas_pressure_ic</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>capillary_pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>capillary_pressure_ic</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>square_1x1_quad8_1e2_left</mesh>
          <type>Dirichlet</type>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>square_1x1_quad8_1e2_right</mesh>
          <type>Dirichlet</type>
          <parameter>dirichlet-1</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>temperature</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>temperature_outside</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>square_1x1_quad8_1e2_left</mesh>
          <type>Dirichlet</type>
          <parameter>temperature_outside</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>square_1x1_quad8_1e2_right</mesh>
          <type>Dirichlet</type>
          <parameter>temperature_outside</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_newton</name>
      <type>Newton</type>
      <max_iter>50</max_iter>
      <linear_solver>general_linear_solver</linear_solver>
    </nonlinear_solver>
  </nonlinear_solvers>
  <linear_solvers>
    <linear_solver>
      <name>general_linear_solver</name>
      <eigen>
        <solver_type>SparseLU</solver_type>
        <scaling>true</scaling>
      </eigen>
    </linear_solver>
  </linear_solvers>
  <test_definition>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>displacement</field>
      <absolute_tolerance>2e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>sigma</field>
      <absolute_tolerance>1e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>epsilon</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>capillary_pressure</field>
      <absolute_tolerance>2e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>gas_pressure</field>
      <absolute_tolerance>2e-15</absolute_tolerance>
      <relative_tolerance>2e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>liquid_pressure_interpolated</field>
      <absolute_tolerance>2e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>velocity_gas</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>velocity_liquid</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>liquid_density</field>
      <absolute_tolerance>4e-15</absolute_tolerance>
      <relative_tolerance>4e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>gas_density</field>
      <absolute_tolerance>4e-15</absolute_tolerance>
      <relative_tolerance>4e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>temperature</field>
      <absolute_tolerance>1e-12</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>GasMassFlowRate</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>LiquidMassFlowRate</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>HeatFlowRate</field>
      <absolute_tolerance>4e-13</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>flow_fully_saturated_ts_.*.vtu</regex>
      <field>NodalForces</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>