OGS
A2_heating.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>A2_ts_76_t_2764800.000000.vtu</mesh>
    <mesh>A2_front.vtu</mesh>
    <mesh>A2_back.vtu</mesh>
    <mesh>A2_right.vtu</mesh>
    <mesh>A2_left.vtu</mesh>
    <mesh>A2_top.vtu</mesh>
    <mesh>A2_bottom.vtu</mesh>
    <mesh>A2_tunnel_surface.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>THM</name>
      <type>THERMO_HYDRO_MECHANICS</type>
      <integration_order>3</integration_order>
      <constitutive_relation id="0,1">
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E</youngs_modulus>
        <poissons_ratio>nu</poissons_ratio>
      </constitutive_relation>
      <specific_body_force>0 0 0</specific_body_force>
      <process_variables>
        <displacement>displacement</displacement>
        <pressure>pressure</pressure>
        <temperature>temperature</temperature>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="sigma" output_name="sigma" />
        <secondary_variable internal_name="epsilon" output_name="epsilon" />
        <secondary_variable internal_name="velocity" output_name="velocity" />
        <secondary_variable internal_name="fluid_density" output_name="fluid_density" />
        <secondary_variable internal_name="viscosity" output_name="viscosity" />
      </secondary_variables>
    </process>
  </processes>
  <media>
    <medium id="0,1">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.5e-3</value>
            </property>
            <property>
              <name>density</name>
              <type>Linear</type>
              <reference_value>1200</reference_value>
              <independent_variable>
                <variable_name>temperature</variable_name>
                <reference_condition>298.15</reference_condition>
                <slope>-6.0e-4</slope>
              </independent_variable>
              <independent_variable>
                <variable_name>liquid_phase_pressure</variable_name>
                <reference_condition>4e6</reference_condition>
                <slope>0.5e-9</slope>
              </independent_variable>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4160</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.6</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2533</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>1254.74</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>2.156</value>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>1e-5</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.1</value>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>0.6</value>
        </property>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1e-19</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>EffectiveThermalConductivityPorosityMixing</type>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="THM">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstols>1e-16 1e-16 1e-16 1e-16 1e-16</abstols>
          <reltols>1e-14 1e-14 1e-8 1e-8 1e-8</reltols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>2764800</t_initial>
          <t_end>31536000</t_end>
          <timesteps>
            <pair>
              <repeat>10</repeat>
              <delta_t>2747</delta_t>
            </pair>
            <pair>
              <repeat>10</repeat>
              <delta_t>27470</delta_t>
            </pair>
            <pair>
              <repeat>115</repeat>
              <delta_t>274700</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>A2_heating</prefix>
      <suffix>ts{:timestep}_t_{:time}</suffix>
      <timesteps>
        <pair>
          <repeat>1000</repeat>
          <each_steps>1</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>displacement</variable>
        <variable>pressure</variable>
        <variable>temperature</variable>
        <variable>sigma</variable>
        <variable>stress_avg</variable>
        <variable>epsilon</variable>
        <variable>velocity</variable>
        <variable>fluid_density</variable>
        <variable>fluid_density_avg</variable>
        <variable>viscosity</variable>
        <variable>viscosity_avg</variable>
        <variable>HeatFlowRate</variable>
        <variable>MassFlowRate</variable>
        <variable>NodalForces</variable>
      </variables>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>4000e6</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>0.35</value>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>MeshNode</type>
      <field_name>displacement</field_name>
    </parameter>
    <parameter>
      <name>pressure0</name>
      <type>MeshNode</type>
      <field_name>pressure</field_name>
    </parameter>
    <parameter>
      <name>temperature0</name>
      <type>MeshNode</type>
      <field_name>temperature</field_name>
    </parameter>
    <parameter>
      <name>temperature_outside</name>
      <type>Constant</type>
      <values>298.15</values>
    </parameter>
    <parameter>
      <name>tunnel_heating</name>
      <type>Constant</type>
      <value>375</value>
    </parameter>
    <parameter>
      <name>pressure_tunnel</name>
      <type>Constant</type>
      <values>1e5</values>
    </parameter>
    <parameter>
      <name>pressure_outside</name>
      <type>Constant</type>
      <values>4e6</values>
    </parameter>
    <parameter>
      <name>load_top</name>
      <type>Constant</type>
      <values>-12e6</values>
    </parameter>
    <parameter>
      <name>dirichlet0</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
  </parameters>
  <curves>
    <curve>
      <name>excavation_curve</name>
      <coords>0 0.01 17280 2764800 31536000</coords>
      <values>0 0 0.4 0.4 0.4</values>
    </curve>
  </curves>
  <process_variables>
    <process_variable>
      <name>displacement</name>
      <components>3</components>
      <order>1</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>A2_left</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>A2_back</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>A2_bottom</mesh>
          <type>Dirichlet</type>
          <component>2</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>A2_right</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>A2_front</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>A2_top</mesh>
          <type>Neumann</type>
          <component>2</component>
          <parameter>load_top</parameter>
        </boundary_condition>
      </boundary_conditions>
      <deactivated_subdomains>
        <deactivated_subdomain>
          <time_curve>excavation_curve</time_curve>
          <line_segment>
            <start>0 0 0</start>
            <end>0 0.4 0</end>
          </line_segment>
          <material_ids>1</material_ids>
        </deactivated_subdomain>
      </deactivated_subdomains>
    </process_variable>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>pressure0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>A2_back</mesh>
          <type>Dirichlet</type>
          <parameter>pressure_outside</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>A2_right</mesh>
          <type>Dirichlet</type>
          <parameter>pressure_outside</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>A2_top</mesh>
          <type>Dirichlet</type>
          <parameter>pressure_outside</parameter>
        </boundary_condition>
      </boundary_conditions>
      <deactivated_subdomains>
        <deactivated_subdomain>
          <time_curve>excavation_curve</time_curve>
          <line_segment>
            <start>0 0 0</start>
            <end>0 0.4 0</end>
          </line_segment>
          <material_ids>1</material_ids>
          <boundary_parameter>pressure_tunnel</boundary_parameter>
        </deactivated_subdomain>
      </deactivated_subdomains>
    </process_variable>
    <process_variable>
      <name>temperature</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>temperature0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>A2_back</mesh>
          <type>Dirichlet</type>
          <parameter>temperature_outside</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>A2_right</mesh>
          <type>Dirichlet</type>
          <parameter>temperature_outside</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>A2_top</mesh>
          <type>Dirichlet</type>
          <parameter>temperature_outside</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>A2_tunnel_surface</mesh>
          <type>Neumann</type>
          <parameter>tunnel_heating</parameter>
        </boundary_condition>
      </boundary_conditions>
      <deactivated_subdomains>
        <deactivated_subdomain>
          <time_curve>excavation_curve</time_curve>
          <line_segment>
            <start>0 0 0</start>
            <end>0 0.4 0</end>
          </line_segment>
          <material_ids>1</material_ids>
        </deactivated_subdomain>
      </deactivated_subdomains>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_newton</name>
      <type>Newton</type>
      <max_iter>10</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>A2_heating_ts_.*.vtu</regex>
      <field>displacement</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>A2_heating_ts_.*.vtu</regex>
      <field>epsilon</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>A2_heating_ts_.*.vtu</regex>
      <field>sigma</field>
      <absolute_tolerance>6e-8</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>A2_heating_ts_.*.vtu</regex>
      <field>stress_avg</field>
      <absolute_tolerance>2e-8</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>A2_heating_ts_.*.vtu</regex>
      <field>pressure</field>
      <absolute_tolerance>5e-8</absolute_tolerance>
      <relative_tolerance>2e-14</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>A2_heating_ts_.*.vtu</regex>
      <field>velocity</field>
      <absolute_tolerance>6e-10</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>A2_heating_ts_.*.vtu</regex>
      <field>temperature</field>
      <absolute_tolerance>1e-10</absolute_tolerance>
      <relative_tolerance>1e-13</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>A2_heating_ts_.*.vtu</regex>
      <field>fluid_density</field>
      <absolute_tolerance>3e-12</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>A2_heating_ts_.*.vtu</regex>
      <field>fluid_density_avg</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>A2_heating_ts_.*.vtu</regex>
      <field>viscosity</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>A2_heating_ts_.*.vtu</regex>
      <field>viscosity_avg</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>A2_heating_ts_.*.vtu</regex>
      <field>MassFlowRate</field>
      <absolute_tolerance>5e-13</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>A2_heating_ts_.*.vtu</regex>
      <field>HeatFlowRate</field>
      <absolute_tolerance>5e-13</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>A2_heating_ts_.*.vtu</regex>
      <field>NodalForces</field>
      <absolute_tolerance>9e-10</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>