OGS
2D_single_fracture_HT.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>2D_single_fracture.vtu</mesh>
    <mesh>fracture_outflow.vtu</mesh>
    <mesh>fracture_injection.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>HeatTransportLowerDimensionalFracture</name>
      <type>HT</type>
      <integration_order>2</integration_order>
      <process_variables>
        <temperature>temperature</temperature>
        <pressure>pressure</pressure>
      </process_variables>
      <specific_body_force>0.0 0.0</specific_body_force>
      <secondary_variables>
        <secondary_variable internal_name="darcy_velocity" output_name="darcy_velocity" />
      </secondary_variables>
      <numerical_stabilization>
        <type>IsotropicDiffusion</type>
        <tuning_parameter>0.15</tuning_parameter>
        <cutoff_velocity>0</cutoff_velocity>
      </numerical_stabilization>
      <aperture_size>
        <parameter>fracture_thickness</parameter>
      </aperture_size>
    </process>
  </processes>
  <media>
    <medium id="0">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4200</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.6</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>1000</value>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.0e-3</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>storage</name>
              <type>Constant</type>
              <value>0.0</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2700</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>3.0</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>1000</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>thermal_longitudinal_dispersivity</name>
          <type>Constant</type>
          <value>0</value>
        </property>
        <property>
          <name>thermal_transversal_dispersivity</name>
          <type>Constant</type>
          <value>0</value>
        </property>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1e-100</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>EffectiveThermalConductivityPorosityMixing</type>
        </property>
      </properties>
    </medium>
    <medium id="1">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4200</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.6</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>1000</value>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.0e-3</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>storage</name>
              <type>Constant</type>
              <value>0.0</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2850</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.0</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>0.0</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>thermal_longitudinal_dispersivity</name>
          <type>Constant</type>
          <value>0</value>
        </property>
        <property>
          <name>thermal_transversal_dispersivity</name>
          <type>Constant</type>
          <value>0</value>
        </property>
        <property>
          <name>permeability</name>
          <type>CubicLawPermeability</type>
          <fracture_aperture>fracture_thickness</fracture_aperture>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>1.0</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>EffectiveThermalConductivityPorosityMixing</type>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="HeatTransportLowerDimensionalFracture">
        <nonlinear_solver>basic_picard</nonlinear_solver>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltol>1e-12</reltol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>3600</t_end>
          <timesteps>
            <pair>
              <repeat>1</repeat>
              <delta_t>600</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>2D_single_fracture_HT</prefix>
      <timesteps>
        <pair>
          <repeat>2</repeat>
          <each_steps>3</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>temperature</variable>
        <variable>pressure</variable>
        <variable>darcy_velocity</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>T0</name>
      <type>Constant</type>
      <value>353.0</value>
    </parameter>
    <parameter>
      <name>P0</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>p_left</name>
      <type>Constant</type>
      <value>972222</value>
    </parameter>
    <parameter>
      <name>p_right</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>T_left</name>
      <type>Constant</type>
      <value>303.</value>
    </parameter>
    <parameter>
      <name>fracture_thickness</name>
      <type>Group</type>
      <group_id_property>MaterialIDs</group_id_property>
      <index_values>
        <index>0</index>
        <value>1</value>
      </index_values>
      <index_values>
        <index>1</index>
        <value>1e-4</value>
      </index_values>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>temperature</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>T0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>fracture_injection</mesh>
          <type>Dirichlet</type>
          <parameter>T_left</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>
        <boundary_condition>
          <mesh>fracture_injection</mesh>
          <type>Dirichlet</type>
          <parameter>p_left</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>fracture_outflow</mesh>
          <type>Dirichlet</type>
          <parameter>p_right</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_picard</name>
      <type>Picard</type>
      <max_iter>500</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>BiCGSTAB</solver_type>
        <precon_type>ILUT</precon_type>
        <max_iteration_step>10000</max_iteration_step>
        <error_tolerance>1e-12</error_tolerance>
      </eigen>
    </linear_solver>
  </linear_solvers>
  <test_definition>
    <vtkdiff>
      <regex>2D_single_fracture_HT_ts_.*_t_.*.vtu</regex>
      <field>temperature</field>
      <absolute_tolerance>1e-4</absolute_tolerance>
      <relative_tolerance>3e-7</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>2D_single_fracture_HT_ts_.*_t_.*.vtu</regex>
      <field>pressure</field>
      <absolute_tolerance>4e-4</absolute_tolerance>
      <relative_tolerance>8e-10</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>2D_single_fracture_HT_ts_.*_t_.*.vtu</regex>
      <field>darcy_velocity</field>
      <absolute_tolerance>2e-7</absolute_tolerance>
      <relative_tolerance>5e-6</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>