OGS
Stefan_problem.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>mesh.vtu</mesh>
    <mesh>mesh_left.vtu</mesh>
    <mesh>mesh_right.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>HeatConduction</name>
      <type>THERMO_HYDRO_MECHANICS</type>
      <integration_order>2</integration_order>
      <constitutive_relation>
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E</youngs_modulus>
        <poissons_ratio>nu</poissons_ratio>
      </constitutive_relation>
      <ice_constitutive_relation>
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E_ice</youngs_modulus>
        <poissons_ratio>nu_ice</poissons_ratio>
      </ice_constitutive_relation>
      <process_variables>
        <temperature>temperature</temperature>
        <pressure>pressure</pressure>
        <displacement>displacement</displacement>
      </process_variables>
      <specific_body_force>0 0</specific_body_force>
      <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_variables>
    </process>
  </processes>
  <media>
    <medium>
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.54</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4186</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>FrozenLiquid</type>
          <properties>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>2.37</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>2052</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>900</value>
            </property>
            <property>
              <name>specific_latent_heat</name>
              <type>Constant</type>
              <value>334000</value>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>0</value>
            </property>
            <property>
              <name>phase_change_expansivity</name>
              <type>Constant</type>
              <value>0</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>0</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>0</value>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>0</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>1.0</value>
        </property>
        <property>
          <name>volume_fraction</name>
          <type>TemperatureDependentFraction</type>
          <steepness>5</steepness>
          <characteristic_temperature>273.15</characteristic_temperature>
        </property>
        <property>
          <name>density</name>
          <type>VolumeFractionAverage</type>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>VolumeFractionAverage</type>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>0.0</value>
        </property>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1.e-11</value>
        </property>
      </properties>
    </medium>
  </media>
  <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>E_ice</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>nu_ice</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>T0</name>
      <type>Constant</type>
      <value>272.25</value>
    </parameter>
    <parameter>
      <name>TB</name>
      <type>Constant</type>
      <value>373.15</value>
    </parameter>
    <parameter>
      <name>U0</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>zero</name>
      <type>Constant</type>
      <value>0</value>
    </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>mesh_right</mesh>
          <type>Dirichlet</type>
          <parameter>T0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>mesh_left</mesh>
          <type>Dirichlet</type>
          <parameter>TB</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>zero</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>mesh</mesh>
          <type>Dirichlet</type>
          <parameter>zero</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>1</order>
      <initial_condition>U0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>mesh</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>zero</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>mesh</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>zero</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <time_loop>
    <processes>
      <process ref="HeatConduction">
        <nonlinear_solver>NLS</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentResidual</type>
          <norm_type>NORM2</norm_type>
          <abstols>1e-10 1e-16 1e-16 1e-16</abstols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>427000000</t_end>
          <timesteps>
            <pair>
              <repeat>427</repeat>
              <delta_t>1e6</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>Stefan_problem</prefix>
      <timesteps>
        <pair>
          <repeat>10000</repeat>
          <each_steps>1</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>temperature</variable>
        <variable>heat_flux</variable>
        <variable>HeatFlowRate</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>NLS</name>
      <type>Newton</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>SparseLU</solver_type>
        <scaling>true</scaling>
      </eigen>
    </linear_solver>
  </linear_solvers>
  <test_definition>
    <vtkdiff>
      <file>Stefan_problem_ts_46_t_46000000.000000.vtu</file>
      <field>temperature</field>
      <absolute_tolerance>2e-11</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <file>Stefan_problem_ts_427_t_427000000.000000.vtu</file>
      <field>temperature</field>
      <absolute_tolerance>7e-11</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <file>Stefan_problem_ts_46_t_46000000.000000.vtu</file>
      <field>HeatFlowRate</field>
      <absolute_tolerance>1e-10</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <file>Stefan_problem_ts_427_t_427000000.000000.vtu</file>
      <field>HeatFlowRate</field>
      <absolute_tolerance>1e-10</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>