OGS
mockup.prj
<OpenGeoSysProject>
  <meshes>
    <mesh axially_symmetric="true">mockup_domain.vtu</mesh>
    <mesh axially_symmetric="true">mockup_b_Bottom.vtu</mesh>
    <mesh axially_symmetric="true">mockup_b_Right.vtu</mesh>
    <mesh axially_symmetric="true">mockup_b_Left.vtu</mesh>
    <mesh axially_symmetric="true">mockup_b_Heater.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>mockup2D</name>
      <type>THERMO_RICHARDS_MECHANICS</type>
      <mass_lumping>true</mass_lumping>
      <integration_order>2</integration_order>
      <constitutive_relation>
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E</youngs_modulus>
        <poissons_ratio>nu</poissons_ratio>
      </constitutive_relation>
      <process_variables>
        <temperature>temperature</temperature>
        <pressure>pressure</pressure>
        <displacement>displacement</displacement>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="sigma" output_name="sigma" />
        <secondary_variable internal_name="epsilon" output_name="epsilon" />
        <secondary_variable internal_name="saturation" output_name="saturation" />
        <secondary_variable internal_name="swelling_stress" output_name="swelling_stress" />
        <secondary_variable internal_name="porosity" output_name="porosity" />
        <secondary_variable internal_name="intrinsic_permeability" output_name="intrinsic_permeability" />
        <secondary_variable internal_name="relative_permeability" output_name="relative_permeability" />
      </secondary_variables>
      <specific_body_force>0 0</specific_body_force>
    </process>
  </processes>
  <media>
    <medium id="0">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4180</value>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.009e-3</value>
            </property>
            <property>
              <name>density</name>
              <type>Linear</type>
              <reference_value>1.e3</reference_value>
              <independent_variable>
                <variable_name>liquid_phase_pressure</variable_name>
                <reference_condition>0</reference_condition>
                <slope>1.e-10</slope>
              </independent_variable>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>4.0e-4</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2660</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>800</value>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>3.0e-6</value>
            </property>
            <property>
              <name>swelling_stress_rate</name>
              <type>SaturationDependentSwelling</type>
              <swelling_pressures>4.3e6 4.3e6 4.3e6</swelling_pressures>
              <exponents>1 1 1</exponents>
              <lower_saturation_limit>0.1</lower_saturation_limit>
              <upper_saturation_limit>1.0</upper_saturation_limit>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Gas</type>
          <properties>
            <property>
              <name>density</name>
              <type>WaterVapourDensity</type>
            </property>
            <property>
              <name>diffusion</name>
              <type>VapourDiffusionFEBEX</type>
            </property>
            <property>
              <name>thermal_diffusion_enhancement_factor</name>
              <type>Constant</type>
              <value>1.0</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>0</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>tortuosity</name>
          <type>Constant</type>
          <value>0.1</value>
        </property>
        <property>
          <name>relative_permeability</name>
          <type>RelPermBrooksCorey</type>
          <residual_liquid_saturation>0.1</residual_liquid_saturation>
          <residual_gas_saturation>0.0</residual_gas_saturation>
          <lambda>2</lambda>
          <min_relative_permeability>0.0</min_relative_permeability>
        </property>
        <property>
          <name>saturation</name>
          <type>SaturationVanGenuchten</type>
          <residual_liquid_saturation>0.1</residual_liquid_saturation>
          <residual_gas_saturation>0</residual_gas_saturation>
          <exponent>0.3073</exponent>
          <p_b>16.6e06</p_b>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>1</value>
        </property>
        <property>
          <name>transport_porosity</name>
          <type>TransportPorosityFromMassBalance</type>
          <initial_porosity>phi0</initial_porosity>
          <minimal_porosity>0</minimal_porosity>
          <maximal_porosity>1</maximal_porosity>
        </property>
        <property>
          <name>porosity</name>
          <type>PorosityFromMassBalance</type>
          <initial_porosity>phi0</initial_porosity>
          <minimal_porosity>0</minimal_porosity>
          <maximal_porosity>1</maximal_porosity>
        </property>
        <property>
          <name>permeability</name>
          <type>PermeabilityOrthotropicPowerLaw</type>
          <intrinsic_permeabilities>1.0e-21 1.0e-21</intrinsic_permeabilities>
          <exponents>1 1</exponents>
        </property>
        <property>
          <name>bishops_effective_stress</name>
          <type>BishopsSaturationCutoff</type>
          <cutoff_value>1</cutoff_value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>Function</type>
          <value>
            <expression>1.403 * liquid_saturation + 0.097</expression>
          </value>
          <dvalue>
            <variable_name>liquid_saturation</variable_name>
            <expression>1.403</expression>
          </dvalue>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="mockup2D">
        <nonlinear_solver>nonlinear_solver</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstols>1.e-5 1e-3 1e-8 1e-8</abstols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>IterationNumberBasedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>86400000</t_end>
          <initial_dt>86400</initial_dt>
          <minimum_dt>864</minimum_dt>
          <maximum_dt>8640000</maximum_dt>
          <number_iterations>1 5 10 15 20 25 30 35 40 45</number_iterations>
          <multiplier>1.8 1.6 1.4 1.2 1.1 1.05 0.9 0.85 0.8 0.7</multiplier>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>mockup_results</prefix>
      <timesteps>
        <pair>
          <repeat>1</repeat>
          <each_steps>100000000</each_steps>
        </pair>
      </timesteps>
      <output_iteration_results>false</output_iteration_results>
      <variables />
      <fixed_output_times>0 17280000 34560000 51840000 69120000 86400000</fixed_output_times>
      <suffix>_{:time}</suffix>
    </output>
  </time_loop>
  <local_coordinate_system>
    <basis_vector_0>e0</basis_vector_0>
    <basis_vector_1>e1</basis_vector_1>
  </local_coordinate_system>
  <parameters>
    <parameter>
      <name>e0</name>
      <type>Constant</type>
      <values>1 0</values>
    </parameter>
    <parameter>
      <name>e1</name>
      <type>Constant</type>
      <values>0 1</values>
    </parameter>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>100e6</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>0.45</value>
    </parameter>
    <parameter>
      <name>phi0</name>
      <type>Constant</type>
      <values>0.363</values>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>dirichlet0</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
    <parameter>
      <name>p0</name>
      <type>Constant</type>
      <value>-80e6</value>
    </parameter>
    <parameter>
      <name>flow_rate</name>
      <type>Constant</type>
      <value>1</value>
    </parameter>
    <parameter>
      <name>flow_rate_scaled</name>
      <type>CurveScaled</type>
      <curve>timeRamp_flow</curve>
      <parameter>flow_rate</parameter>
    </parameter>
    <parameter>
      <name>T_ref</name>
      <type>Constant</type>
      <value>293.15</value>
    </parameter>
    <parameter>
      <name>temp_source</name>
      <type>Constant</type>
      <value>1</value>
    </parameter>
    <parameter>
      <name>temp_scaled</name>
      <type>CurveScaled</type>
      <curve>timeRamp_temperature</curve>
      <parameter>temp_source</parameter>
    </parameter>
  </parameters>
  <curves>
    <curve>
      <name>timeRamp_temperature</name>
      <coords>0 8640000 13824000 86400000</coords>
      <values>293.15 303.15 363.15 363.15</values>
    </curve>
    <curve>
      <name>timeRamp_flow</name>
      <coords>0 86400000 86400001</coords>
      <values>0. 7.62e-7 0</values>
    </curve>
  </curves>
  <process_variables>
    <process_variable>
      <name>displacement</name>
      <compensate_non_equilibrium_initial_residuum>false</compensate_non_equilibrium_initial_residuum>
      <components>2</components>
      <order>1</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>mockup_b_Left</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>mockup_b_Bottom</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>p0</initial_condition>
      <boundary_conditions />
      <source_terms>
        <source_term>
          <mesh>mockup_b_Right</mesh>
          <type>Volumetric</type>
          <parameter>flow_rate_scaled</parameter>
        </source_term>
      </source_terms>
    </process_variable>
    <process_variable>
      <name>temperature</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>T_ref</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>mockup_b_Heater</mesh>
          <type>Dirichlet</type>
          <parameter>temp_scaled</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>nonlinear_solver</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>
      </eigen>
    </linear_solver>
  </linear_solvers>
  <test_definition>
    <vtkdiff>
      <regex>mockup_results_[0-9].*[.]vtu</regex>
      <field>displacement</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>mockup_results_[0-9].*[.]vtu</regex>
      <field>epsilon</field>
      <absolute_tolerance>3e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>mockup_results_[0-9].*[.]vtu</regex>
      <field>porosity</field>
      <absolute_tolerance>3e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>mockup_results_[0-9].*[.]vtu</regex>
      <field>pressure</field>
      <absolute_tolerance>8.3e-6</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>mockup_results_[0-9].*[.]vtu</regex>
      <field>saturation</field>
      <absolute_tolerance>5e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>mockup_results_[0-9].*[.]vtu</regex>
      <field>sigma</field>
      <absolute_tolerance>1.5e-6</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>mockup_results_[0-9].*[.]vtu</regex>
      <field>swelling_stress</field>
      <absolute_tolerance>3e-7</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>mockup_results_[0-9].*[.]vtu</regex>
      <field>temperature</field>
      <absolute_tolerance>5e-12</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>mockup_results_[0-9].*[.]vtu</regex>
      <field>intrinsic_permeability</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>mockup_results_[0-9].*[.]vtu</regex>
      <field>relative_permeability</field>
      <absolute_tolerance>1.0e-13</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>mockup_results_[0-9].*[.]vtu</regex>
      <field>intrinsic_permeability_ip</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>mockup_results_[0-9].*[.]vtu</regex>
      <field>relative_permeability_ip</field>
      <absolute_tolerance>9.1e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>